diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-11-17 11:30:14 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-11-17 11:30:14 +0000 |
commit | 1126c2b0421fbbeb0c94e299f11cd076d5d69261 (patch) | |
tree | c5786d8be1eeb12f35fc4001e5d873583801a66b /winsup | |
parent | 879c4435944710cbc21b92c208205aa701813fad (diff) | |
download | newlib-1126c2b0421fbbeb0c94e299f11cd076d5d69261.zip newlib-1126c2b0421fbbeb0c94e299f11cd076d5d69261.tar.gz newlib-1126c2b0421fbbeb0c94e299f11cd076d5d69261.tar.bz2 |
* syslog.cc (syslog): Add users SID to NT syslog entry.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/syslog.cc | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 0e15636..73ae685 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 17 12:28:00 2000 Corinna Vinschen <corinna@vinschen.de> + + * syslog.cc (syslog): Add users SID to NT syslog entry. + Thu Nov 16 15:59:58 2000 Bradley A. Town <townba@pobox.com> * fhandler_console.cc: New member variable `dwBufferSize' for `info'. diff --git a/winsup/cygwin/syslog.cc b/winsup/cygwin/syslog.cc index 233c891..d0dda8b 100644 --- a/winsup/cygwin/syslog.cc +++ b/winsup/cygwin/syslog.cc @@ -17,6 +17,7 @@ details. */ #include "fhandler.h" #include "dtable.h" #include "cygerrno.h" +#include "cygheap.h" #include "thread.h" /* FIXME: These should probably be in the registry. */ @@ -348,7 +349,7 @@ syslog (int priority, const char *message, ...) return; } ReportEventA (hEventSrc, eventType, 0, 0, - NULL, 1, 0, msg_strings, NULL); + cygheap->user.sid (), 1, 0, msg_strings, NULL); DeregisterEventSource (hEventSrc); } else |