~mmach/netext73/busybox

« back to all changes in this revision

Viewing changes to util-linux/unshare.c

  • Committer: mmach
  • Date: 2023-07-06 04:40:25 UTC
  • Revision ID: netbit73@gmail.com-20230706044025-2ia9985i8wzdn2a7
1.36.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
//config:       bool "unshare (7.2 kb)"
11
11
//config:       default y
12
12
//config:       depends on !NOMMU
 
13
//config:       depends on PLATFORM_LINUX
13
14
//config:       select LONG_OPTS
14
15
//config:       help
15
16
//config:       Run program with some namespaces unshared from parent.
120
121
        NS_USR_POS, /* OPT_user, NS_USR_POS, and ns_list[] index must match! */
121
122
        NS_COUNT,
122
123
};
123
 
static const struct namespace_descr ns_list[] = {
 
124
static const struct namespace_descr ns_list[] ALIGN_INT = {
124
125
        { CLONE_NEWNS,   "mnt"  },
125
126
        { CLONE_NEWUTS,  "uts"  },
126
127
        { CLONE_NEWIPC,  "ipc"  },