diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-28 01:44:39 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-28 01:44:39 +0200 |
commit | 0121a32201dcc72933fb6019c41661e2f8a02fc5 (patch) | |
tree | 3e4944d4c1c7f1213413ac99f779629d67373c85 /fs/overlayfs/overlayfs.h | |
parent | Merge branch 'for-linus-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
parent | ovl: Do d_type check only if work dir creation was successful (diff) | |
download | linux-0121a32201dcc72933fb6019c41661e2f8a02fc5.tar.xz linux-0121a32201dcc72933fb6019c41661e2f8a02fc5.zip |
Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs
Pull overlayfs update from Miklos Szeredi:
"The meat of this is a change to use the mounter's credentials for
operations that require elevated privileges (such as whiteout
creation). This fixes behavior under user namespaces as well as being
a nice cleanup"
* 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
ovl: Do d_type check only if work dir creation was successful
ovl: update documentation
ovl: override creds with the ones from the superblock mounter
Diffstat (limited to 'fs/overlayfs/overlayfs.h')
-rw-r--r-- | fs/overlayfs/overlayfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/overlayfs/overlayfs.h b/fs/overlayfs/overlayfs.h index 99ec4b035237..724f5fcb4e24 100644 --- a/fs/overlayfs/overlayfs.h +++ b/fs/overlayfs/overlayfs.h @@ -153,6 +153,7 @@ void ovl_drop_write(struct dentry *dentry); bool ovl_dentry_is_opaque(struct dentry *dentry); void ovl_dentry_set_opaque(struct dentry *dentry, bool opaque); bool ovl_is_whiteout(struct dentry *dentry); +const struct cred *ovl_override_creds(struct super_block *sb); void ovl_dentry_update(struct dentry *dentry, struct dentry *upperdentry); struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags); |