mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-21 20:26:45 +00:00
Add global variable inSignalContext
This will be used for checking for proper logging when in signal context. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
8dc70acbf3
commit
d3725549f0
3 changed files with 9 additions and 0 deletions
|
|
@ -204,6 +204,8 @@ int auditTrailLevel = 1;
|
|||
|
||||
char *SeatId = NULL;
|
||||
|
||||
sig_atomic_t inSignalContext = FALSE;
|
||||
|
||||
#if defined(SVR4) || defined(__linux__) || defined(CSRG_BASED)
|
||||
#define HAS_SAVED_IDS_AND_SETEUID
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue