mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
SELinux currently has a number of initcalls so we've created a new function, selinux_initcall(), which wraps all of these initcalls so that we have a single initcall function that can be registered with the LSM framework. Signed-off-by: Paul Moore <paul@paul-moore.com>
20 lines
357 B
C
20 lines
357 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* SELinux initcalls
|
|
*/
|
|
|
|
#ifndef _SELINUX_INITCALLS_H
|
|
#define _SELINUX_INITCALLS_H
|
|
|
|
int init_sel_fs(void);
|
|
int sel_netport_init(void);
|
|
int sel_netnode_init(void);
|
|
int sel_netif_init(void);
|
|
int sel_netlink_init(void);
|
|
int sel_ib_pkey_init(void);
|
|
int selinux_nf_ip_init(void);
|
|
|
|
int selinux_initcall(void);
|
|
|
|
#endif
|