linux/fs/sysfs
Christian Brauner 0666a3aee7 sysfs: add sysfs_link_change_owner()
Add a helper to change the owner of a sysfs link.
This function will be used to correctly account for kobject ownership
changes, e.g. when moving network devices between network namespaces.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-02-26 20:07:25 -08:00
..
dir.c sysfs: convert BUG_ON to WARN_ON 2019-01-07 08:53:32 +01:00
file.c sysfs: add sysfs_link_change_owner() 2020-02-26 20:07:25 -08:00
group.c treewide: remove redundant IS_ERR() before error code check 2020-02-04 03:05:27 +00:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mount.c no need to protect against put_user_ns(NULL) 2019-05-25 17:59:54 -04:00
symlink.c sysfs: convert BUG_ON to WARN_ON 2019-01-07 08:53:32 +01:00
sysfs.h sysfs, kobject: allow creating kobject belonging to arbitrary users 2018-07-20 23:44:35 -07:00