Path: blob/master/security/selinux/include/initial_sid_to_string.h
26442 views
/* SPDX-License-Identifier: GPL-2.0 */12#ifdef __KERNEL__3#include <linux/stddef.h>4#else5#include <stddef.h>6#endif78static const char *const initial_sid_to_string[] = {9NULL, /* zero placeholder, not used */10"kernel", /* kernel / SECINITSID_KERNEL */11"security", /* security / SECINITSID_SECURITY */12"unlabeled", /* unlabeled / SECINITSID_UNLABELED */13NULL, /* fs */14"file", /* file / SECINITSID_FILE */15NULL, /* file_labels */16"init", /* init / SECINITSID_INIT */17"any_socket", /* any_socket / SECINITSID_ANY_SOCKET */18"port", /* port / SECINITSID_PORT */19"netif", /* netif / SECINITSID_NETIF */20"netmsg", /* netmsg / SECINITSID_NETMSG */21"node", /* node / SECINITSID_NODE */22NULL, /* igmp_packet */23NULL, /* icmp_socket */24NULL, /* tcp_socket */25NULL, /* sysctl_modprobe */26NULL, /* sysctl */27NULL, /* sysctl_fs */28NULL, /* sysctl_kernel */29NULL, /* sysctl_net */30NULL, /* sysctl_net_unix */31NULL, /* sysctl_vm */32NULL, /* sysctl_dev */33NULL, /* kmod */34NULL, /* policy */35NULL, /* scmp_packet */36"devnull", /* devnull / SECINITSID_DEVNULL */37};383940