Skip to content

Commit

Permalink
wishlist: mark a bunch of items as "done"
Browse files Browse the repository at this point in the history
We actually can strike off quite a bunch of items from our list.
  • Loading branch information
poettering committed May 30, 2024
1 parent 9d4b7e1 commit 971ee2f
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ associated problem space.
point that out explicitly and clearly in the associated patches and Cc
`Christian Brauner <brauner (at) kernel (dot) org`.**

* Ability to unmount obstructed mounts. (This means: you have a stack
* [x] Ability to unmount obstructed mounts. (This means: you have a stack
of mounts on the very same inode, and you want to remove a mount in
the middle. Right now, you can only remove the topmost mount.)

**πŸ™‡ Instead of the ability to unmount obstructured mounts we gained
the ability to mount beneath an existing mount, with mostly
equivalent outcome. `6ac392815628f317fcfdca1a39df00b9cc4ebc8b
("fs: allow to mount beneath top mount") πŸ™‡**

**Use-Case:** this is useful for replacing mounts atomically, for
example for upgrading versioned disk images: first an old version
of the image is mounted. Then a new version is mounted over the
Expand Down Expand Up @@ -110,11 +115,14 @@ point that out explicitly and clearly in the associated patches and Cc
pointed to `file://dev/zero`, not expecting an endless amount of
data to read.

* `IP_UNICAST_IF` should be taken into account for routing decisions
* [x] `IP_UNICAST_IF` should be taken into account for routing decisions
at UDP `connect()` time (currently it isn't, only `SO_BINDTOINDEX`
is, but that does so much more than just that, and one often
doesn't want that)

**πŸ™‡ `0e4d354762cefd3e16b4cff8988ff276e45effc4 ("net-next: Fix
IP_UNICAST_IF option behavior for connected sockets")` πŸ™‡**

**Use-Case:** DNS resolvers that associate DNS configuration with
specific network interfaces (example: `systemd-resolved`) typically
want to preferably route DNS traffic to the per-interface DNS
Expand Down Expand Up @@ -346,9 +354,11 @@ point that out explicitly and clearly in the associated patches and Cc
**Use-Case:** block services or containers from re-opening/upgrading an
`O_PATH` file descriptor through e.g. `/proc/<pid>/fd/<nr` as `O_WRONLY`.

* Implement a mount-specific companion to `statx()` that puts at least the
* [x] Implement a mount-specific companion to `statx()` that puts at least the
following information into `struct mount_info`:

**πŸ™‡ 46eae99ef73302f9fb3dddcd67c374b3dffe8fd6 ("add statmount(2) syscall")`` πŸ™‡**

* mount flags: `MOUNT_ATTR_RDONLY`, ...
* time flags: `MOUNT_ATTR_RELATIME`, ...
Could probably be combined with mount flags.
Expand Down Expand Up @@ -603,9 +613,11 @@ point that out explicitly and clearly in the associated patches and Cc
system extension with a key pair that is supposed to be good for
container images only.

* Make statx() on a pidfd return additional recognizable identifiers
* [x] Make statx() on a pidfd return additional recognizable identifiers
in `.stx_btime` and `.stx_ino`.

**πŸ™‡ `cb12fd8e0dabb9a1c8aef55a6a41e2c255fcdf4b pidfd: add pidfs` πŸ™‡**

It would be fantastic if issuing statx() on any pidfd would return
the start time of the process in `.stx_btime` even after the process
died, plus some reasonably stable 64bit identifier for the process
Expand Down Expand Up @@ -639,7 +651,6 @@ point that out explicitly and clearly in the associated patches and Cc
`SIGCHLD`/`waitid()` on them or whether waiting for `POLLIN` on
them is the only way to get exit notification.


* There should be a way to control the process' `comm` field if
started via `fexecve()`.

Expand Down

0 comments on commit 971ee2f

Please sign in to comment.