summaryrefslogtreecommitdiffstats
path: root/winsup
diff options
context:
space:
mode:
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/syslog.cc3
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 0e156361d..73ae6856a 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 233c8916e..d0dda8b75 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