summaryrefslogtreecommitdiff
path: root/sys/src/9/port/devshr.c
AgeCommit message (Collapse)Author
2015-08-09kernel: pgrpcpy(), simplify Mount structurecinap_lenrek
instead of ordering the source mount list, order the new destination list which has the advantage that we do not need to wlock the source namespace, so copying can be done in parallel and we do not need the copy forward pointer in the Mount structure. the Mhead back pointer in the Mount strcture was unused, removed.
2015-07-28kernel: export mntattach() from devmnt.c avoiding bogus struct passing and ↵cinap_lenrek
special case in namec() we already export mntauth() and mntversion(), so why not stop being sneaky and just export mntattach() so bindmount() and devshr can just call it directly with proper arguments being checked. we can also avoid handling #M attach specially in namec() by having the devmnt's attach function do error(Enoattach).
2013-08-27devshr, devaudio: openmode()/devopen() error handlingcinap_lenrek
2013-06-18devsrv, devshr: wstat permissionscinap_lenrek
update permissions last in wstat so it will only get changed when there was no error.
2013-06-18devshr: fix wstat, stylecinap_lenrek
- same problem with wstat, if we error then owner has been already updated... - avoid smalloc while holding qlock in wstat, do it before - pikeshedd style...
2012-09-06devshr: honor noattachcinap_lenrek
2012-02-08add Etoolong error string, cleanup genbuf truncation fixcinap_lenrek
2012-02-08fix endless devwalk loops caused by genbuf truncationcinap_lenrek
2011-08-17change definition of Chan.create to return a chan like opencinap_lenrek
2011-08-15devshr: security!cinap_lenrek
2011-08-14devshr/devsrvcinap_lenrek
2011-07-30devshr: changed #σc to contain directoriesaiju
nusb: detaching
2011-07-28devshr: rename hookaiju
2011-07-27devshr: fixed crashaiju
2011-07-25devshr: fixed memory leaks / race conditionaiju
2011-07-24devshr: added unmountingaiju
2011-07-24added devshraiju