aboutsummaryrefslogtreecommitdiffstats
path: root/src/faudit/main.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-07-01 19:19:59 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-07-01 19:19:59 -0400
commitd954df5d3319924ff1a83e3e301f70825691b4f3 (patch)
tree81e009858a14a0ae9f2f6778a3f6f95ac6a85821 /src/faudit/main.c
parentaudit compile and install (diff)
downloadfirejail-d954df5d3319924ff1a83e3e301f70825691b4f3.tar.gz
firejail-d954df5d3319924ff1a83e3e301f70825691b4f3.tar.zst
firejail-d954df5d3319924ff1a83e3e301f70825691b4f3.zip
audit pid
Diffstat (limited to 'src/faudit/main.c')
-rw-r--r--src/faudit/main.c30
1 files changed, 28 insertions, 2 deletions
diff --git a/src/faudit/main.c b/src/faudit/main.c
index e4536d20b..d90eb1c0b 100644
--- a/src/faudit/main.c
+++ b/src/faudit/main.c
@@ -1,5 +1,31 @@
1#include <stdio.h> 1/*
2 * Copyright (C) 2014-2016 Firejail Authors
3 *
4 * This file is part of firejail project
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19*/
20#include "faudit.h"
2 21
3int main(int argc, char **argv) { 22int main(int argc, char **argv) {
4 printf("faudit running\n"); 23 printf("FAUDIT: Firejail audit started\n");
24
25 // check pid namespace
26 pid();
27
28 printf("FAUDIT: Firejail audit ended\n");
29 return 0;
30
5} 31}