diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-05-28 14:58:13 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-05-28 14:58:13 +0000 |
commit | 7ea70e9970f0aff3af25905730a7337be5f88ba3 (patch) | |
tree | 2a3d7b52fba0a593926b2802d6fc00354681db95 /winsup/cygwin/security.cc | |
parent | 571964058165952634fce744588d588096cd1c2c (diff) | |
download | cygnal-7ea70e9970f0aff3af25905730a7337be5f88ba3.tar.gz cygnal-7ea70e9970f0aff3af25905730a7337be5f88ba3.tar.bz2 cygnal-7ea70e9970f0aff3af25905730a7337be5f88ba3.zip |
* security.cc (set_security_attribute): Call getegid32() instead of
getegid().
* include/cygwin/grp.h: Declare getegid32().
Diffstat (limited to 'winsup/cygwin/security.cc')
-rw-r--r-- | winsup/cygwin/security.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc index b16934114..58b10c844 100644 --- a/winsup/cygwin/security.cc +++ b/winsup/cygwin/security.cc @@ -1612,7 +1612,7 @@ set_security_attribute (int attribute, PSECURITY_ATTRIBUTES psa, psa->lpSecurityDescriptor = sd_buf; InitializeSecurityDescriptor ((PSECURITY_DESCRIPTOR)sd_buf, SECURITY_DESCRIPTOR_REVISION); - psa->lpSecurityDescriptor = alloc_sd (geteuid (), getegid (), + psa->lpSecurityDescriptor = alloc_sd (geteuid (), getegid32 (), cygheap->user.logsrv (), attribute, (PSECURITY_DESCRIPTOR)sd_buf, &sd_buf_size); |