函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:static int smack_kernel_create_files_as(struct cred *new, struct inode *inode)

返回类型:int

参数:

类型参数名称
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  返回:0