aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-01-16 22:57:35 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-01-16 22:57:35 +0900
commite4173e81307c730316d89ef87d43b4d51a6a26f4 (patch)
treed9e1c49eee3c85b0dba37c63ce577ccfd9085601
parent0094337e29fe619649bc47ebd7aefe430e26eddb (diff)
downloadpoe-e4173e81307c730316d89ef87d43b4d51a6a26f4.tar.gz
sandbox: don't mount home directory
-rw-r--r--sandbox/sandbox.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sandbox/sandbox.c b/sandbox/sandbox.c
index 3faa2ca..c8043d7 100644
--- a/sandbox/sandbox.c
+++ b/sandbox/sandbox.c
@@ -55,7 +55,6 @@ child(const char *root, char *cmd[])
struct passwd *pw = getpwnam(POE_USERNAME);
if (!pw) ERROR("getpwnam() failed");
- NONNEGATIVE(mount(NULL, pw->pw_dir, "tmpfs", MS_NOSUID | MS_NODEV, NULL));
NONNEGATIVE(chdir("/tmp"));
NONNEGATIVE(setsid());
NONNEGATIVE(initgroups(POE_USERNAME, pw->pw_gid));