函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smack_syslog - Smack approval on syslog*@typefrom_file: unused* Returns 0 on success, error code otherwise.

函数原型:static int smack_syslog(int typefrom_file)

返回类型:int

参数:

类型参数名称
inttypefrom_file
517  rc等于0
518  skp等于Present a pointer to the smack label in the current task blob.
520  如果smack_privileged(Override MAC access.The base kernel enforces no MAC policy.An LSM may enforce a MAC policy, and if it does and it choosesto implement capability based overrides of that policy, this isthe capability it should use to do so. )则返回:0
523  如果smack_syslog_label不等于NULLsmack_syslog_label不等于skprc等于负EACCES
526  返回:rc