diff options
| author | Miklos Szeredi <[email protected]> | 2016-10-04 12:40:45 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2016-10-14 09:16:47 +0000 |
| commit | d60874cd58fcb21372f2df698c20f8cf2f78fdcb (patch) | |
| tree | eade1cfdc44321b875a51d1beef4042e9e657165 /lib/debugobjects.c | |
| parent | ovl: use generic_readlink (diff) | |
| download | kernel-d60874cd58fcb21372f2df698c20f8cf2f78fdcb.tar.gz kernel-d60874cd58fcb21372f2df698c20f8cf2f78fdcb.zip | |
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 <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
