2023-08-30 17:31:07 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2023-10-24 12:59:35 +02:00
|
|
|
|
|
|
|
#include <linux/stddef.h>
|
|
|
|
|
2023-08-30 17:31:07 +02:00
|
|
|
static const char *const initial_sid_to_string[] = {
|
|
|
|
NULL,
|
|
|
|
"kernel",
|
|
|
|
"security",
|
|
|
|
"unlabeled",
|
|
|
|
NULL,
|
|
|
|
"file",
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
"any_socket",
|
|
|
|
"port",
|
|
|
|
"netif",
|
|
|
|
"netmsg",
|
|
|
|
"node",
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
"devnull",
|
|
|
|
};
|
|
|
|
|