Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:policy_get_link

Proto:static const char *policy_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done)

Type:char

Parameter:

TypeParameterName
struct dentry *dentry
struct inode *inode
struct delayed_call *done
2577  If Not dentry Then Return ERR_PTR( - ECHILD)
2579  ns = aa_get_current_ns()
2580  mnt = mntget(aafs_mnt)
2581  dentry = get a reference to a dentry
2582  nd_jump_link( & path)
2583  aa_put_ns - decrement refcount on @ns*@ns: namespace to put reference of* Decrement reference count of @ns and if no longer in use free it
2585  Return NULL