summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-04-06 07:43:57 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2012-06-21 15:45:22 +1000
commitd3725549f0276487fba1d419094209d18e86669f (patch)
tree9f8675c9296c693c559d12409adf7cf47817f398 /os
parent8dc70acbf3d82611ac9ec1ec2a52edcc01934850 (diff)
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>
Diffstat (limited to 'os')
-rw-r--r--os/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/utils.c b/os/utils.c
index 3a1ef9303..2f0754886 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -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