Up to [cvs.NetBSD.org] / src / lib / libutil
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.30 / (download) - annotate - [select for diffs], Sat Apr 7 16:16:34 2012 UTC (13 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.29: +11 -11
lines
Diff to previous 1.29 (colored)
- pass correct types. - use sizeof(var) instead of sizeof(type)
Revision 1.29 / (download) - annotate - [select for diffs], Tue Dec 4 22:09:02 2007 UTC (5 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-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
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,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
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-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-base,
mjf-devfs2,
matt-premerge-20091211,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
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,
christos-time_t-base,
christos-time_t,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.28: +69 -10
lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Sat Oct 6 21:51:22 2007 UTC (5 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.27: +17 -9
lines
Diff to previous 1.27 (colored)
split LOGIN_SETGROUP -> LOGIN_SETGID|LOGIN_SETGROUPS
Revision 1.27 / (download) - annotate - [select for diffs], Sun Feb 4 08:19:26 2007 UTC (6 years, 3 months ago) by elad
Branch: MAIN
CVS Tags: matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.26: +31 -2
lines
Diff to previous 1.26 (colored)
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!
Revision 1.26 / (download) - annotate - [select for diffs], Wed Dec 20 16:47:13 2006 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.25: +3 -3
lines
Diff to previous 1.25 (colored)
From Anon Ymous: - add __unused - remove __GNUC__ hack
Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 15 19:33:03 2006 UTC (6 years, 7 months 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.24: +8 -7
lines
Diff to previous 1.24 (colored)
- Instead of wondering if to syslog an error, do so, but in the called function. - use snprintf instead of sprintf.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Oct 14 18:53:11 2006 UTC (6 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.23: +19 -21
lines
Diff to previous 1.23 (colored)
Allow escaping of the separators using a double backslash
Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 20 21:32:20 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.22: +17 -11
lines
Diff to previous 1.22 (colored)
make setuserenv and setuserpath take an environment setting function and an environment pointer and expose them. bump version.
Revision 1.22 / (download) - annotate - [select for diffs], Sat Aug 27 17:24:42 2005 UTC (7 years, 8 months ago) by elad
Branch: MAIN
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored)
Lint warnings.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 13 20:32:42 2005 UTC (8 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.20: +3 -6
lines
Diff to previous 1.20 (colored)
Allow for a login.conf file without an explicite "default" class definition. The login.conf(5) manpage states that the "default" class is used *if it exists*.
Revision 1.20 / (download) - annotate - [select for diffs], Mon Dec 20 18:42:03 2004 UTC (8 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Changes since 1.19: +4 -3
lines
Diff to previous 1.19 (colored)
Unbreak setuserpath(); from Nick Hudson.
Revision 1.19 / (download) - annotate - [select for diffs], Sat Dec 11 06:40:42 2004 UTC (8 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.18: +27 -26
lines
Diff to previous 1.18 (colored)
Constify; the api was completely broken before.
Revision 1.18 / (download) - annotate - [select for diffs], Sun May 9 23:28:11 2004 UTC (9 years ago) by lukem
Branch: MAIN
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored)
sbsize should be parsed as R_CSIZE so that suffixes work correctly. Fix from Christian Biere in PR [lib/25504]. (XXX: the R_CSIZE parsing should be changed to using strsuftollx(3))
Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 23 15:23:26 2004 UTC (9 years ago) by christos
Branch: MAIN
Changes since 1.16: +3 -3
lines
Diff to previous 1.16 (colored)
sprinkle const
Revision 1.16 / (download) - annotate - [select for diffs], Sun Apr 18 18:21:43 2004 UTC (9 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.15: +3 -2
lines
Diff to previous 1.15 (colored)
Add sbsize login capability.
Revision 1.15 / (download) - annotate - [select for diffs], Sat Oct 25 07:31:27 2003 UTC (9 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Changes since 1.14: +3 -3
lines
Diff to previous 1.14 (colored)
delint pointer casts.
Revision 1.14 / (download) - annotate - [select for diffs], Tue Oct 21 00:55:05 2003 UTC (9 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (colored)
Don't use NULL to compare against an int.
Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 8 20:54:48 2003 UTC (9 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.12: +6 -6
lines
Diff to previous 1.12 (colored)
initialize 'res' to NULL
Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 8 16:19:40 2003 UTC (9 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.11: +32 -2
lines
Diff to previous 1.11 (colored)
plug possible memory leak. from openbsd
Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 22 13:34:01 2001 UTC (11 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
fvdl_fs64_base
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
seperate -> separate
Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 3 15:41:19 2001 UTC (12 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.9: +33 -2
lines
Diff to previous 1.9 (colored)
sprinkle in _DIAGASSERT() as appropriate
Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 12 00:28:33 2000 UTC (12 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.8: +17 -7
lines
Diff to previous 1.8 (colored)
/etc/login.conf is optional, so don't return NULL even if there's none found. addresses part of PR 11150. sync with openbsd.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 12 00:19:57 2000 UTC (12 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.7: +9 -10
lines
Diff to previous 1.7 (colored)
cosmetic; indentation
Revision 1.7 / (download) - annotate - [select for diffs], Thu Sep 21 10:15:32 2000 UTC (12 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.6: +18 -17
lines
Diff to previous 1.6 (colored)
- Pull in <util.h> to get secure_path() declared. - Resolve preprocessor symbol clash.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 5 11:46:41 2000 UTC (12 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.5: +33 -74
lines
Diff to previous 1.5 (colored)
- __RCSID() police. - ANSIfy. - Miscellaneous style changes. - Shutup lint(1) in one or two cases.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 10 20:52:54 2000 UTC (13 years, 3 months ago) by mjl
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.4: +25 -4
lines
Diff to previous 1.4 (colored)
Add a missing free() of a temporary buffer. Add "unlimited" as synonym for "inf" and "infinity" for the benefit of FreeBSD users. Factor out the comparison w/ "infinity" in a isinfinite() function.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Feb 4 02:17:16 2000 UTC (13 years, 3 months ago) by mjl
Branch: MAIN
Changes since 1.3: +67 -1
lines
Diff to previous 1.3 (colored)
Add login_getpwclass to libutil as convenience function for programs originally for FreeBSD. Add parsing of "setenv" parameter which can be used to set up an initial environment on login.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 14 02:14:42 2000 UTC (13 years, 4 months ago) by mjl
Branch: MAIN
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
Make setusercontext() resilient against missing login.conf too.
Revision 1.2 / (download) - annotate - [select for diffs], Thu Jan 13 06:48:14 2000 UTC (13 years, 4 months ago) by mjl
Branch: MAIN
Changes since 1.1: +6 -6
lines
Diff to previous 1.1 (colored)
Make login_cap routines resilient to non-existant conf file, and secure_path() less noisy.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 12 05:02:10 2000 UTC (13 years, 4 months ago) by mjl
Branch: MAIN
Add necessary support routines for login.conf.