Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-28 18:55:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:selinux_syslog

Proto:static int selinux_syslog(int type)

Type:int

Parameter:

TypeParameterName
inttype
2219  Case type == Read all messages remaining in the ring buffer.
2220  Case type == Return size of the log buffer
2221  Return avc_has_perm - Check permissions and perform any appropriate auditing
2224  Case type == Disable printk's to console
2225  Case type == Enable printk's to console
2227  Case type == Set level of messages printed to console
2228  Return avc_has_perm - Check permissions and perform any appropriate auditing
2234  Return avc_has_perm - Check permissions and perform any appropriate auditing