Skip to content
Commit d60874cd authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

vfs: add vfs_get_link() helper



This helper is for filesystems that want to read the symlink and are better
off with the get_link() interface (returning a char *) rather than the
readlink() interface (copy into a userspace buffer).

Also call the LSM hook for readlink (not get_link) since this is for
symlink reading not following.

Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 78a3fa4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment