The book The Linux Programming Interface and training courses given by
man7.org are accompanied with a set of code examples. Some of these
examples are useful in their own right. This package includes the
following utilities.
- namespace_of Show the namespace memberships of one or more processes
in the context of the user or PID namespace
hierarchy. See the bundled source code for further
documentation.
- view_v2_cgroups Display one or more subtrees in the cgroups v2
hierarchy. The following info is displayed for each
cgroup: the cgroup type, the controllers enabled in
the cgroup, and the process and thread members of
the cgroup.
- ns_capable Test whether a process (identified by PID)
might--subject to LSM (Linux Security Module)
checks--have capabilities in a target namespace
(identified either by a /proc/PID/ns/xxx file or by
the PID of a process that is a member of a user
namespace).
Usage: ns_capable <source-pid> <namespace-file|target-pid>
In addition there are two small tools that implement special cases of
"namespace_of" usage. They could arguably be simpler to use in those
cases.
- pid_namespaces Show the PID namespace hierarchy.
- userns_overview Display a hierarchical view of the user namespaces
on the system along with the member processes for
each namespace.
Provides
Requires
License
GPL-3.0-or-later
Changelog
* Thu Oct 02 2025 Göran Uddeborg <goeran@uddeborg.se> - 250914-1
- Update to version 250914
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 250328-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Apr 06 2025 Göran Uddeborg <goeran@uddeborg.se> - 250328-1
- Update to version 250328
* Sat Feb 01 2025 Björn Esser <besser82@fedoraproject.org> - 241221-4
- Add explicit BR: libxcrypt-devel
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 241221-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Dec 30 2024 Göran Uddeborg <goeran@uddeborg.se> - 241221-2
- seccomp_*_open programs only build on x86_64 and aarch64
* Mon Dec 30 2024 Göran Uddeborg <goeran@uddeborg.se> - 241221-1
- Update to verson 241221
* Sat Oct 05 2024 Göran Uddeborg <goeran@uddeborg.se> - 240913-1
- Update to version 240913
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 240311-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Mar 11 2024 Göran Uddeborg <goeran@uddeborg.se> - 240311-1
- Update to version 240311
* Tue Feb 20 2024 Göran Uddeborg <goeran@uddeborg.se> - 240109-3
- Rebuild for new libgo (fedora#2264262)
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 240109-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jan 10 2024 Göran Uddeborg <goeran@uddeborg.se> - 240109-1
- Update to version 240109 - Remove patch for "crypt" since it is fixed
upstreams
* Tue Nov 28 2023 Göran Uddeborg <goeran@uddeborg.se> - 231120-1
- Update to version 231120
- Patch for crypt(3) being removed from libc 2.39
Files
/usr/bin/namespaces_of
/usr/