introduce cloning of fs_context
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 23 Dec 2018 21:02:47 +0000 (16:02 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Feb 2019 08:29:27 +0000 (03:29 -0500)
commit0b52075ee62301dd150c9f2c3ddd0035ed894cde
treebb5b54d2fee0e0e37f73635030dc0e25e93c9aa5
parentcb50b348c71ffa90d7d1b2a494b553b5099bc090
introduce cloning of fs_context

new primitive: vfs_dup_fs_context().  Comes with fs_context
method (->dup()) for copying the filesystem-specific parts
of fs_context, along with LSM one (->fs_context_dup()) for
doing the same to LSM parts.

[needs better commit message, and change of Author:, anyway]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fs_context.c
include/linux/fs_context.h
include/linux/lsm_hooks.h
include/linux/security.h
security/security.c
security/selinux/hooks.c
security/smack/smack_lsm.c