Searched hist:"488 dee96bb62f0b3d9e678cf42574034d5b033a5" (Results 1 – 8 of 8) sorted by relevance
/linux/fs/kernfs/ |
H A D | symlink.c | diff 488dee96bb62f0b3d9e678cf42574034d5b033a5 Fri Jul 20 23:56:47 CEST 2018 Dmitry Torokhov <dmitry.torokhov@gmail.com> kernfs: allow creating kernfs objects with arbitrary uid/gid
This change allows creating kernfs files and directories with arbitrary uid/gid instead of always using GLOBAL_ROOT_UID/GID by extending kernfs_create_dir_ns() and kernfs_create_file_ns() with uid/gid arguments. The "simple" kernfs_create_file() and kernfs_create_dir() are left alone and always create objects belonging to the global root.
When creating symlinks ownership (uid/gid) is taken from the target kernfs object.
Co-Developed-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | kernfs-internal.h | diff 488dee96bb62f0b3d9e678cf42574034d5b033a5 Fri Jul 20 23:56:47 CEST 2018 Dmitry Torokhov <dmitry.torokhov@gmail.com> kernfs: allow creating kernfs objects with arbitrary uid/gid
This change allows creating kernfs files and directories with arbitrary uid/gid instead of always using GLOBAL_ROOT_UID/GID by extending kernfs_create_dir_ns() and kernfs_create_file_ns() with uid/gid arguments. The "simple" kernfs_create_file() and kernfs_create_dir() are left alone and always create objects belonging to the global root.
When creating symlinks ownership (uid/gid) is taken from the target kernfs object.
Co-Developed-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | inode.c | diff 488dee96bb62f0b3d9e678cf42574034d5b033a5 Fri Jul 20 23:56:47 CEST 2018 Dmitry Torokhov <dmitry.torokhov@gmail.com> kernfs: allow creating kernfs objects with arbitrary uid/gid
This change allows creating kernfs files and directories with arbitrary uid/gid instead of always using GLOBAL_ROOT_UID/GID by extending kernfs_create_dir_ns() and kernfs_create_file_ns() with uid/gid arguments. The "simple" kernfs_create_file() and kernfs_create_dir() are left alone and always create objects belonging to the global root.
When creating symlinks ownership (uid/gid) is taken from the target kernfs object.
Co-Developed-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | file.c | diff 488dee96bb62f0b3d9e678cf42574034d5b033a5 Fri Jul 20 23:56:47 CEST 2018 Dmitry Torokhov <dmitry.torokhov@gmail.com> kernfs: allow creating kernfs objects with arbitrary uid/gid
This change allows creating kernfs files and directories with arbitrary uid/gid instead of always using GLOBAL_ROOT_UID/GID by extending kernfs_create_dir_ns() and kernfs_create_file_ns() with uid/gid arguments. The "simple" kernfs_create_file() and kernfs_create_dir() are left alone and always create objects belonging to the global root.
When creating symlinks ownership (uid/gid) is taken from the target kernfs object.
Co-Developed-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | dir.c | diff 488dee96bb62f0b3d9e678cf42574034d5b033a5 Fri Jul 20 23:56:47 CEST 2018 Dmitry Torokhov <dmitry.torokhov@gmail.com> kernfs: allow creating kernfs objects with arbitrary uid/gid
This change allows creating kernfs files and directories with arbitrary uid/gid instead of always using GLOBAL_ROOT_UID/GID by extending kernfs_create_dir_ns() and kernfs_create_file_ns() with uid/gid arguments. The "simple" kernfs_create_file() and kernfs_create_dir() are left alone and always create objects belonging to the global root.
When creating symlinks ownership (uid/gid) is taken from the target kernfs object.
Co-Developed-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/include/linux/ |
H A D | kernfs.h | diff 488dee96bb62f0b3d9e678cf42574034d5b033a5 Fri Jul 20 23:56:47 CEST 2018 Dmitry Torokhov <dmitry.torokhov@gmail.com> kernfs: allow creating kernfs objects with arbitrary uid/gid
This change allows creating kernfs files and directories with arbitrary uid/gid instead of always using GLOBAL_ROOT_UID/GID by extending kernfs_create_dir_ns() and kernfs_create_file_ns() with uid/gid arguments. The "simple" kernfs_create_file() and kernfs_create_dir() are left alone and always create objects belonging to the global root.
When creating symlinks ownership (uid/gid) is taken from the target kernfs object.
Co-Developed-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/fs/sysfs/ |
H A D | dir.c | diff 488dee96bb62f0b3d9e678cf42574034d5b033a5 Fri Jul 20 23:56:47 CEST 2018 Dmitry Torokhov <dmitry.torokhov@gmail.com> kernfs: allow creating kernfs objects with arbitrary uid/gid
This change allows creating kernfs files and directories with arbitrary uid/gid instead of always using GLOBAL_ROOT_UID/GID by extending kernfs_create_dir_ns() and kernfs_create_file_ns() with uid/gid arguments. The "simple" kernfs_create_file() and kernfs_create_dir() are left alone and always create objects belonging to the global root.
When creating symlinks ownership (uid/gid) is taken from the target kernfs object.
Co-Developed-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/kernel/cgroup/ |
H A D | cgroup.c | diff 488dee96bb62f0b3d9e678cf42574034d5b033a5 Fri Jul 20 23:56:47 CEST 2018 Dmitry Torokhov <dmitry.torokhov@gmail.com> kernfs: allow creating kernfs objects with arbitrary uid/gid
This change allows creating kernfs files and directories with arbitrary uid/gid instead of always using GLOBAL_ROOT_UID/GID by extending kernfs_create_dir_ns() and kernfs_create_file_ns() with uid/gid arguments. The "simple" kernfs_create_file() and kernfs_create_dir() are left alone and always create objects belonging to the global root.
When creating symlinks ownership (uid/gid) is taken from the target kernfs object.
Co-Developed-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|