+
The user namespace will be ignored if it is the same as the caller's current user namespace. It prevents a caller that has dropped capabilities from regaining those capabilities via a call to *setns*(2). See the man page for more details.
-*-t*, *--target* _PID[:inode]_::
+*-t*, *--target* _PID_[**:**_inode_]::
Specify a target process to get contexts from. The paths to the contexts specified by _PID_ are:
-
++
+____
_/proc/pid/ns/mnt_;;
the mount namespace
_/proc/pid/ns/uts_;;
the root directory
_/proc/pid/cwd_;;
the working directory respectively
-
-Optionally, a process can be addressed with the format _PID:inode_. The _inode_
+____
+Optionally, a process can be addressed with the format _PID_**:**_inode_. The _inode_
identifies the unique process's file descriptor. To retrieve a process's inode
number you can use the *getino*(1) utility.
-*-m*, *--mount*[**=**<__file__|:__nsid__>]::
-Enter the mount namespace. If no argument is specified, enter the mount namespace of the target process. If _file_ or :__nsid__ is specified, enter the mount namespace specified by _file_ or _nsid_.
+*-m*, *--mount*[**=**_file_|**=:**_nsid_]::
+Enter the mount namespace. If no argument is specified, enter the mount namespace of the target process. If _file_ or **:**_nsid_ is specified, enter the mount namespace specified by _file_ or _nsid_.
-*-u*, *--uts*[**=**<__file__|:__nsid__>]::
-Enter the UTS namespace. If no argument is specified, enter the UTS namespace of the target process. If _file_ or :__nsid__ is specified, enter the UTS namespace specified by _file_ or _nsid_.
+*-u*, *--uts*[**=**_file_|**=:**_nsid_]::
+Enter the UTS namespace. If no argument is specified, enter the UTS namespace of the target process. If _file_ or **:**_nsid_ is specified, enter the UTS namespace specified by _file_ or _nsid_.
-*-i*, *--ipc*[**=**<__file__|:__nsid__>]::
-Enter the IPC namespace. If no argument is specified, enter the IPC namespace of the target process. If _file_ or :__nsid__ is specified, enter the IPC namespace specified by _file_ or _nsid_.
+*-i*, *--ipc*[**=**_file_|**=:**_nsid_]::
+Enter the IPC namespace. If no argument is specified, enter the IPC namespace of the target process. If _file_ or **:**_nsid_ is specified, enter the IPC namespace specified by _file_ or _nsid_.
-*-n*, *--net*[**=**<__file__|:__nsid__>]::
-Enter the network namespace. If no argument is specified, enter the network namespace of the target process. If _file_ or :__nsid__ is specified, enter the network namespace specified by _file_ or _nsid_.
+*-n*, *--net*[**=**_file_|**=:**_nsid_]::
+Enter the network namespace. If no argument is specified, enter the network namespace of the target process. If _file_ or **:**_nsid_ is specified, enter the network namespace specified by _file_ or _nsid_.
*-N*, *--net-socket* _fd_::
Enter the network namespace of the target process's socket. It requires *--target* process specified. Supported since Linux 5.6.
-*-p*, *--pid*[**=**<__file__|:__nsid__>]::
-Enter the PID namespace. If no argument is specified, enter the PID namespace of the target process. If _file_ or :__nsid__ is specified, enter the PID namespace specified by _file_ or _nsid_.
+*-p*, *--pid*[**=**_file_|**=:**_nsid_]::
+Enter the PID namespace. If no argument is specified, enter the PID namespace of the target process. If _file_ or **:**_nsid_ is specified, enter the PID namespace specified by _file_ or _nsid_.
-*-U*, *--user*[**=**<__file__|:__nsid__>]::
-Enter the user namespace. If no argument is specified, enter the user namespace of the target process. If _file_ or :__nsid__ is specified, enter the user namespace specified by _file_ or _nsid_. See also the *--setuid* and *--setgid* options.
+*-U*, *--user*[**=**_file_|**=:**_nsid_]::
+Enter the user namespace. If no argument is specified, enter the user namespace of the target process. If _file_ or **:**_nsid_ is specified, enter the user namespace specified by _file_ or _nsid_. See also the *--setuid* and *--setgid* options.
*--user-parent*::
Enter the parent user namespace. Parent user namespace will be acquired from any other enabled namespace.
If combined with *--user* option the parent user namespace will be fetched from the user namespace and replace it.
-*-C*, *--cgroup*[**=**<__file__|:__nsid__>]::
-Enter the cgroup namespace. If no argument is specified, enter the cgroup namespace of the target process. If _file_ or :__nsid__ is specified, enter the cgroup namespace specified by _file_ or _nsid_.
+*-C*, *--cgroup*[**=**_file_|**=:**_nsid_]::
+Enter the cgroup namespace. If no argument is specified, enter the cgroup namespace of the target process. If _file_ or **:**_nsid_ is specified, enter the cgroup namespace specified by _file_ or _nsid_.
-*-T*, *--time*[**=**<__file__|:__nsid__>]::
-Enter the time namespace. If no argument is specified, enter the time namespace of the target process. If _file_ or :__nsid__ is specified, enter the time namespace specified by _file_ or _nsid_.
+*-T*, *--time*[**=**_file_|**=:**_nsid_]::
+Enter the time namespace. If no argument is specified, enter the time namespace of the target process. If _file_ or **:**_nsid_ is specified, enter the time namespace specified by _file_ or _nsid_.
*-G*, *--setgid* _gid_::
Set the group ID which will be used in the entered namespace and drop supplementary groups.
The *--user-parent* option requires Linux 4.9 or higher, older kernels will raise inappropriate ioctl for device error.
-Specifying namespaces by _nsid_ requires Linux 6.19 or higher. If a namespace
-file name starts with a colon, prepend "./" for disambiguation.
+Specifying namespaces by _nsid_ requires Linux 6.19 or higher.
+If a namespace _file_ name starts with a colon, prepend *./* for disambiguation.
== AUTHORS