Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\lsm.c Create Date:2022-07-28 19:53:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:param_set_audit

Proto:static int param_set_audit(const char *val, const struct kernel_param *kp)

Type:int

Parameter:

TypeParameterName
const char *val
const struct kernel_param *kp
1532  If Not Boot time disable flag Then Return -EINVAL
1534  If Not val Then Return -EINVAL
1536  If Flag indicating whether initialization completed && Not policy_admin_capable(NULL) Then Return -EPERM
1539  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.
1540  If i < 0 Then Return -EINVAL
1543  Audit mode = i
1544  Return 0