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_get_mode

Proto:static int param_get_mode(char *buffer, const struct kernel_param *kp)

Type:int

Parameter:

TypeParameterName
char *buffer
const struct kernel_param *kp
1549  If Not Boot time disable flag Then Return -EINVAL
1551  If Flag indicating whether initialization completed && Not policy_view_capable - check if viewing policy in at @ns is allowed* Returns: true if viewing policy is allowed* If @ns is NULL then the namespace being viewed is assumed to be the* tasks current namespace. Then Return -EPERM
1554  Return sprintf(buffer, "%s", aa_profile_mode_names[AppArmor global enforcement switch - complain, enforce, kill ])