Commit Graph

24 Commits

Author SHA1 Message Date
Jagger
43983cbb17 Add --iface_lo_up 2016-02-29 00:14:36 +01:00
Jagger
8dad34ae4a Set-up parent in a separate function 2016-02-28 23:23:24 +01:00
Jagger
9a7b8550a6 Return early in case of problems with set-up of the child from parent 2016-02-28 16:43:35 +01:00
Jagger
d8007e15ad Correct write() check 2016-02-28 16:38:10 +01:00
Jagger
8d641169e3 Initialize user/group maps from the parent process 2016-02-28 02:34:43 +01:00
Jagger
ad4b0105a7 No need to add (default:none) in cmdline 2016-02-28 01:52:09 +01:00
Robert Swiecki
aebc3dba41 Env variables (setting/clearing) 2016-01-26 17:42:10 +01:00
Jagger
a225069b4d Use %#x instead of %u 2016-01-22 00:50:45 +01:00
Jagger
24af1c6d98 Introduce util.c 2016-01-17 04:14:09 +01:00
Jagger
2765e58c4e Use TAILQ instead of LIST to insert new mount entries at the end 2016-01-09 16:09:05 +01:00
Robert Swiecki
88e796e004 Set a separate session/process_group 2015-11-24 18:34:05 +01:00
Robert Swiecki
da133a6d11 Correctly cast arguments to syscall() 2015-11-19 15:04:41 +01:00
Jagger
500e3efbaf Move LOG_I earlier in subproc.c 2015-10-17 19:11:48 +02:00
Jagger
cbb64d571d Make --disable_proc work 2015-08-15 20:48:48 +02:00
Jagger
da4fc22eab indent 100 2015-08-15 20:10:07 +02:00
Jagger
701825970a Implementation of MODE_STANDALONE_EXECVE 2015-08-15 16:02:38 +02:00
Jagger
5dc0fe193a Better logging for clone failure 2015-08-12 04:32:34 +02:00
JT Olds
d43c4975ae Return failing exit status on timeout 2015-07-07 15:41:58 -06:00
JT Olds
459a220133 Return child exit status in standalone mode 2015-07-07 10:33:47 -06:00
Jagger
9960304cab A crude way of cloning an eth interface 2015-05-28 03:37:08 +02:00
Robert Swiecki
b01eb30f6b Close pipefd[1] before reading from pipefd[0] 2015-05-27 15:41:08 +02:00
Robert Swiecki
ee68cd9d30 Log function names 2015-05-15 16:42:56 +02:00
Robert Swiecki
69622c17ae Logs from the child process (namespaced) are proxied to the parent
process
2015-05-15 16:02:15 +02:00
Robert Swiecki
0ca35aa942 Initial import 2015-05-14 23:44:48 +02:00