Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smack_file

Proto:static inline struct smack_known **smack_file(const struct file *file)

Type:struct smack_known

Parameter:

TypeParameterName
const struct file *file
356  Return f_security + lbs_file
Caller
NameDescribe
smack_file_alloc_securitysmack_file_alloc_security - assign a file security blob*@file: the object* The security blob for a file is a pointer to the master* label list, so no allocation is done.* f_security is the owner security information. It
smack_file_set_fownersmack_file_set_fowner - set the file security blob value*@file: object in question
smack_file_send_sigiotasksmack_file_send_sigiotask - Smack on sigio*@tsk: The target task*@fown: the object the signal come from*@signum: unused* Allow a privileged task to get signals even if it shouldn't* Returns 0 if a subject with the object's smack could