X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fsrc%2Ffstool.h;h=953c3e7746d289915bbdee51fee92ce8d5c2c92f;hb=869ef86707f88fe8924fdc30c434a21e128390d9;hp=9daed856f04312a29166bddc3521c0af5eb0ed05;hpb=0e7aecf8b93f6c446115fbf05dfdecfa9f677237;p=util-vserver.git diff --git a/util-vserver/src/fstool.h b/util-vserver/src/fstool.h index 9daed85..953c3e7 100644 --- a/util-vserver/src/fstool.h +++ b/util-vserver/src/fstool.h @@ -22,11 +22,22 @@ #include #include -#define CMD_HELP 0x8000 -#define CMD_VERSION 0x8001 -#define CMD_IMMUTABLE 0x8002 -#define CMD_IMMULINK 0x8003 -#define CMD_LEGACY 0x8004 +#define CMD_HELP 0x8000 +#define CMD_VERSION 0x8001 +#define CMD_IMMUTABLE 0x8002 +#define CMD_IMMULINK 0x8003 +#define CMD_LEGACY 0x8004 +#define CMD_IMMU 0x8010 +#define CMD_ADMIN 0x8011 +#define CMD_WATCH 0x8012 +#define CMD_HIDE 0x8013 +#define CMD_BARRIER 0x8014 +#define CMD_UNSET_IMMU 0x8020 +#define CMD_UNSET_ADMIN 0x8021 +#define CMD_UNSET_WATCH 0x8022 +#define CMD_UNSET_HIDE 0x8023 +#define CMD_UNSET_BARRIER 0x8024 + struct stat; @@ -43,6 +54,9 @@ struct Arguments { bool do_set; bool do_unset; bool local_fs; + + uint32_t set_mask; + uint32_t del_mask; }; extern struct option const CMDLINE_OPTIONS[];