summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/syscalls.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-12-12 18:47:25 +0000
committerCorinna Vinschen <corinna@vinschen.de>2006-12-12 18:47:25 +0000
commita889232410572313c752873e28c78f020dd568f3 (patch)
tree540d15950f97efd7b845ec3738328901b372b0b3 /winsup/cygwin/syscalls.cc
parent5684cfebba943eb10d16216a16793d464c1b2a1d (diff)
downloadcygnal-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/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index fc9bbe50e..d126e79c2 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -1904,8 +1904,6 @@ statvfs (const char *fname, struct statvfs *sfs)
DWORD spc, bps, availc, freec, totalc, vsn, maxlen, flags;
BOOL status, statusex;
- push_thread_privilege (SE_CHANGE_NOTIFY_PRIV, true);
-
/* GetDiskFreeSpaceEx must be called before GetDiskFreeSpace on
WinME, to avoid the MS KB 314417 bug */
statusex = GetDiskFreeSpaceEx (root, &availb, &totalb, &freeb);
@@ -1970,8 +1968,6 @@ statvfs (const char *fname, struct statvfs *sfs)
if (ret)
__seterrno ();
- pop_thread_privilege ();
-
return ret;
}