summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/shm.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-06-06 11:17:51 +0000
committerCorinna Vinschen <corinna@vinschen.de>2002-06-06 11:17:51 +0000
commit2e8abfc1c50f541002610c4473caefee64183f04 (patch)
tree2d7145299c7d2fe24f4d35ca0550f10ac9ccfa28 /winsup/cygwin/shm.cc
parentea6a35f68ad06c3e8095312239446255d5e0cedf (diff)
downloadcygnal-2e8abfc1c50f541002610c4473caefee64183f04.tar.gz
cygnal-2e8abfc1c50f541002610c4473caefee64183f04.tar.bz2
cygnal-2e8abfc1c50f541002610c4473caefee64183f04.zip
* sec_helper.cc (lookup_name): Suppress.
* security.cc (alloc_sd): Remove logsrv argument. Remove two calls to lookup_name. (set_security_attribute): Remove logsrv argument. Remove logsrv argument in call to alloc_sd. (set_nt_attribute): Remove logsrv argument. Remove logsrv argument in call to set_security_attribute. (set_file_attribute): Remove logsrv argument. Remove logsrv argument in call to set_nt_attribute. (set_file_attribute): Remove logsrv argument. Remove logsrv argument in call to set_file_attribute. * syscalls.cc (chown_worker): Remove logserver argument in call to set_file_attribute. (chmod): Ditto. * shm.cc (shmget): Remove logsrv argument in call to alloc_sd. * uinfo.cc (internal_getlogin): Replace calls to lookup_name by call to LookupAccountName. * security.h: Remove logsrv in declarations of set_file_attribute and alloc_sd. Remove declaration of lookup_name.
Diffstat (limited to 'winsup/cygwin/shm.cc')
-rw-r--r--winsup/cygwin/shm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/shm.cc b/winsup/cygwin/shm.cc
index 6026b20ac..baea3a60e 100644
--- a/winsup/cygwin/shm.cc
+++ b/winsup/cygwin/shm.cc
@@ -461,7 +461,7 @@ shmget (key_t key, size_t size, int shmflg)
/* create a sd for our open requests based on shmflag & 0x01ff */
InitializeSecurityDescriptor (psd,
SECURITY_DESCRIPTOR_REVISION);
- psd = alloc_sd (getuid32 (), getgid32 (), cygheap->user.logsrv (),
+ psd = alloc_sd (getuid32 (), getgid32 (),
shmflg & 0x01ff, psd, &sd_size);
if (key == (key_t) - 1)