The NetBSD Project

CVS log for src/lib/libpuffs/creds.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libpuffs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15.8.1 / (download) - annotate - [select for diffs], Mon Nov 3 19:18:09 2014 UTC (5 years, 1 month ago) by msaitoh
Branch: netbsd-6
Changes since 1.15: +7 -6 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Pull up following revision(s) (requested by manu in ticket #1140):
	lib/libperfuse/ops.c				1.63-1.69
	lib/libperfuse/perfuse.c			1.32-1.33
	lib/libperfuse/perfuse_priv.h			1.32-1.34
	lib/libperfuse/subr.c				1.20
	lib/libpuffs/creds.c				1.16
	lib/libpuffs/dispatcher.c			1.47
	lib/libpuffs/puffs.h				1.125
	lib/libpuffs/puffs_ops.3			1.37-1.38
	lib/libpuffs/requests.c				1.24
	sys/fs/puffs/puffs_msgif.h			1.81
	sys/fs/puffs/puffs_sys.h			1.85
	sys/fs/puffs/puffs_vnops.c			1.183
	usr.sbin/perfused/msg.c				1.22
Bring libpuffs, libperfuse and perfused on par with -current:
- implement  FUSE direct I/O
- remove useless code and warnings
- fix missing GETATTR bugs
- fix exended attribute get and list operations

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:31 2012 UTC (7 years, 7 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.15: +7 -6 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Thu Mar 15 12:49:36 2012 UTC (7 years, 8 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, HEAD
Changes since 1.15: +7 -6 lines
Diff to previous 1.15 (colored)

Use puffs_access() return value in the VA_UTIMES_NULL case.

Revision 1.14.18.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:28:11 2010 UTC (9 years, 7 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync to netbsd-5

Revision 1.14.12.1 / (download) - annotate - [select for diffs], Sat Nov 28 16:01:03 2009 UTC (10 years ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pull up following revision(s) (requested by pooka in ticket #1155):
	lib/libpuffs/creds.c: revision 1.15
In getgroups(), copy only up to the number of supplementary groups
that actually exist.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Nov 20 14:23:54 2009 UTC (10 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored)

In getgroups(), copy only up to the number of supplementary groups
that actually exist.

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:36:44 2008 UTC (11 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.12.4.1: +2 -47 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Sat Dec 8 19:57:02 2007 UTC (12 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, mjf-devfs2, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Branch point for: netbsd-5, matt-nb5-mips64
Changes since 1.13: +2 -47 lines
Diff to previous 1.13 (colored)

Now that "l" is gone both as an argument to operations and from
componentname, remove all vestiges of puffs_cid.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:11:50 2007 UTC (12 years, 1 month ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.12: +39 -17 lines
Diff to previous 1.12 (colored)

sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Thu Oct 18 13:48:04 2007 UTC (12 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.12: +39 -17 lines
Diff to previous 1.12 (colored)

* Change type of boolean functions to, well, boolean instead of int.
* add puffs_cid_isequal() which can be used to test if the two caller
  id's refer to the same process/lwp.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 1 17:22:18 2007 UTC (12 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.11: +26 -2 lines
Diff to previous 1.11 (colored)

Instead of supplying a plain pid, supply an abstract struct puffs_cid *,
which can currently be used to query the pid and lwpid.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 1 15:30:15 2007 UTC (12 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.10: +28 -18 lines
Diff to previous 1.10 (colored)

make puffs_cred an opaque type

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 6 01:55:00 2007 UTC (12 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.9: +2 -5 lines
Diff to previous 1.9 (colored)

Move puffs to a two clause license where it already isn't so.  And
as agc pointed out, even files with the third clause were already
effectively two clause because of a slight bug in the language...

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 22 17:15:34 2007 UTC (12 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

allow kernel creds in addition to superuser creds when checking for access

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 22 16:57:27 2007 UTC (12 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.7: +8 -8 lines
Diff to previous 1.7 (colored)

unify the location of *pcr in puffs_access_*

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 22 15:48:42 2007 UTC (12 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

copy ngroups * sizeof(gid_t) groups instead of just ngroups

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 22 15:32:22 2007 UTC (12 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.5: +22 -9 lines
Diff to previous 1.5 (colored)

* return -1 and set errno instead of returning errno directly
* introduce puffs_cred_isregular() which checks if the cred structure
  has regular uid/gid (i.e. "person" credentials and not kernel creds)

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 21 19:55:55 2007 UTC (12 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.4: +51 -2 lines
Diff to previous 1.4 (colored)

add routiens which check against ufs semantics for permission to
chown, chmod and change a/mtime

Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 20 18:28:08 2007 UTC (12 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.3: +57 -2 lines
Diff to previous 1.3 (colored)

implement counterpart of vaccess()

Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 23 01:23:42 2006 UTC (13 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

fix a lint warning.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 23 00:22:24 2006 UTC (13 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

pass lint; fix install.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 22 22:52:21 2006 UTC (13 years, 1 month ago) by pooka
Branch: MAIN

add libpuffs - the userspace programming interface for puffs

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>