Aleksa Sarai
Aleksa Sarai
https://lore.kernel.org/all/[email protected]/
This was merged for 6.18, but the ioctl was not included (hopefully I get it into 6.19).
* FreeBSD has `O_EMPTY_PATH` (I'm a little jealous) so `File::reopen` can be implemented even more trivially than Linux (for now). But we will need `os.Root`-style `..` handling. * OpenBSD doesn't...
Maybe the simplest solution is to expose `(*procfs.Handle).open`...
I think the `fdinfo` approach is actually better than `PIDFD_GET_INFO` one even on newer kernels because if we use the same procfs handle we also use to resolve the base,...
https://lore.kernel.org/all/[email protected]/
The `pidns=` mount option was merged for 6.18, but this bit was dropped. I'll send a new version for 6.19.
`/proc/1/ns/pid` is also a very obvious thing to look at without this ioctl.
I built grub from the upstream sources and the issue is the same (I outlined it in the bug report I linked -- zfsonlinux/grub#29). Basically `grub2-probe`'s internal ZFS parser thinks...