projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37dcac6
)
contain: remove unnecessary includes
author
Robert Swiecki
<robert@swiecki.net>
Sun, 1 Oct 2017 17:08:31 +0000
(19:08 +0200)
committer
Robert Swiecki
<robert@swiecki.net>
Sun, 1 Oct 2017 17:08:31 +0000
(19:08 +0200)
contain.c
patch
|
blob
|
history
diff --git
a/contain.c
b/contain.c
index 7b152ad35ffdeafb723c9df4dcc5a4bfe4626e2f..7f909caf56869ed1270a72a3df9d7a112649554a 100644
(file)
--- a/
contain.c
+++ b/
contain.c
@@
-24,10
+24,6
@@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
-#include <grp.h>
-#include <inttypes.h>
-#include <linux/capability.h>
-#include <sched.h>
#include <signal.h>
#include <stdbool.h>
#include <stddef.h>
@@
-38,8
+34,6
@@
#include <sys/prctl.h>
#include <sys/resource.h>
#include <sys/stat.h>
-#include <sys/syscall.h>
-#include <sys/time.h>
#include <unistd.h>
#include "caps.h"