diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-12-12 18:47:25 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-12-12 18:47:25 +0000 |
commit | a889232410572313c752873e28c78f020dd568f3 (patch) | |
tree | 540d15950f97efd7b845ec3738328901b372b0b3 /winsup/cygwin/path.cc | |
parent | 5684cfebba943eb10d16216a16793d464c1b2a1d (diff) | |
download | cygnal-a889232410572313c752873e28c78f020dd568f3.tar.gz cygnal-a889232410572313c752873e28c78f020dd568f3.tar.bz2 cygnal-a889232410572313c752873e28c78f020dd568f3.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 9b8cd0d78..bbc023968 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -413,10 +413,6 @@ fs_info::update (const char *win32_path) name_hash = tmp_name_hash; root_len = strlen (root_dir); - /* I have no idea why, but some machines require SeChangeNotifyPrivilege - to access volume information. */ - push_thread_privilege (SE_CHANGE_NOTIFY_PRIV, true); - drive_type (GetDriveType (root_dir)); if (drive_type () == DRIVE_REMOTE || (drive_type () == DRIVE_UNKNOWN @@ -428,8 +424,6 @@ fs_info::update (const char *win32_path) ret = GetVolumeInformation (root_dir, NULL, 0, &status.serial, NULL, &status.flags, fsname, sizeof (fsname)); - pop_thread_privilege (); - if (!ret && !is_remote_drive ()) { debug_printf ("Cannot get volume information (%s), %E", root_dir); |