Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:param_get_aalockpolicy

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

Type:int

Parameter:

TypeParameterName
char *buffer
const struct kernel_param *kp
1397  If Not Boot time disable flag Then Return -EINVAL
1399  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
1401  Return param_get_bool(buffer, kp)