plan9fox/sys/man
cinap_lenrek 427e925eea cwfs: add optional uid argument to allow command, unify permission override code
the allow command now takes an optional uid argument for the user
to be granted temporary god status on the fileserver for maintenance.

this was kenji okomotos idea, so thanks :)

remove wstatallow and writeallow flags. instead, we have global:

int allowed;

that contains the uid of the currently allowed user id or -1
if permission checking is globally disabled for the fileserver.
when zero, normal permission checking takes place.

added int isallowed(File*) function that returns non-zero when the
context is the console, or the allowed user. this is also used internally
by iaccess(), so all the extra code of in the callers of iaccess()
is gone now.

dont conflate allowed user with noauth flag and auto-allow on ream.
the installer already knows about noauth and allow flags so theres no
problem with bootstraping.
2014-08-11 22:36:59 +02:00
..
1 spred(1): fix troff 2014-07-30 12:09:35 -04:00
2 libdraw: add missing borderop() (thanks aiju) 2014-07-21 18:10:58 +02:00
3 man pages: fix duplicate words 2014-04-26 13:22:15 +02:00
4 iostats: reimplement iostats as a 9p filter instead of duplicating exportfs 2014-08-02 02:30:19 +02:00
5
6 a.out(6): sync definitions 2014-07-17 23:22:48 -07:00
7
8 cwfs: add optional uid argument to allow command, unify permission override code 2014-08-11 22:36:59 +02:00
fonts
index.html
mkfile
preface.html
preface3.html
preface4.html