Skip to content

RFC Devpts namespace

sukadev-r/[email protected] containers 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4: Factor out PTY index allocationdrivers/char/tty_io.c fs/devpts/inode.c include/linux/devpts_fs.h+51 -350 replies
2/4: Use interface to access allocated_ptysfs/devpts/inode.c+9 -40 replies
3/4: Enable multiple mounts of /dev/ptsfs/devpts/inode.c+101 -1922 replies
4/4: Enable cloning PTY namespacesfs/devpts/inode.c include/linux/devpts_fs.h include/linux/init_task.h +4 more+146 -1410 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchSerge Hallyn
1/4
2/4A-b
3/4
4/4

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

Read the v1 thread

Cover letter [RFC][PATCH 0/4] Devpts namespace

Serge, Matt, please sign-off on these patches as you see fit.
---

Devpts namespace patchset

In continuation of the implementation of containers in mainline, we need to support multiple PTY namespaces so that the PTY index (ie the tty names) in one container is independent of the PTY indices of other containers. For instance this would allow each container to have a '/dev/pts/0' PTY and refer to different terminals.

[PATCH 1/4]: Factor out PTY index allocation [PATCH 2/4]: Use interface to access allocated_ptys [PATCH 3/4]: Enable multiple mounts of /dev/pts [PATCH 4/4]: Enable cloning PTY namespaces

Todo:

- This patchset depends on availability of additional clone flags !!!
- Needs more testing.

Changelog:

This patchset is based on earlier versions developed by Serge Hallyn and Matt Helsley.