X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fshared%2Fselinux-util.h;h=a694441000b8bb9ce21cd16ae6b0d7ba85a0c72d;hb=7b3fd6313c4b07b6f822a9f979d0c22350a401d9;hp=bce9fd5d4618e70dcc0236ba412f09a1da55d9f8;hpb=ecabcf8b6edcc856ec2fd5bd43fc675a8fe04731;p=elogind.git diff --git a/src/shared/selinux-util.h b/src/shared/selinux-util.h index bce9fd5d4..a69444100 100644 --- a/src/shared/selinux-util.h +++ b/src/shared/selinux-util.h @@ -36,7 +36,7 @@ int mac_selinux_apply(const char *path, const char *label); int mac_selinux_get_create_label_from_exe(const char *exe, char **label); int mac_selinux_get_our_label(char **label); -int mac_selinux_get_child_mls_label(int socket_fd, const char *exec, char **label); +int mac_selinux_get_child_mls_label(int socket_fd, const char *exe, const char *exec_label, char **label); void mac_selinux_free(char *label); int mac_selinux_create_file_prepare(const char *path, mode_t mode); @@ -45,5 +45,4 @@ void mac_selinux_create_file_clear(void); int mac_selinux_create_socket_prepare(const char *label); void mac_selinux_create_socket_clear(void); -int mac_selinux_mkdir(const char *path, mode_t mode); int mac_selinux_bind(int fd, const struct sockaddr *addr, socklen_t addrlen);