函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:param_set_aacompressionlevel

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

返回类型:int

参数:

类型参数名称
const char *val
const struct kernel_param *kp
1493  如果非Boot time disable flag 则返回:负EINVAL
1495  如果Flag indicating whether initialization completed 则返回:负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  打印信息("AppArmor: policy rawdata compression level set to %u\n", policy loaddata compression level )
1506  返回:error