diff options
author | netblue30 <netblue30@yahoo.com> | 2016-07-02 07:41:19 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-07-02 07:41:19 -0400 |
commit | 7655973d13775fc8a939cae7ebbadf3b38209a02 (patch) | |
tree | 07792b22f23daa4cc51298fdca3db75e78f3a679 /src/faudit/pid.c | |
parent | audit pid (diff) | |
download | firejail-7655973d13775fc8a939cae7ebbadf3b38209a02.tar.gz firejail-7655973d13775fc8a939cae7ebbadf3b38209a02.tar.zst firejail-7655973d13775fc8a939cae7ebbadf3b38209a02.zip |
faudit: caps
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 861324255..a6f02c051 100644 --- a/src/faudit/pid.c +++ b/src/faudit/pid.c | |||
@@ -69,7 +69,7 @@ void pid(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("FAUDIT: Process PID %d, not running in a PID namespace\n", getpid()); | 72 | printf("BAD: Process PID %d, not running in a PID namespace\n", getpid()); |
73 | return; | 73 | return; |
74 | } | 74 | } |
75 | j++; | 75 | j++; |
@@ -80,10 +80,10 @@ void pid(void) { | |||
80 | } | 80 | } |
81 | 81 | ||
82 | 82 | ||
83 | printf("FAUDIT: Process PID %d, running in a PID namespace\n", getpid()); | 83 | printf("GOOD: Process PID %d, running in a PID namespace\n", getpid()); |
84 | 84 | ||
85 | // try to guess the type of container/sandbox | 85 | // try to guess the type of container/sandbox |
86 | char *str = getenv("container"); | 86 | char *str = getenv("container"); |
87 | if (str) | 87 | if (str) |
88 | printf("FAUDIT: Container/sandbox: %s\n", str); | 88 | printf("Container/sandbox: %s\n", str); |
89 | } | 89 | } |