From d954df5d3319924ff1a83e3e301f70825691b4f3 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 1 Jul 2016 19:19:59 -0400 Subject: audit pid --- src/faudit/main.c | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'src/faudit/main.c') 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 @@ -#include +/* + * Copyright (C) 2014-2016 Firejail Authors + * + * This file is part of firejail project + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ +#include "faudit.h" int main(int argc, char **argv) { - printf("faudit running\n"); + printf("FAUDIT: Firejail audit started\n"); + + // check pid namespace + pid(); + + printf("FAUDIT: Firejail audit ended\n"); + return 0; + } -- cgit v1.2.3-54-g00ecf