From 9b8a97db9ec4b795e29e72289005fbc58484ebeb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 9 Apr 2024 15:14:35 +0200 Subject: Adding upstream version 6.8.0. Signed-off-by: Daniel Baumann --- include/selinux.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 include/selinux.h (limited to 'include/selinux.h') diff --git a/include/selinux.h b/include/selinux.h new file mode 100644 index 0000000..592c768 --- /dev/null +++ b/include/selinux.h @@ -0,0 +1,10 @@ +#if HAVE_SELINUX +#include +#else +int is_selinux_enabled(void); +void freecon(char *context); +int getpidcon(pid_t pid, char **context); +int getfilecon(const char *path, char **context); +int security_get_initial_context(const char *name, char **context); +int setexecfilecon(const char *filename, const char *fallback_type); +#endif -- cgit v1.2.3