rustix
rustix copied to clipboard
Rework namespace functions and types
Successor of #1402
- Add
set_namespacefunction. - Deprecate
move_into_link_name_spaceandmove_into_thread_name_spacesfunctions. - Add
NamespaceType. - Deprecate
ThreadNameSpaceTypeandLinkNameSpaceType. - Add nsfs ioctls.
- Add
NoArgGetterioctl pattern.
Not yet in the PR:
NS_GET_PID_FROM_PIDNSNS_GET_TGID_FROM_PIDNSNS_GET_PID_IN_PIDNSNS_GET_TGID_IN_PIDNS- Merged: https://github.com/rust-lang/libc/pull/4436
- Released: libc 0.2.174