Fossil SCM

It isn't necessary to allow id either for the status command as nobody should be trying to setuid.

andybradford 2018-01-20 20:46 UTC trunk
Commit 866f92faa9cf7e89cae133b0c88936b34cf800ee1f43b5d1383725e80128f2af
1 file changed +1 -1
+1 -1
--- src/checkin.c
+++ src/checkin.c
@@ -472,11 +472,11 @@
472472
const char *zIgnoreFlag = find_option("ignore", 0, 1);
473473
unsigned scanFlags = 0;
474474
unsigned flags = 0;
475475
int vid, i;
476476
477
- fossil_pledge("stdio rpath wpath cpath id flock tty chown");
477
+ fossil_pledge("stdio rpath wpath cpath flock tty chown");
478478
479479
/* Load affirmative flag options. */
480480
for( i=0; i<count(flagDefs); ++i ){
481481
if( (command==CHANGES || !(flagDefs[i].mask & C_CLASSIFY))
482482
&& find_option(flagDefs[i].option, 0, 0) ){
483483
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button