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_aacompressionlevel

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

Type:int

Parameter:

TypeParameterName
const char *val
const struct kernel_param *kp
1493  If Not Boot time disable flag Then Return -EINVAL
1495  If Flag indicating whether initialization completed Then Return -EPERM
1498  error = param_set_int(val, kp)
1500  policy loaddata compression level = clamp - return a value clamped to a given range with strict typechecking*@val: current value*@lo: lowest allowable value*@hi: highest allowable value* This macro does strict typechecking of @lo/@hi to make sure they are of the* same type as @val(policy loaddata compression level , Return codes for the compression/decompression functions. Negative* values are errors, positive values are used for special but normal events., Z_BEST_COMPRESSION)
1503  pr_info("AppArmor: policy rawdata compression level set to %u\n", policy loaddata compression level )
1506  Return error