From: Ben Gras Date: Thu, 4 Aug 2005 09:33:38 +0000 (+0000) Subject: Added RO_BIT needed for new at_wini / fs flag X-Git-Tag: v3.1.0~455 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch11.html?a=commitdiff_plain;h=20b4f173345fd44e8955071e4b30a23e47a0e9fc;p=minix.git Added RO_BIT needed for new at_wini / fs flag --- diff --git a/include/minix/const.h b/include/minix/const.h index 304f7d576..52c67e272 100755 --- a/include/minix/const.h +++ b/include/minix/const.h @@ -111,6 +111,9 @@ #define X_BIT 0000001 /* rwX protection bit */ #define I_NOT_ALLOC 0000000 /* this inode is free */ +/* Flag used only in flags argument of dev_open. */ +#define RO_BIT 0200000 /* Open device readonly; fail if writable. */ + /* Some limits. */ #define MAX_BLOCK_NR ((block_t) 077777777) /* largest block number */ #define HIGHEST_ZONE ((zone_t) 077777777) /* largest zone number */