Skip to content

Commit b4f5979

Browse files
committed
Cygwin: security: make sure the type DBGSID is in the DLL debug info
This helps debugging the DLL when it comes to Windows account info a lot. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
1 parent ede7cbc commit b4f5979

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

winsup/cygwin/sec/base.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ details. */
2424
#include "tls_pbuf.h"
2525
#include <aclapi.h>
2626

27+
/* This is just here to make sure the DBGSID definition is in the
28+
debug information of the DLL, so it can be used to inspect SIDs
29+
when running under GDB. */
30+
PDBGSID dbgsid;
31+
2732
#define ALL_SECURITY_INFORMATION (DACL_SECURITY_INFORMATION \
2833
| GROUP_SECURITY_INFORMATION \
2934
| OWNER_SECURITY_INFORMATION)

0 commit comments

Comments
 (0)