函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aafs_create_symlink - create a symlink in the apparmorfs filesystem*@name: name of dentry to create*@parent: parent directory for this dentry*@target: if symlink, symlink target string*@private: private data*@iops: struct of inode_operations that should

函数原型:static struct dentry *aafs_create_symlink(const char *name, struct dentry *parent, const char *target, void *private, const struct inode_operations *iops)

返回类型:struct dentry

参数:

类型参数名称
const char *name
struct dentry *parent
const char *target
void *private
const struct inode_operations *iops
361  char * link = NULL
363  如果target
364  如果非link则返回:错误号
367  dent等于aafs_create - create a dentry in the apparmorfs filesystem*@name: name of dentry to create*@mode: permissions the file should have*@parent: parent directory for this dentry*@data: data to store on inode
369  如果是错误释放内存
372  返回:dent
调用者
名称描述
__aafs_profile_mkdirRequires: @profile->ns->lock held