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
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require "sqlite3"
require "ini"

# User-specified constants
## UID offset when mapping Flint user IDs to OS user IDs
UID_OFFSET = 1024 * 1024

## 
FLINT_ROOT = "/home/chiselapp/chisel"

# Import the C functions for setuid/setgid
lib C
	fun setuid(uid : Int32) : Int32
	fun setgid(gid : Int32) : Int32
end







|







3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require "sqlite3"
require "ini"

# User-specified constants
## UID offset when mapping Flint user IDs to OS user IDs
UID_OFFSET = 1024 * 1024

## Path to Flint root directory
FLINT_ROOT = "/home/chiselapp/chisel"

# Import the C functions for setuid/setgid
lib C
	fun setuid(uid : Int32) : Int32
	fun setgid(gid : Int32) : Int32
end