aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2021-12-28 13:55:47 -0500
committerLibravatar netblue30 <netblue30@protonmail.com>2021-12-28 13:55:47 -0500
commit15759cb51cf1a5fd2edfa9a386b86759b0a30888 (patch)
tree91bad51cde9907dc143e8618634e582b60869712 /src
parentMerge pull request #4740 from WhyNotHugo/whitelist-ro (diff)
downloadfirejail-15759cb51cf1a5fd2edfa9a386b86759b0a30888.tar.gz
firejail-15759cb51cf1a5fd2edfa9a386b86759b0a30888.tar.zst
firejail-15759cb51cf1a5fd2edfa9a386b86759b0a30888.zip
updates
Diffstat (limited to 'src')
-rw-r--r--src/fnettrace/fnettrace.h19
-rw-r--r--src/fnettrace/main.c19
-rw-r--r--src/man/firejail-profile.txt5
3 files changed, 43 insertions, 0 deletions
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 @@
1/*
2 * Copyright (C) 2014-2021 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*/
1#ifndef FNETTRACE_H 20#ifndef FNETTRACE_H
2#define FNETTRACE_H 21#define FNETTRACE_H
3 22
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 @@
1/*
2 * Copyright (C) 2014-2021 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*/
1#include "fnettrace.h" 20#include "fnettrace.h"
2#define MAX_BUF_SIZE (64 * 1024) 21#define MAX_BUF_SIZE (64 * 1024)
3 22
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.
436.br 436.br
437Symbolic link handling: with the exception of user home, both the link and the real file should be in 437Symbolic link handling: with the exception of user home, both the link and the real file should be in
438the same top directory. For user home, both the link and the real file should be owned by the user. 438the same top directory. For user home, both the link and the real file should be owned by the user.
439
440.TP
441\fBwhitelist-ro file_or_directory
442Equivalent to "whitelist file_or_directory" followed by "read-only file_or_directory"
443
439.TP 444.TP
440\fBwritable-etc 445\fBwritable-etc
441Mount /etc directory read-write. 446Mount /etc directory read-write.