Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Finished comment |
---|---|
Timelines: | family | ancestors | descendants | both | setuid-fossil |
Files: | files | file ages | folders |
SHA1: |
afc1e902de71dca07e4cceb2d9114201 |
User & Date: | rkeene 2019-01-07 23:29:23.980 |
Context
2020-08-20
| ||
17:36 | Refactored SUID support check-in: c233a30944 user: rkeene tags: setuid-fossil | |
2019-01-07
| ||
23:29 | Finished comment 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.
1 2 3 4 5 6 7 8 9 | #! /opt/appfs/rkeene.org/crystal/platform/latest/bin/crystal require "sqlite3" require "ini" # User-specified constants ## UID offset when mapping Flint user IDs to OS user IDs UID_OFFSET = 1024 * 1024 | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #! /opt/appfs/rkeene.org/crystal/platform/latest/bin/crystal 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 |
︙ | ︙ |