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_readlink

Proto:static int policy_readlink(struct dentry *dentry, char __user *buffer, int buflen)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
char __user *buffer
intbuflen
2594  res = snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
2596  If res > 0 && res < size of name Then res = readlink_copy(buffer, buflen, name)
2598  Else res = -ENOENT
2601  Return res