vfs_get_link(9)

vfs_get_link9

Get symlink body

Usage

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

Arguments

dentry

dentry on which to get symbolic link

done

caller needs to free returned data with this

Overview

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

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.