函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\netlink.c Create Date:2022-07-27 20:38:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:selnl_init

函数原型:static int __init selnl_init(void)

返回类型:int

参数:

110  struct netlink_kernel_cfg cfg = {groups = SELNLGRP_MAX, flags = NL_CFG_F_NONROOT_RECV, }
115  selnl等于netlink_kernel_create( & init_net, SELinux event notifications , & cfg)
116  如果(selnl == NULL)则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns.
118  返回:0