From 15759cb51cf1a5fd2edfa9a386b86759b0a30888 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 28 Dec 2021 13:55:47 -0500 Subject: updates --- src/fnettrace/fnettrace.h | 19 +++++++++++++++++++ src/fnettrace/main.c | 19 +++++++++++++++++++ src/man/firejail-profile.txt | 5 +++++ 3 files changed, 43 insertions(+) (limited to 'src') diff --git a/src/fnettrace/fnettrace.h b/src/fnettrace/fnettrace.h index 9c34e17ca..699382838 100644 --- a/src/fnettrace/fnettrace.h +++ b/src/fnettrace/fnettrace.h @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2014-2021 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. +*/ #ifndef FNETTRACE_H #define FNETTRACE_H diff --git a/src/fnettrace/main.c b/src/fnettrace/main.c index f036d0c9e..9cbdc290d 100644 --- a/src/fnettrace/main.c +++ b/src/fnettrace/main.c @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2014-2021 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 "fnettrace.h" #define MAX_BUF_SIZE (64 * 1024) diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 9c251ec34..e35f2837b 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -436,6 +436,11 @@ all directories in /usr. .br Symbolic link handling: with the exception of user home, both the link and the real file should be in the same top directory. For user home, both the link and the real file should be owned by the user. + +.TP +\fBwhitelist-ro file_or_directory +Equivalent to "whitelist file_or_directory" followed by "read-only file_or_directory" + .TP \fBwritable-etc Mount /etc directory read-write. -- cgit v1.2.3-70-g09d2