44
49
lxc_log_define(lxc_attach_ui, lxc);
46
51
static const struct option my_longopts[] = {
47
52
{"elevated-privileges", no_argument, 0, 'e'},
48
53
{"arch", required_argument, 0, 'a'},
54
{"namespaces", required_argument, 0, 's'},
55
{"remount-sys-proc", no_argument, 0, 'R'},
52
59
static int elevated_privileges = 0;
53
60
static signed long new_personality = -1;
55
64
static int my_parser(struct lxc_arguments* args, int c, char* arg)
58
69
case 'e': elevated_privileges = 1; break;
60
72
new_personality = lxc_config_parse_arch(arg);
61
73
if (new_personality < 0) {