The NetBSD Project

CVS log for src/etc/rc.d/perusertmp

[BACK] Up to [cvs.netbsd.org] / src / etc / rc.d

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6.4.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:29:56 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

sync with HEAD

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Tue Dec 4 22:09:02 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.7.4.1: +50 -0 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored)

Implement a new magic string for magic symlinks, @ruid, which exapnds to the
real user id of the process and use this magic string for per-user tmp.
This should fix PR/35687

Kernel parts reviewed by wrstuden@

Revision 1.7.4.1, Tue Dec 4 22:09:01 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.7: +0 -50 lines
FILE REMOVED

file perusertmp was added on branch mjf-devfs on 2007-12-04 22:09:02 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Tue Dec 4 22:09:01 2007 UTC (4 years, 5 months ago) by mjf
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-6-base, netbsd-6, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, 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, netbsd-5, mjf-devfs2-base2, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, HEAD
Branch point for: mjf-devfs
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Implement a new magic string for magic symlinks, @ruid, which exapnds to the
real user id of the process and use this magic string for per-user tmp.
This should fix PR/35687

Kernel parts reviewed by wrstuden@

Revision 1.6 / (download) - annotate - [select for diffs], Thu Feb 15 13:27:35 2007 UTC (5 years, 3 months ago) by tron
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Remove unnessary "if [ X"$foo" ... ]" hack which is not necessary if
you quote things properly which this script does.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 15 08:44:34 2007 UTC (5 years, 3 months ago) by xtraeme
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Add missing quotes in readlink to compare with ${per_user_tmp_dir}/@uid,
to avoid an error about missing operator.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 6 16:54:27 2007 UTC (5 years, 3 months ago) by elad
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Use 0555 for the real tmp dir for now.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 5 01:47:48 2007 UTC (5 years, 3 months ago) by elad
Branch: MAIN
Changes since 1.2: +5 -3 lines
Diff to previous 1.2 (colored)

Only override /tmp if needed. From perry@.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 4 18:28:26 2007 UTC (5 years, 3 months ago) by xtraeme
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Use mkdir -p to create ${per_user_tmp_dir}, otherwise if /private (this is
the default) doesn't exist there won't be any error.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 4 08:19:26 2007 UTC (5 years, 3 months ago) by elad
Branch: MAIN

Add support for per-user /tmp.

Enabled via per_user_tmp in /etc/rc.conf (default off).

See security(8) and rc.conf(5) for more details.

Lots of input from thorpej@ & christos@, thanks!

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>