Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smack_kernel_create_files_as - Set the file creation label in a set of creds*@new: points to the set of credentials to be modified*@inode: points to the inode to use as a reference* Set the file creation context in a set of credentials to the same* as the

Proto:static int smack_kernel_create_files_as(struct cred *new, struct inode *inode)

Type:int

Parameter:

TypeParameterName
struct cred *new
struct inode *inode
2025  isp = smack_inode(inode)
2026  tsp = smack_cred(new)
2028  label when forked = label of the fso
2029  label for access control = label when forked
2030  Return 0