diff options
| author | 2024-11-16 13:50:16 +0100 | |
|---|---|---|
| committer | 2024-11-16 13:50:16 +0100 | |
| commit | 017140f5235d5c379402715f2cbbe1fdd037ba16 (patch) | |
| tree | 90148bde7a70755618796e34d664075d7d9edb60 | |
| parent | add distinction between RWC with directories and without, include FS_REFER pe... (diff) | |
| download | snac2-017140f5235d5c379402715f2cbbe1fdd037ba16.tar.gz snac2-017140f5235d5c379402715f2cbbe1fdd037ba16.tar.xz snac2-017140f5235d5c379402715f2cbbe1fdd037ba16.zip | |
remove unused headers
| -rw-r--r-- | sandbox.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -7,11 +7,10 @@ | |||
| 7 | #if defined (__linux__) | 7 | #if defined (__linux__) |
| 8 | # define __USE_GNU | 8 | # define __USE_GNU |
| 9 | # include <linux/landlock.h> | 9 | # include <linux/landlock.h> |
| 10 | # include <linux/prctl.h> | ||
| 11 | # include <sys/syscall.h> | 10 | # include <sys/syscall.h> |
| 12 | # include <sys/prctl.h> | 11 | # include <sys/prctl.h> |
| 12 | # include <stdint.h> | ||
| 13 | # include <fcntl.h> | 13 | # include <fcntl.h> |
| 14 | # include <arpa/inet.h> | ||
| 15 | #endif | 14 | #endif |
| 16 | 15 | ||
| 17 | void sbox_enter(const char *basedir) | 16 | void sbox_enter(const char *basedir) |