diff options
author | 2016-09-25 08:15:38 -0400 | |
---|---|---|
committer | 2016-09-25 08:15:38 -0400 | |
commit | 82b5364c45fc328129cd376df03da6510bd561b2 (patch) | |
tree | e7967840d7a631b49a971ad496837d4819962d47 /src | |
parent | Merge pull request #808 from Fred-Barclay/evince (diff) | |
parent | fixed typo in comment (diff) | |
download | firejail-82b5364c45fc328129cd376df03da6510bd561b2.tar.gz firejail-82b5364c45fc328129cd376df03da6510bd561b2.tar.zst firejail-82b5364c45fc328129cd376df03da6510bd561b2.zip |
Merge pull request #809 from graywolf/patch-1
Fixed typo in comment
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/restrict_users.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/restrict_users.c b/src/firejail/restrict_users.c index cb999a4a6..6aca49b1a 100644 --- a/src/firejail/restrict_users.c +++ b/src/firejail/restrict_users.c | |||
@@ -342,7 +342,7 @@ void restrict_users(void) { | |||
342 | sanitize_home(); | 342 | sanitize_home(); |
343 | } | 343 | } |
344 | else { | 344 | else { |
345 | // user has the home diercotry outside /home | 345 | // user has the home directory outside /home |
346 | // mount tmpfs on top of /home in order to hide it | 346 | // mount tmpfs on top of /home in order to hide it |
347 | if (mount("tmpfs", "/home", "tmpfs", MS_NOSUID | MS_NODEV | MS_STRICTATIME | MS_REC, "mode=755,gid=0") < 0) | 347 | if (mount("tmpfs", "/home", "tmpfs", MS_NOSUID | MS_NODEV | MS_STRICTATIME | MS_REC, "mode=755,gid=0") < 0) |
348 | errExit("mount tmpfs"); | 348 | errExit("mount tmpfs"); |