diff options
author | 2022-08-29 11:04:18 -0300 | |
---|---|---|
committer | 2022-09-05 01:07:41 -0300 | |
commit | b900bdc87463d79568aef46cb7e3b373fbff84b1 (patch) | |
tree | 91cd2911ff6bf0a0bc61d68c44c69190c5eebd17 /src/firejail | |
parent | Revert "tracelog disabled by default in /etc/firejail/firejail.config file" (diff) | |
download | firejail-b900bdc87463d79568aef46cb7e3b373fbff84b1.tar.gz firejail-b900bdc87463d79568aef46cb7e3b373fbff84b1.tar.zst firejail-b900bdc87463d79568aef46cb7e3b373fbff84b1.zip |
Revert "compile fix"
This reverts commit 836ffe37ff891886f15243eacc70963368d57a3f.
Part of reverting commits with Landlock-related changes.
Diffstat (limited to 'src/firejail')
-rw-r--r-- | src/firejail/landlock.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/firejail/landlock.c b/src/firejail/landlock.c index e79d03280..67e2b2cfc 100644 --- a/src/firejail/landlock.c +++ b/src/firejail/landlock.c | |||
@@ -1,24 +1,3 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014-2022 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 | |||
21 | #ifdef HAVE_LANDLOCK | ||
22 | #define _GNU_SOURCE | 1 | #define _GNU_SOURCE |
23 | #include <stdio.h> | 2 | #include <stdio.h> |
24 | #include <stddef.h> | 3 | #include <stddef.h> |
@@ -98,4 +77,3 @@ int add_execute_rule_by_path(int rset_fd,char *allowed_path) { | |||
98 | close(allowed_fd); | 77 | close(allowed_fd); |
99 | return result; | 78 | return result; |
100 | } | 79 | } |
101 | #endif | ||