diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-10-22 10:13:30 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-10-22 10:13:30 +0000 |
commit | b150b20cfdc34fc2d738b0a935e26738ef630bc3 (patch) | |
tree | 1423ca2acc62d7e60725c208bdbe6c7c869149df /winsup/cygwin/pinfo.cc | |
parent | 5693c8d55b17578934c59013ea440f8a2056d915 (diff) | |
download | cygnal-b150b20cfdc34fc2d738b0a935e26738ef630bc3.tar.gz cygnal-b150b20cfdc34fc2d738b0a935e26738ef630bc3.tar.bz2 cygnal-b150b20cfdc34fc2d738b0a935e26738ef630bc3.zip |
* pinfo.cc (pinfo_init): Eliminate call to `set_process_privileges'.
* security.cc (write_sd): Call `set_process_privileges' on the first
call to `write_sd'.
(set_process_privileges): Eliminate adjusting SE_BACKUP_NAME privilege.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 6e69cbaf8..f50982833 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -109,11 +109,6 @@ pinfo_init (char **envp, int envc) environ_init (NULL, 0); /* call after myself has been set up */ } - /* Allow backup semantics. It's better done only once on process start - instead of each time a file is opened. */ - if (allow_ntsec) - set_process_privileges (); - debug_printf ("pid %d, pgid %d", myself->pid, myself->pgid); } |