Fossil SCM
It isn't necessary to allow id either for the status command as nobody should be trying to setuid.
Commit
866f92faa9cf7e89cae133b0c88936b34cf800ee1f43b5d1383725e80128f2af
Parent
6b41a7e803348a9…
1 file changed
+1
-1
+1
-1
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -472,11 +472,11 @@ | ||
| 472 | 472 | const char *zIgnoreFlag = find_option("ignore", 0, 1); |
| 473 | 473 | unsigned scanFlags = 0; |
| 474 | 474 | unsigned flags = 0; |
| 475 | 475 | int vid, i; |
| 476 | 476 | |
| 477 | - fossil_pledge("stdio rpath wpath cpath id flock tty chown"); | |
| 477 | + fossil_pledge("stdio rpath wpath cpath flock tty chown"); | |
| 478 | 478 | |
| 479 | 479 | /* Load affirmative flag options. */ |
| 480 | 480 | for( i=0; i<count(flagDefs); ++i ){ |
| 481 | 481 | if( (command==CHANGES || !(flagDefs[i].mask & C_CLASSIFY)) |
| 482 | 482 | && find_option(flagDefs[i].option, 0, 0) ){ |
| 483 | 483 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -472,11 +472,11 @@ | |
| 472 | const char *zIgnoreFlag = find_option("ignore", 0, 1); |
| 473 | unsigned scanFlags = 0; |
| 474 | unsigned flags = 0; |
| 475 | int vid, i; |
| 476 | |
| 477 | fossil_pledge("stdio rpath wpath cpath id flock tty chown"); |
| 478 | |
| 479 | /* Load affirmative flag options. */ |
| 480 | for( i=0; i<count(flagDefs); ++i ){ |
| 481 | if( (command==CHANGES || !(flagDefs[i].mask & C_CLASSIFY)) |
| 482 | && find_option(flagDefs[i].option, 0, 0) ){ |
| 483 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -472,11 +472,11 @@ | |
| 472 | const char *zIgnoreFlag = find_option("ignore", 0, 1); |
| 473 | unsigned scanFlags = 0; |
| 474 | unsigned flags = 0; |
| 475 | int vid, i; |
| 476 | |
| 477 | fossil_pledge("stdio rpath wpath cpath flock tty chown"); |
| 478 | |
| 479 | /* Load affirmative flag options. */ |
| 480 | for( i=0; i<count(flagDefs); ++i ){ |
| 481 | if( (command==CHANGES || !(flagDefs[i].mask & C_CLASSIFY)) |
| 482 | && find_option(flagDefs[i].option, 0, 0) ){ |
| 483 |