plan9fox/sys/man/8
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
..
0intro Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
6in4 6in4: add -o option to make it possible to use different nets for ipv6 and ipv4 interface 2013-01-14 07:09:25 +01:00
9boot add HISTORY to various man pages 2013-12-27 16:22:05 -05:00
9pcon Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
aan aan(8): fix aanuke synopsis 2014-04-29 23:17:06 +02:00
aliasmail Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
apm apm(8): support off state 2011-08-23 07:53:55 +02:00
atazz Add manpages for atazz and smart 2012-09-20 22:51:20 +12:00
auth auth/login: find authdom instead of using hardcoded cs.bell-labs.com (thanks erik) 2014-03-23 18:10:04 +01:00
backup remove references to fossil from most man pages. 2011-04-17 07:12:00 +00:00
boot add HISTORY to various man pages 2013-12-27 16:22:05 -05:00
booting ajust booting(8) to 9boot reality 2011-06-10 01:53:59 +00:00
cec Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
cifsd man pages: the the wich 2014-04-26 01:47:36 +02:00
cpuid cpuid(8): fix spelling 2012-09-28 21:49:12 -05:00
cpurc root/boot typo 2011-08-18 22:54:52 +02:00
cron Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
cryptsetup add HISTORY to various man pages 2013-12-27 16:22:05 -05:00
dhcpd remove references to 9load(8) from most pages that mention it. 2011-04-13 02:58:33 +00:00
diskparts remove dmaon 2012-05-07 22:21:31 +02:00
disksim Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fs cwfs: add optional uid argument to allow command, unify permission override code 2014-08-11 22:36:59 +02:00
fsconfig Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fshalt add HISTORY to various man pages 2013-12-27 16:22:05 -05:00
getflags Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
gpsfs man pages: fix duplicate words 2014-04-26 13:22:15 +02:00
hgignore fix manpages 2011-05-04 09:02:04 +00:00
hgrc fix manpages 2011-05-04 09:02:04 +00:00
histogram Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
hjfs 2c(1), torrent(1), uhtml(1), kbd(3), cwfs(4), hgfs(4), cifsd(8), cryptsetup(8), hjfs(8), kbdfs(8), realemu(8), wpa(8): fix spelling, typos 2013-08-23 15:48:52 -04:00
httpd Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
icanhasmsi add HISTORY to various man pages 2013-12-27 16:22:05 -05:00
init Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ipconfig ipconfig(8): better way to say it :) 2012-12-06 07:34:56 +01:00
ipserv add HISTORY to various man pages 2013-12-27 16:22:05 -05:00
kbdfs add HISTORY to various man pages 2013-12-27 16:22:05 -05:00
kfscmd Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
listen document tcp445 (CIFS/SMB) listener 2013-01-28 16:41:25 +01:00
lp Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
memory memory(8): man page improvements 2011-08-18 15:46:35 -05:00
mk9660 Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mkflashfs Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mkfs mkfs(8): also list -U option in table 2013-09-22 03:30:04 +02:00
mkpaqfs mkpaqfs(8): correct maximum block size (from erik quanstros mkpaqfsman patch) 2013-05-03 13:57:00 +02:00
mksacfs Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mouse Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
na Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ndb ndb(8): the truth is too hard to explain, so theres a nice lie. 2014-03-05 20:13:03 +01:00
netaudit add HISTORY to various man pages 2013-12-27 16:22:05 -05:00
newuser remove references to fossil from most man pages. 2011-04-17 07:12:00 +00:00
nfsserver Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
nusbrc nusb: fix spelling, sorry 2014-06-28 19:55:14 +02:00
partfs Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
pci Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
pcmcia Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
pem Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ping Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
plan9.ini nusb: fix spelling, sorry 2014-06-28 19:55:14 +02:00
pop3 man pages: fix duplicate words 2014-04-26 13:22:15 +02:00
ppp ppp: noauth server option (import from sources) 2012-08-07 15:57:42 +02:00
prep disk/format: FAT32 support 2012-05-07 18:06:17 +02:00
qer Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
rc-httpd rc-httpd(8): fix typo (thanks, _trav) 2013-09-20 03:09:40 -04:00
realemu add HISTORY to various man pages 2013-12-27 16:22:05 -05:00
reboot Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
replica Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
rsa auth/rsa2ssh: add SSH2 RSA output format (from plan9port) 2013-10-27 18:50:14 -07:00
scanmail man pages: the the wich 2014-04-26 01:47:36 +02:00
screenlock Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
scuzz Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
secstore Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
securenet Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
send Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
smart Add manpages for atazz and smart 2012-09-20 22:51:20 +12:00
smtp smtp: add SMTPS support (-t) 2013-06-12 23:39:41 +02:00
snoopy Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
stats Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
statusbar Man page style. 2012-02-15 19:50:34 -03:00
stub Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
swap improve swap 2011-08-22 10:03:15 +02:00
timesync Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
tlssrv tlssrv(8): fix bad cross reference 2013-01-09 07:55:58 +01:00
trampoline Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
udpecho Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
venti Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
venti-backup Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
venti-fmt Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
vga manpages 2011-06-15 21:41:55 +02:00
wol Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
wpa add HISTORY to various man pages 2013-12-27 16:22:05 -05:00