summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cwfs/config.c
AgeCommit message (Collapse)Author
2019-02-25cwfs: fix %.*s format in cmd_printconf()cinap_lenrek
2015-08-21cwfs: remove 9p1 supportcinap_lenrek
2014-08-11cwfs: add optional uid argument to allow command, unify permission override codecinap_lenrek
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-05-03cwfs: fix 1GB memsize limitationcinap_lenrek
the malloc pool allocator is limited in its allocation size. as almost all data structures in cwfs are never freed, use brk() in ialloc() instead of mallocalign(). this means memory returned by ialloc() cannot be freed! to make sure we do not call free by accident, remove the #define malloc(n) ialloc(n, 0) macro and use ialloc() directly as in the original code to show the intend of permanent allocations.
2012-12-07cwfs: make none attach workcinap_lenrek
allow attach as none. (this was supposed to work but it doesnt for 9p2000 because we have to check for afid being NOFID instead of checking the uname string). and add "nonone" flag to disable this.
2012-07-24cwfs: make sure we do a full dump after toggling noatimecinap_lenrek
2012-07-14cwfs: noatime flagcinap_lenrek
2012-07-12cwfs: set whochan for who command, cleanupcinap_lenrek
2011-06-11cwfs: store newcache format option in configcinap_lenrek
2011-05-01cwfs: allow reseting noauth and readonly config optionscinap_lenrek
2011-04-29cwfs: back to previous versioncinap_lenrek
2011-04-29cwfs: fix config modecinap_lenrek
2011-04-29cwfs: remove startup delaycinap_lenrek
2011-04-28cwfs: reduce verbosity, added -d options if you want it anywaycinap_lenrek
2011-04-17cwfs: ignore nvram check errorcinap_lenrek
2011-04-17cwfs: make noauth a storable config option so one can boot without factotum ↵cinap_lenrek
and nvram
2011-04-12updating cwfs and moving installer in /rc/bincinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen