summaryrefslogtreecommitdiff
path: root/lib/libpuffs/creds.c
AgeCommit message (Collapse)Author
2012-03-15Use puffs_access() return value in the VA_UTIMES_NULL case.njoly
2009-11-20In getgroups(), copy only up to the number of supplementary groupspooka
that actually exist.
2007-12-08Now that "l" is gone both as an argument to operations and frompooka
componentname, remove all vestiges of puffs_cid.
2007-10-18* Change type of boolean functions to, well, boolean instead of int.pooka
* add puffs_cid_isequal() which can be used to test if the two caller id's refer to the same process/lwp.
2007-07-01Instead of supplying a plain pid, supply an abstract struct puffs_cid *,pooka
which can currently be used to query the pid and lwpid.
2007-07-01make puffs_cred an opaque typepooka
2007-06-06Move puffs to a two clause license where it already isn't so. Andpooka
as agc pointed out, even files with the third clause were already effectively two clause because of a slight bug in the language...
2007-03-22allow kernel creds in addition to superuser creds when checking for accesspooka
2007-03-22unify the location of *pcr in puffs_access_*pooka
2007-03-22copy ngroups * sizeof(gid_t) groups instead of just ngroupspooka
2007-03-22* return -1 and set errno instead of returning errno directlypooka
* introduce puffs_cred_isregular() which checks if the cred structure has regular uid/gid (i.e. "person" credentials and not kernel creds)
2007-03-21add routiens which check against ufs semantics for permission topooka
chown, chmod and change a/mtime
2007-03-20implement counterpart of vaccess()pooka
2006-10-23fix a lint warning.christos
2006-10-23pass lint; fix install.christos
2006-10-22add libpuffs - the userspace programming interface for puffspooka
This work was initially started and completed for Google SoC 2005 and tweaked to work a bit better in the past few weeks. While being far from complete, it is functional enough to be able and stable to host a fairly general-purpose in-memory file system in userspace. Even so, puffs should be considered experimental and no binary compatibility for interfaces or crash-freedom or zero security implications should be relied upon just yet. The GSoC project was mentored by William Studenmund and the final review for the code was done by Christos.