diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-01-21 23:51:30 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-01-21 23:51:30 +0300 |
commit | ac11ec8845879fc87e25ba80086235735e400799 (patch) | |
tree | e204eebb3a2cf4bef1ec52d1f9006f2af1f46468 /winsup/cygwin/grp.cc | |
parent | 1c6577408e628a7beeb394351babe2c894d8475f (diff) |
* grp.cc (getgrent): Don't return default gid entry when ntsec is on.
* syscalls.cc (setegid): Don't set primary group in process token.
Diffstat (limited to 'winsup/cygwin/grp.cc')
-rw-r--r-- | winsup/cygwin/grp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc index fee420992..93af7063e 100644 --- a/winsup/cygwin/grp.cc +++ b/winsup/cygwin/grp.cc @@ -223,7 +223,7 @@ getgrgid (gid_t gid) return group_buf + i; } - return default_grp; + return allow_ntsec ? NULL : default_grp; } extern "C" |