函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smack_inode_copy_up

函数原型:static int smack_inode_copy_up(struct dentry *dentry, struct cred **new)

返回类型:int

参数:

类型参数名称
struct dentry *dentry
struct cred **new
4513  new_creds等于new
4515  如果(new_creds == NULL)则
4516  new_creds等于prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification
4517  如果(new_creds == NULL)则返回:负ENOMEM
4521  tsp等于smack_cred(new_creds)
4526  isp等于smack_inode(获得目录项的索引节点)
4527  skp等于label of the fso
4528  label for access control 等于skp
4529  new等于new_creds
4530  返回:0