Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smack_syslog - Smack approval on syslog*@typefrom_file: unused* Returns 0 on success, error code otherwise.

Proto:static int smack_syslog(int typefrom_file)

Type:int

Parameter:

TypeParameterName
inttypefrom_file
517  rc = 0
518  skp = Present a pointer to the smack label in the current task blob.
520  If smack_privileged( Override MAC access) Then Return 0
523  If smack_syslog_label != NULL && smack_syslog_label != skp Then rc = -EACCES
526  Return rc