函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:param_set_mode

函数原型:static int param_set_mode(const char *val, const struct kernel_param *kp)

返回类型:int

参数:

类型参数名称
const char *val
const struct kernel_param *kp
1561  如果非Boot time disable flag 则返回:负EINVAL
1563  如果非val则返回:负EINVAL
1565  如果Flag indicating whether initialization completed 且非policy_admin_capable(NULL)则返回:负EPERM
1568  i等于match_string - matches given string in an array*@array: array of strings*@n: number of strings in the array or -1 for NULL terminated arrays*@string: string to match with* Return:* index of a @string in the @array if matches, or %-EINVAL otherwise.
1570  如果i小于0则返回:负EINVAL
1573  AppArmor global enforcement switch - complain, enforce, kill 等于i
1574  返回:0