Info

struct nsproxy init_nsproxy = INIT_NSPROXY(init_nsproxy); <init_task.h>

#define INIT_NSPROXY(nsproxy) { \ .pid_ns = &init_pid_ns, \ .count = ATOMIC_INIT(1), \

.uts_ns = &init_uts_ns, X .mnt_ns = NULL, X INIT_NET_NS(net_ns) X INIT_IPC_NS(ipc_ns) X .user_ns = &init_user_ns, X

The UTS Namespace

The UTS namespace can be handled with particularly little effort because it only has to manage simple quantities and does not require a hierarchical organization. All relevant information is collected in an instance of the following structure:

Continue reading here: Info

Was this article helpful?

0 0