diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/9p.h | 1 | ||||
-rw-r--r-- | include/libc.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/9p.h b/include/9p.h index b6e959b1..9d98bbab 100644 --- a/include/9p.h +++ b/include/9p.h @@ -204,6 +204,7 @@ struct Srv { int nopipe; int srvfd; int leavefdsopen; /* magic for acme win */ + int dotu; /* below is implementation-specific; don't use */ Fidpool* fpool; diff --git a/include/libc.h b/include/libc.h index 8b0c43c0..1f867421 100644 --- a/include/libc.h +++ b/include/libc.h @@ -638,6 +638,8 @@ extern void freenetconninfo(NetConnInfo*); #define DMDEVICE 0x00800000 /* mode bit for device file (Unix, 9P2000.u) */ #define DMNAMEDPIPE 0x00200000 /* mode bit for named pipe (Unix, 9P2000.u) */ #define DMSOCKET 0x00100000 /* mode bit for socket (Unix, 9P2000.u) */ +#define DMSETUID 0x00080000 /* mode bit for setuid (Unix, 9P2000.u) */ +#define DMSETGID 0x00040000 /* mode bit for setgid (Unix, 9P2000.u) */ #define DMREAD 0x4 /* mode bit for read permission */ #define DMWRITE 0x2 /* mode bit for write permission */ |