Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-01-21 23:51:30 +0300
committerCorinna Vinschen <corinna@vinschen.de>2002-01-21 23:51:30 +0300
commitac11ec8845879fc87e25ba80086235735e400799 (patch)
treee204eebb3a2cf4bef1ec52d1f9006f2af1f46468 /winsup/cygwin/grp.cc
parent1c6577408e628a7beeb394351babe2c894d8475f (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.cc2
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"