From: Enrico Scholz Date: Fri, 5 Mar 2004 19:50:45 +0000 (+0000) Subject: allow '--!...' syntax too X-Git-Tag: VERSION_0_10~461 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c424f7957e618443f059eb2f634733c4a512a04;p=util-vserver.git allow '--!...' syntax too git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1112 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/src/setattr.c b/util-vserver/src/setattr.c index 4b7acee..4513ac9 100644 --- a/util-vserver/src/setattr.c +++ b/util-vserver/src/setattr.c @@ -44,13 +44,20 @@ CMDLINE_OPTIONS[] = { { "hide", no_argument, 0, CMD_HIDE }, { "barrier", no_argument, 0, CMD_BARRIER }, { "~iunlink", no_argument, 0, CMD_UNSET_IMMU }, + { "!iunlink", no_argument, 0, CMD_UNSET_IMMU }, { "~immu", no_argument, 0, CMD_UNSET_IMMU }, + { "!immu", no_argument, 0, CMD_UNSET_IMMU }, { "~admin", no_argument, 0, CMD_UNSET_ADMIN }, + { "!admin", no_argument, 0, CMD_UNSET_ADMIN }, { "~watch", no_argument, 0, CMD_UNSET_WATCH }, + { "!watch", no_argument, 0, CMD_UNSET_WATCH }, { "~hide", no_argument, 0, CMD_UNSET_HIDE }, + { "!hide", no_argument, 0, CMD_UNSET_HIDE }, { "~barrier", no_argument, 0, CMD_UNSET_BARRIER }, + { "!barrier", no_argument, 0, CMD_UNSET_BARRIER }, { "iunlink-but-not-immutable", no_argument, 0, CMD_IMMUX }, { "~iunlink-but-not-immutable", no_argument, 0, CMD_UNSET_IMMUX }, + { "!iunlink-but-not-immutable", no_argument, 0, CMD_UNSET_IMMUX }, { 0,0,0,0 } };