aboutgitcodelistschat:MatrixIRC
path: root/common.h
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-01-19 16:53:09 +0100
committerAlice Frosi <afrosi@redhat.com>2023-02-15 11:31:46 +0100
commitcc0ae5b0b0418ba6cebd7f6b7b45001de15a0c48 (patch)
tree21eb59ba0455e8e631d57007e71ea73070866dd2 /common.h
parente657e7d936209ebe2ed5a0cb5fd057810acb508b (diff)
downloadseitan-cc0ae5b0b0418ba6cebd7f6b7b45001de15a0c48.tar
seitan-cc0ae5b0b0418ba6cebd7f6b7b45001de15a0c48.tar.gz
seitan-cc0ae5b0b0418ba6cebd7f6b7b45001de15a0c48.tar.bz2
seitan-cc0ae5b0b0418ba6cebd7f6b7b45001de15a0c48.tar.lz
seitan-cc0ae5b0b0418ba6cebd7f6b7b45001de15a0c48.tar.xz
seitan-cc0ae5b0b0418ba6cebd7f6b7b45001de15a0c48.tar.zst
seitan-cc0ae5b0b0418ba6cebd7f6b7b45001de15a0c48.zip
seitan: separate function in common
Move find_fd_seccomp_notifier to common.c to be reused in other places. Signed-off-by: Alice Frosi <afrosi@redhat.com>
Diffstat (limited to 'common.h')
-rw-r--r--common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common.h b/common.h
new file mode 100644
index 0000000..eb1093d
--- /dev/null
+++ b/common.h
@@ -0,0 +1,7 @@
+#ifndef COMMON_H_
+#define COMMON_H_
+
+int find_fd_seccomp_notifier(const char *pid);
+
+#endif
+