Home
last modified time | relevance | path

Searched hist:d60874cd (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/
H A Dnamei.cd60874cd Tue Oct 04 07:40:45 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> 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: Miklos Szeredi <mszeredi@redhat.com>
d60874cd Tue Oct 04 07:40:45 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> 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: Miklos Szeredi <mszeredi@redhat.com>
/openbmc/linux/include/linux/
H A Dfs.hd60874cd Tue Oct 04 07:40:45 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> 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: Miklos Szeredi <mszeredi@redhat.com>
d60874cd Tue Oct 04 07:40:45 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> 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: Miklos Szeredi <mszeredi@redhat.com>