aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-02-26 08:34:34 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-02-26 08:34:34 +0000
commit61a525994aefa4216e04159e14b49f5732abe73f (patch)
tree4c4a67776956e345e3d4365edb0051f298870564
parent41a639dea811272c66ed71eb9ca6c233050f57b3 (diff)
downloadnewlib-61a525994aefa4216e04159e14b49f5732abe73f.zip
newlib-61a525994aefa4216e04159e14b49f5732abe73f.tar.gz
newlib-61a525994aefa4216e04159e14b49f5732abe73f.tar.bz2
* sec_helper.cc (get_sids_info): debug_print owner_sid and group_sid.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/sec_helper.cc3
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index ee88fa4..11bf7a3 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2003-02-26 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * sec_helper.cc (get_sids_info): debug_print owner_sid and group_sid.
+
2003-02-25 Corinna Vinschen <corinna@vinschen.de>
* mmap.cc (mmap64): Fix returned address by taking the granularity
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc
index 749596e..6684083 100644
--- a/winsup/cygwin/sec_helper.cc
+++ b/winsup/cygwin/sec_helper.cc
@@ -193,6 +193,9 @@ get_sids_info (cygpsid owner_sid, cygpsid group_sid, __uid32_t * uidret, __gid32
struct __group32 *gr = NULL;
bool ret = false;
+ owner_sid.debug_print ("get_sids_info: owner SID =");
+ group_sid.debug_print ("get_sids_info: group SID =");
+
if (group_sid == cygheap->user.groups.pgsid)
*gidret = myself->gid;
else if ((gr = internal_getgrsid (group_sid)))