diff options
author | 2023-02-24 20:44:48 -0500 | |
---|---|---|
committer | 2023-02-24 20:44:48 -0500 | |
commit | d657245f7353f692c22db2801ac64f7d807eb415 (patch) | |
tree | 5494cbde66f9fb6220df8a72415a6160f130a6b9 /src/jailcheck/noexec.c | |
parent | Merge pull request #5677 from kmk3/print-failed-long-arg (diff) | |
parent | editorconfig: add indentation rules (diff) | |
download | firejail-d657245f7353f692c22db2801ac64f7d807eb415.tar.gz firejail-d657245f7353f692c22db2801ac64f7d807eb415.tar.zst firejail-d657245f7353f692c22db2801ac64f7d807eb415.zip |
Merge pull request #5674 from kmk3/fix-ws-add-editorconfig
build: Fix whitespace and add .editorconfig
Diffstat (limited to 'src/jailcheck/noexec.c')
-rw-r--r-- | src/jailcheck/noexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jailcheck/noexec.c b/src/jailcheck/noexec.c index a78272591..bfeff9c7f 100644 --- a/src/jailcheck/noexec.c +++ b/src/jailcheck/noexec.c | |||
@@ -76,7 +76,7 @@ void noexec_test(const char *path) { | |||
76 | 76 | ||
77 | if (child == 0) { // child | 77 | if (child == 0) { // child |
78 | // drop privileges | 78 | // drop privileges |
79 | if (setgid(user_gid) != 0) | 79 | if (setgid(user_gid) != 0) |
80 | errExit("setgid"); | 80 | errExit("setgid"); |
81 | if (setuid(user_uid) != 0) | 81 | if (setuid(user_uid) != 0) |
82 | errExit("setuid"); | 82 | errExit("setuid"); |