Check-in [afc1e902de]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Finished comment
Timelines: family | ancestors | setuid-fossil
Files: files | file ages | folders
SHA1:afc1e902de71dca07e4cceb2d911420166cea8cd
User & Date: rkeene 2019-01-07 23:29:23
Context
2019-01-07
23:29
Finished comment Leaf check-in: afc1e902de user: rkeene tags: setuid-fossil
23:07
Ensure User ID is sane before calling fossil check-in: 0874801b3e user: rkeene tags: setuid-fossil
Changes

Changes to scripts/fossil-as-user/suid-fossil.cr.

     3      3   require "sqlite3"
     4      4   require "ini"
     5      5   
     6      6   # User-specified constants
     7      7   ## UID offset when mapping Flint user IDs to OS user IDs
     8      8   UID_OFFSET = 1024 * 1024
     9      9   
    10         -## 
           10  +## Path to Flint root directory
    11     11   FLINT_ROOT = "/home/chiselapp/chisel"
    12     12   
    13     13   # Import the C functions for setuid/setgid
    14     14   lib C
    15     15   	fun setuid(uid : Int32) : Int32
    16     16   	fun setgid(gid : Int32) : Int32
    17     17   end