diff options
Diffstat (limited to 'src/faudit/pid.c')
-rw-r--r-- | src/faudit/pid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/faudit/pid.c b/src/faudit/pid.c index 57947418e..2770daece 100644 --- a/src/faudit/pid.c +++ b/src/faudit/pid.c | |||
@@ -69,7 +69,7 @@ void pid_test(void) { | |||
69 | if (strncmp(buf, kern_proc[j], strlen(kern_proc[j])) == 0) { | 69 | if (strncmp(buf, kern_proc[j], strlen(kern_proc[j])) == 0) { |
70 | fclose(fp); | 70 | fclose(fp); |
71 | free(fname); | 71 | free(fname); |
72 | printf("BAD: Process PID %d, not running in a PID namespace\n", getpid()); | 72 | printf("BAD: Process %d, not running in a PID namespace. ", getpid()); |
73 | printf("Are you sure you're running in a sandbox?\n"); | 73 | printf("Are you sure you're running in a sandbox?\n"); |
74 | return; | 74 | return; |
75 | } | 75 | } |
@@ -81,10 +81,10 @@ void pid_test(void) { | |||
81 | } | 81 | } |
82 | 82 | ||
83 | 83 | ||
84 | printf("GOOD: process PID %d, running in a PID namespace\n", getpid()); | 84 | printf("GOOD: process %d running in a PID namespace.\n", getpid()); |
85 | 85 | ||
86 | // try to guess the type of container/sandbox | 86 | // try to guess the type of container/sandbox |
87 | char *str = getenv("container"); | 87 | char *str = getenv("container"); |
88 | if (str) | 88 | if (str) |
89 | printf("INFO: container/sandbox %s\n", str); | 89 | printf("INFO: container/sandbox %s.\n", str); |
90 | } | 90 | } |