mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 09:34:12 +08:00
eb14232fb7
Include all necessary headers in header files to enable third party applications, like LSP servers, to resolve all used symbols. ibpkey.h: include "flask.h" for SECINITSID_UNLABELED initial_sid_to_string.h: include <linux/stddef.h> for NULL Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
36 lines
363 B
C
36 lines
363 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#include <linux/stddef.h>
|
|
|
|
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",
|
|
};
|
|
|