diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-06-06 11:17:51 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-06-06 11:17:51 +0000 |
commit | 2e8abfc1c50f541002610c4473caefee64183f04 (patch) | |
tree | 2d7145299c7d2fe24f4d35ca0550f10ac9ccfa28 /winsup/cygwin/sec_helper.cc | |
parent | ea6a35f68ad06c3e8095312239446255d5e0cedf (diff) | |
download | cygnal-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/sec_helper.cc')
-rw-r--r-- | winsup/cygwin/sec_helper.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc index 7833d5a42..cfa0fafce 100644 --- a/winsup/cygwin/sec_helper.cc +++ b/winsup/cygwin/sec_helper.cc @@ -266,6 +266,7 @@ is_grp_member (__uid32_t uid, __gid32_t gid) return grp_member; } +#if 0 // unused #define SIDLEN (sidlen = MAX_SID_LEN, &sidlen) #define DOMLEN (domlen = INTERNET_MAX_HOST_NAME_LENGTH, &domlen) @@ -334,6 +335,7 @@ got_it: #undef SIDLEN #undef DOMLEN +#endif //unused int set_process_privilege (const char *privilege, BOOL enable) |