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:
Chase Douglas 2012-04-06 07:43:57 -07:00 committed by Peter Hutterer
commit d3725549f0
3 changed files with 9 additions and 0 deletions

View file

@ -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