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