Skip to content

sysfs namespace support

Eric W. Biederman containers lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8sysfs: Implement sysfs tagged directory support.fs/sysfs/bin.c fs/sysfs/dir.c fs/sysfs/file.c +7 more+298 -3315 replies
2/8sysfs: Merge sysfs_rename_dir and sysfs_move_dirfs/sysfs/dir.c+38 -830 replies
3/8sysfs: Implement sysfs_delete_link and sysfs_rename_linkfs/sysfs/symlink.c include/linux/sysfs.h+48 -00 replies
4/8driver core: Implement tagged directory support for device classes.drivers/base/class.c drivers/base/core.c include/linux/device.h+64 -250 replies
5/8sysfs: Remove sysfs_create_link_nowarnfs/sysfs/symlink.c include/linux/sysfs.h+0 -250 replies
6/8Revert "netns: Fix device renaming for sysfs"net/core/dev.c net/core/net-sysfs.c net/core/net-sysfs.h+2 -101 reply
7/8netns: Enable tagging for net_class directories in sysfsinclude/linux/sysfs.h net/Kconfig net/core/net-sysfs.c+35 -11 reply
8/8sysfs: user namespaces: fix bug with clone(CLONE_NEWUSER) with fairschedinclude/linux/sched.h include/linux/sysfs.h kernel/user.c +1 more+25 -00 replies

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchTejun HeoDavid S. Miller
1/8
2/8
3/8A-b
4/8
5/8
6/8A-b
7/8A-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] sysfs namespace support

Greg the first 4 patches are the rest of the infrastructure. Everything rebased quite nicely. All of the conflicts appear to have been false positives.

With the addition of sysfs_rename_link sysfs_create_link_nowarn is never called so we can remove it.

I'm not really certain whose tree the last netns or the user namespace changes should live in, but I am continuing to have those patches in this patchset for completeness.

Eric W. Biederman (7):

1      sysfs: Implement sysfs tagged directory support.
2      sysfs: Merge sysfs_rename_dir and sysfs_move_dir
3      sysfs: Implement sysfs_delete_link and sysfs_rename_link
4      driver core: Implement tagged directory support for device classes.

5 sysfs: Remove sysfs_create_link_nowarn

6 Revert "netns: Fix device renaming for sysfs"
7 netns: Enable tagging for net_class directories in sysfs

Serge Hallyn (1):
8 sysfs: user namespaces: fix bug with clone(CLONE_NEWUSER) with fairsched