Scroll to navigation

VFS_GET_LINK(9) The Linux VFS VFS_GET_LINK(9)

NAME

vfs_get_link - get symlink body

SYNOPSIS

const char * vfs_get_link(struct dentry * dentry, struct delayed_call * done);

ARGUMENTS

struct dentry * dentry
dentry on which to get symbolic link

struct delayed_call * done

caller needs to free returned data with this

DESCRIPTION

Calls security hook and i_op->get_link on the supplied inode.

It does not touch atime. That's up to the caller if necessary.

Does not work on “special” symlinks like /proc/$$/fd/N

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11