* environ.cc (set_traverse): Remove.
(parse_thing): Drop "traverse" option. * path.cc (fs_info::update): Don't request SE_CHANGE_NOTIFY_PRIV privilege. * sec_helper.cc (set_cygwin_privileges): Ditto. * security.cc (allow_traverse): Remove. (alloc_sd): Drop special allow_traverse code. * security.h (allow_traverse): Drop declaration. * syscalls.cc (statvfs): Don't request SE_CHANGE_NOTIFY_PRIV privilege.
This commit is contained in:
@@ -571,12 +571,6 @@ set_ntsec (const char *buf)
|
||||
allow_ntsec = (buf && strcasematch (buf, "yes") && wincap.has_security ());
|
||||
}
|
||||
|
||||
static void
|
||||
set_traverse (const char *buf)
|
||||
{
|
||||
allow_traverse = (buf && strcasematch (buf, "yes") && wincap.has_security ());
|
||||
}
|
||||
|
||||
static void
|
||||
set_smbntsec (const char *buf)
|
||||
{
|
||||
@@ -628,7 +622,6 @@ static struct parse_thing
|
||||
{"subauth_id", {func: &subauth_id_init}, isfunc, NULL, {{0}, {0}}},
|
||||
#endif
|
||||
{"title", {&display_title}, justset, NULL, {{false}, {true}}},
|
||||
{"traverse", {func: set_traverse}, isfunc, NULL, {{0}, {s: "yes"}}},
|
||||
{"tty", {NULL}, set_process_state, NULL, {{0}, {PID_USETTY}}},
|
||||
{"winsymlinks", {&allow_winsymlinks}, justset, NULL, {{false}, {true}}},
|
||||
{"transparent_exe", {&transparent_exe}, justset, NULL, {{false}, {true}}},
|
||||
|
Reference in New Issue
Block a user