aboutgitcodelistschat:MatrixIRC
path: root/Makefile
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-01-19 16:56:28 +0100
committerAlice Frosi <afrosi@redhat.com>2023-02-15 11:31:46 +0100
commit4d80c91ea37b6903ca6d5cdb788db6b2f0b44b09 (patch)
treef23d1c5eb3755632fb0d82a308da05b396cd36ae /Makefile
parentcc0ae5b0b0418ba6cebd7f6b7b45001de15a0c48 (diff)
downloadseitan-4d80c91ea37b6903ca6d5cdb788db6b2f0b44b09.tar
seitan-4d80c91ea37b6903ca6d5cdb788db6b2f0b44b09.tar.gz
seitan-4d80c91ea37b6903ca6d5cdb788db6b2f0b44b09.tar.bz2
seitan-4d80c91ea37b6903ca6d5cdb788db6b2f0b44b09.tar.lz
seitan-4d80c91ea37b6903ca6d5cdb788db6b2f0b44b09.tar.xz
seitan-4d80c91ea37b6903ca6d5cdb788db6b2f0b44b09.tar.zst
seitan-4d80c91ea37b6903ca6d5cdb788db6b2f0b44b09.zip
eater: unset O_CLOEXEC for the seccomp notifier fd
Preserve the seccomp notifier fd after the exec. In this way, if seitan needs to restat is able to retrive the fd from /proc/<pid>/fd of the target. Signed-off-by: Alice Frosi <afrosi@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5d0ca95..4a1b444 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,8 @@ build: build.c filter.c filter.h numbers.h
bpf_dbg: disasm.c disasm.h bpf_dbg.c
$(CC) $(CFLAGS) -o bpf_dbg bpf_dbg.c disasm.c
-seitan-eater: eater.c
- $(CC) $(CFLAGS) -o seitan-eater eater.c
+seitan-eater: eater.c common.h common.c
+ $(CC) $(CFLAGS) -o seitan-eater eater.c common.c
seitan: seitan.c transform.h common.h common.c
$(CC) $(CFLAGS) -o seitan seitan.c common.c