The NetBSD Project

CVS log for src/lib/libutil/Makefile

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.87 / (download) - annotate - [select for diffs], Sat Jun 3 09:09:11 2023 UTC (10 months, 2 weeks ago) by lukem
Branch: MAIN
CVS Tags: HEAD
Changes since 1.86: +3 -3 lines
Diff to previous 1.86 (colored) to selected 1.49 (colored)

bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Mar 28 14:44:34 2023 UTC (12 months, 2 weeks ago) by rillig
Branch: MAIN
Changes since 1.85: +2 -1 lines
Diff to previous 1.85 (colored) to selected 1.49 (colored)

lint: warn about extern declarations outside headers

https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html

Revision 1.85 / (download) - annotate - [select for diffs], Sun Oct 13 07:28:11 2019 UTC (4 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.84: +3 -5 lines
Diff to previous 1.84 (colored) to selected 1.49 (colored)

introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE   -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."

Revision 1.84 / (download) - annotate - [select for diffs], Tue Oct 8 18:50:34 2019 UTC (4 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) to selected 1.49 (colored)

-Wstringop-truncation is only gcc.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Oct 4 00:03:56 2019 UTC (4 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.82: +6 -1 lines
Diff to previous 1.82 (colored) to selected 1.49 (colored)

Ignore strncpy(foo, bar, sizeof(foo)) for the wtmp fields where we don't
want NUL termination. We can't use pragma's because the old gcc complains
about the new warnings it does not understand.

Revision 1.82 / (download) - annotate - [select for diffs], Wed Apr 4 04:43:46 2018 UTC (6 years ago) by kre
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, 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, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Branch point for: phil-wifi
Changes since 1.81: +2 -1 lines
Diff to previous 1.81 (colored) to selected 1.49 (colored)


Document opendisk1() - it has been around long enough.
(pity about the name...)

XXX pullup-8

Revision 1.81 / (download) - annotate - [select for diffs], Sat Apr 1 14:31:05 2017 UTC (7 years ago) by abhinav
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: pgoyette-compat
Changes since 1.80: +4 -1 lines
Diff to previous 1.80 (colored) to selected 1.49 (colored)

Add man page links for:
   EV_SET to kqueue(2)
   getmntoptstr, getmntoptnum, freemntopts to getmntopts(3)

Reviewed by wiz@

Revision 1.80 / (download) - annotate - [select for diffs], Thu Dec 29 18:30:55 2016 UTC (7 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.79: +5 -1 lines
Diff to previous 1.79 (colored) to selected 1.49 (colored)

Make this portable to other OSs

Revision 1.79 / (download) - annotate - [select for diffs], Sun Apr 10 19:05:50 2016 UTC (8 years ago) by roy
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.78: +4 -1 lines
Diff to previous 1.78 (colored) to selected 1.49 (colored)

Implement pidfile_lock, pidfile_read and pidfile_clean.

Discussed on tech-net@, ok core@.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Sep 24 14:39:20 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored) to selected 1.49 (colored)

Add kinfo_getvmmap from FreeBSD

Revision 1.77 / (download) - annotate - [select for diffs], Sun Jul 26 02:20:30 2015 UTC (8 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.76: +2 -1 lines
Diff to previous 1.76 (colored) to selected 1.49 (colored)

Add ereallocarr(3) to libutil

ereallocarr(3) wraps reallocarr(3) and embeds return status validation.

Older version reviewed by <riastradh> and <christos>

Revision 1.76 / (download) - annotate - [select for diffs], Sun Jan 18 18:09:36 2015 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.75: +3 -1 lines
Diff to previous 1.75 (colored) to selected 1.49 (colored)

add estro{i,u} (Kamil Rytarowski)

Revision 1.75 / (download) - annotate - [select for diffs], Thu Jun 20 20:42:30 2013 UTC (10 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, 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, 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
Changes since 1.74: +2 -1 lines
Diff to previous 1.74 (colored) to selected 1.49 (colored)

document login_getpwclass(3)

Revision 1.74 / (download) - annotate - [select for diffs], Thu May 2 07:17:09 2013 UTC (10 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.73: +5 -3 lines
Diff to previous 1.73 (colored) to selected 1.49 (colored)

Add getbyteorder() call.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Apr 7 16:44:39 2012 UTC (12 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.72: +5 -3 lines
Diff to previous 1.72 (colored) to selected 1.49 (colored)

- add getdiskrawname.
- exit on error for lint.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Apr 7 04:04:45 2012 UTC (12 years ago) by christos
Branch: MAIN
Changes since 1.71: +3 -2 lines
Diff to previous 1.71 (colored) to selected 1.49 (colored)

add getfsspecname

Revision 1.71 / (download) - annotate - [select for diffs], Wed Mar 21 05:37:44 2012 UTC (12 years ago) by matt
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored) to selected 1.49 (colored)

These directories default to WARNS?=5

Revision 1.70 / (download) - annotate - [select for diffs], Sat Jan 7 18:40:55 2012 UTC (12 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 (colored) to selected 1.49 (colored)

- add strspct
- be explicit about string not being NUL terminated if bufsiz == 0

Revision 1.69 / (download) - annotate - [select for diffs], Sun Nov 13 22:03:34 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.68: +3 -4 lines
Diff to previous 1.68 (colored) to selected 1.49 (colored)

add manual page

Revision 1.68 / (download) - annotate - [select for diffs], Fri Oct 21 02:05:36 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored) to selected 1.49 (colored)

Add proc_compare

Revision 1.67 / (download) - annotate - [select for diffs], Fri Oct 21 01:37:59 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored) to selected 1.49 (colored)

Don't use = to assing SRCS, but += so that we can remove snprintb.c,
which was added elsewhere.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Aug 30 12:39:52 2011 UTC (12 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.65: +2 -1 lines
Diff to previous 1.65 (colored) to selected 1.49 (colored)

Add getlabelusesmbr(), as proposed in
http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html
This is used by disk tools such as disklabel(8) to dynamically decide is
the undelyling platform uses a disklabel-in-mbr-partition or not
(instead of using a compile-time list of ports).
getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the
machdep #define LABELUSESMBR.
For evbmips, make LABELUSESMBR 1 if the platform uses pmon
as bootloader, and 0 (the previous value) otherwise.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Aug 29 12:37:53 2011 UTC (12 years, 7 months ago) by jruoho
Branch: MAIN
Changes since 1.64: +2 -1 lines
Diff to previous 1.64 (colored) to selected 1.49 (colored)

Build libutil(3) as a link to util(3).

Revision 1.64 / (download) - annotate - [select for diffs], Sun Aug 28 07:45:13 2011 UTC (12 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored) to selected 1.49 (colored)

add strpct, requested by joerg

Revision 1.63 / (download) - annotate - [select for diffs], Wed Jan 27 19:10:31 2010 UTC (14 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) to selected 1.49 (colored)

retire pw_policy(3) -- it is not found useful, there are other
(more common) ways to enforce a password strength policy
approved by elad

Revision 1.62 / (download) - annotate - [select for diffs], Sat Jun 20 14:28:29 2009 UTC (14 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored) to selected 1.49 (colored)

add a link to pw_copyx; from anon ymous

Revision 1.61 / (download) - annotate - [select for diffs], Wed May 13 02:50:32 2009 UTC (14 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored) to selected 1.49 (colored)

Implement snprintb_m(3) to provide multi-line bit/bit-field decode.
Discussed on tech-kern.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Jan 18 12:13:32 2009 UTC (15 years, 3 months ago) by lukem
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.49 (colored)

WARNS=4

Revision 1.59 / (download) - annotate - [select for diffs], Sun Jan 11 02:57:17 2009 UTC (15 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.58: +5 -2 lines
Diff to previous 1.58 (colored) to selected 1.49 (colored)

merge christos-time_t

Revision 1.58 / (download) - annotate - [select for diffs], Fri Dec 26 00:49:28 2008 UTC (15 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: christos-time_t-base
Branch point for: christos-time_t
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored) to selected 1.49 (colored)

document pw_getpwconf.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Dec 16 22:34:40 2008 UTC (15 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.56: +3 -1 lines
Diff to previous 1.56 (colored) to selected 1.49 (colored)

move snprintb to common

Revision 1.56 / (download) - annotate - [select for diffs], Tue Sep 25 01:13:56 2007 UTC (16 years, 6 months ago) by lukem
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-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, 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-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-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Changes since 1.55: +3 -1 lines
Diff to previous 1.55 (colored) to selected 1.49 (colored)

Add raise_default_signal(3) -- raise the default signal handler.
Can be used by applications that have their own SIGINT (et al)
handlers and want to exit in a manner that correctly
signals to the parent that the process was terminated by a signal.
See http://www.cons.org/cracauer/sigint.html for more info.
Discussed on tech-userlevel@.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Jul 1 21:41:16 2007 UTC (16 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored) to selected 1.49 (colored)

add estrndup()

Revision 1.54 / (download) - annotate - [select for diffs], Thu Dec 14 19:18:01 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.53: +6 -3 lines
Diff to previous 1.53 (colored) to selected 1.49 (colored)

moved string_to_flags and flags_to_string from ls to libutil.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Nov 20 20:33:02 2006 UTC (17 years, 4 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.52: +5 -5 lines
Diff to previous 1.52 (colored) to selected 1.49 (colored)

rename getdate to parsedate to avoid conflict with posix function

Revision 1.52 / (download) - annotate - [select for diffs], Fri Nov 17 22:10:23 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) to selected 1.49 (colored)

add getdate.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Oct 20 17:40:39 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.50: +2 -1 lines
Diff to previous 1.50 (colored) to selected 1.49 (colored)

include ecalloc() from our anonymous user.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Aug 26 18:11:12 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.49: +12 -3 lines
Diff to previous 1.49 (colored)

Add efun(3)

Revision 1.49 / (download) - annotate - [selected], Wed Sep 14 18:45:40 2005 UTC (18 years, 7 months ago) by elad
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Add pw_policy.3.
From Hisashi T Fujinaka, thanks!

Revision 1.48 / (download) - annotate - [select for diffs], Wed Sep 14 11:36:52 2005 UTC (18 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) to selected 1.49 (colored)

Introduce pw_policy(3), an easily extendable way of defining password
policies and enforcing them in programs.

Man-page written with much help and tips from David Maxwell, Hubert
Feyrer, and Thomas Klausner.

This bumps libutil minor to 7.

XXX: Need default policy to go in /etc/passwd.conf, and integration
     into local/yp/PAM password changing code.

PR/10206.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Dec 11 06:41:15 2004 UTC (19 years, 4 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.46: +2 -1 lines
Diff to previous 1.46 (colored) to selected 1.49 (colored)

WARNS=3; fix cast-qual issues.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Nov 20 03:06:09 2004 UTC (19 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.45: +3 -2 lines
Diff to previous 1.45 (colored) to selected 1.49 (colored)

Add a manual page.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Nov 19 21:37:19 2004 UTC (19 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.49 (colored)

Add sockaddr_snprintf; XXX: Needs a man page.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Nov 11 20:36:28 2004 UTC (19 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored) to selected 1.49 (colored)

Add if_media.c, functions for converting media to/from strings.
(from ifconfig.c)

Revision 1.43 / (download) - annotate - [select for diffs], Sat Mar 22 12:44:04 2003 UTC (21 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-2-base, 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
Branch point for: netbsd-2
Changes since 1.42: +6 -3 lines
Diff to previous 1.42 (colored) to selected 1.49 (colored)

move getmntopts(3) to libutil, build and install also it's manpage
bump libutil minor
adjust individual mount_*/Makefile to use libutil getmntopts(3)

Revision 1.42 / (download) - annotate - [select for diffs], Thu Dec 12 09:45:33 2002 UTC (21 years, 4 months ago) by scw
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.41: +4 -3 lines
Diff to previous 1.41 (colored) to selected 1.49 (colored)

Add getlabelsector() and getlabeloffset() as wrappers around the
KERN_LABELSECTOR and KERN_LABELOFFSET sysctls.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 30 03:04:46 2002 UTC (21 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.49 (colored)

- Migrate fparseln(3) from libutil to libc, where it should have been in
  the first place...
- Bump libutil major (to 7.0) and libc minor (to 12.91).

Revision 1.40 / (download) - annotate - [select for diffs], Sat Oct 12 20:53:15 2002 UTC (21 years, 6 months ago) by elric
Branch: MAIN
Changes since 1.39: +3 -1 lines
Diff to previous 1.39 (colored) to selected 1.49 (colored)

Added two functions disklabel_dkcksum() and disklabel_scan() to libutil
so that they can be shared by disklabel(8) and cgdconfig(8).

Revision 1.39 / (download) - annotate - [select for diffs], Fri Sep 27 20:42:46 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored) to selected 1.49 (colored)

put utmpx/wtmpx routines to separate files, so that programs overriding the
utmp/wtmp routines could still be linked static
fixes e.g. static build of ftpd

Revision 1.38 / (download) - annotate - [select for diffs], Fri Sep 27 15:02:26 2002 UTC (21 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.37: +4 -2 lines
Diff to previous 1.37 (colored) to selected 1.49 (colored)

Add documentation for utmpx and some related functions.
Thanks for some explanations to christos, and for some STANDARDS hints
to Klaus Klein.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Sep 20 21:10:10 2002 UTC (21 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.49 (colored)

Add snprintb(3) inspired from bitmask_snprintf(9), but made to look like
more like snprintf(3). Discussed with thorpej.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Aug 22 17:24:10 2002 UTC (21 years, 7 months ago) by abs
Branch: MAIN
Changes since 1.35: +7 -7 lines
Diff to previous 1.35 (colored) to selected 1.49 (colored)

Move humanize_number(3) from libutil to libc as per discussion on tech-misc
Revert minor number bump on libutil (with note to skip it next update), and
bump libc.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Aug 19 14:55:18 2002 UTC (21 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored) to selected 1.49 (colored)

Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of the
Makefile (before including <bsd.own.mk>)

Revision 1.34 / (download) - annotate - [select for diffs], Mon Aug 19 09:41:34 2002 UTC (21 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (colored) to selected 1.49 (colored)

Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
(Reduces make output by ~ 20%)

Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 8 16:50:38 2002 UTC (21 years, 8 months ago) by abs
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) to selected 1.49 (colored)

Add humanize_number.3 from Tomas Svensson in PR lib/15508.
	Bump version of libutil

Revision 1.32 / (download) - annotate - [select for diffs], Fri Dec 28 01:32:40 2001 UTC (22 years, 3 months ago) by lukem
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-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored) to selected 1.49 (colored)

* Add user-controlled mk.conf variables
	- SHLIBDIR	Location to install shared libraries if ${USE_SHLIBDIR}
			is "yes".  Defaults to "/usr/lib".

	- USE_SHLIBDIR	If "yes", install shared libraries in ${SHLIBDIR}
			instead of ${LIBDIR}.  Defaults to "no".
			Sets ${_LIBSODIR} to the appropriate value.
			This may be set by individual Makefiles as well.

	- SHLINKDIR	Location of shared linker.  Defaults to "/usr/libexec".
			If != "/usr/libexec", change the dynamic-linker
			encoded in shared programs

* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
	libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
	libtermcap libutil libz

* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
  to ${_LIBSODIR}/${LIB}.so* for compatibility.

* Always install /sbin/init statically (for now)


The net effect of these changes depends on how the variables are set:

  1.)	If nothing is set or changed, there is no change from the
	current behaviour:
		- Static /bin, /sbin, and bits of /usr/*
		- Dynamic rest
		- Shared linker is /usr/libexec/ld*so

  2.)	If the following make variables are set:
		LDSTATIC=
		SHLINKDIR=/lib
		SHLIBDIR=/lib
	Then the behaviour becomes:
		- Dynamic tools
		- .so libraries used by /bin and /sbin are installed to /lib,
		  with symlinks from /usr/lib/lib*so to -> /lib/lib*so
		  where appropriate
		- Shared linker is /lib/ld*so

  3.)	As per 2.), but add the following variable:
		USE_SHLIBDIR=yes
	This forces all .so's to be instaleld in /lib (with compat
	symlinks), not just those tagged by their Makefiles to be.
	Again, compat symlinks are installed

Revision 1.31 / (download) - annotate - [select for diffs], Fri Nov 23 06:20:37 2001 UTC (22 years, 4 months ago) by gmcgarry
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.49 (colored)

Add a catch-all man page for libutil.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Aug 20 14:47:49 2001 UTC (22 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.49 (colored)

Rename secure_path(3) source file from securepath.c to secure_path.c.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Apr 6 14:31:14 2001 UTC (23 years ago) by wiz
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) to selected 1.49 (colored)

Add getbootfile(3) to libutil, and a man page.
Bump libutil version to 5.5.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Dec 6 13:37:53 2000 UTC (23 years, 4 months ago) by tron
Branch: MAIN
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored) to selected 1.49 (colored)

Add two new passwd file update functions:
- The pw_setprefix() function defines the root directory used for passwd
  file updates. If the prefix is set to /newroot pw_lock() will operate on
  /newroot/etc/ptmp afterwards. The default prefix is an empty string.
- The pw_getprefix() function returns the root directory which is currently
  used for passwd file updates.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jul 7 11:05:06 2000 UTC (23 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.49 (colored)

rename securepath.3 into secure_path.3, as the function is named secure_path().
it is too hard to guess...

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 6 11:08:19 2000 UTC (23 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.49 (colored)

Documentation for pw_getconf(). From OpenBSD.

Revision 1.25 / (download) - annotate - [select for diffs], Fri May 12 18:31:55 2000 UTC (23 years, 11 months ago) by mjl
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.24: +10 -10 lines
Diff to previous 1.24 (colored) to selected 1.49 (colored)

Correct typos which prevent man pages from being installed.
Fixes PR/10104 by Greg Woods.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 12 05:02:10 2000 UTC (24 years, 3 months ago) by mjl
Branch: MAIN
Changes since 1.23: +17 -5 lines
Diff to previous 1.23 (colored) to selected 1.49 (colored)

Add necessary support routines for login.conf.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jul 2 15:49:12 1999 UTC (24 years, 9 months ago) by simonb
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.49 (colored)

More trailing white space.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jun 6 01:50:00 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) to selected 1.49 (colored)

Add pidfile(3), which write a pid file in /var/run, and arranges for it
to be removed on normal exit.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jan 15 13:31:22 1999 UTC (25 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.20: +3 -6 lines
Diff to previous 1.20 (colored) to selected 1.49 (colored)

Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Oct 14 21:13:05 1998 UTC (25 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.49 (colored)

Kill __LIBUTIL_BUILD in favor of the newly added _LIBC indicator completely;
suggested by Jason Thorpe.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jun 27 05:08:56 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +6 -4 lines
Diff to previous 1.18 (colored) to selected 1.49 (colored)

Put pw_scan() back into libutil and pretent that libutil.so.5.0 never
existed.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Mar 18 16:40:45 1998 UTC (26 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.17: +6 -3 lines
Diff to previous 1.17 (colored) to selected 1.49 (colored)

Add bswap{16,32,64} functions to libutil. Because of this, bump minor.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Nov 16 22:15:54 1997 UTC (26 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.16: +6 -5 lines
Diff to previous 1.16 (colored) to selected 1.49 (colored)

PR/4475: Jason R. Thorpe: there is no common function to parse a continued
line.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 23 03:29:09 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.49 (colored)

use CPPFLAGS instead of CFLAGS, remove -Wall et al (WARNS=1 already does this)

Revision 1.15 / (download) - annotate - [select for diffs], Sat Oct 11 02:56:22 1997 UTC (26 years, 6 months ago) by cjs
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored) to selected 1.49 (colored)

Add pidlock, ttylock, ttyunlock functions.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 9 14:36:26 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored) to selected 1.49 (colored)

- define WARNS?=1 in the top-level Makefile.inc, and don't define
  anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
  cleaned up
- rcsid police

lib is now clean (except for librpcsvc and libwrap) on the i386, and
this should motivate the other ports to fix any other minor problems
that their compilers pick up that the i386 version doesn't.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Oct 9 12:02:42 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored) to selected 1.49 (colored)

WARNSify

Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 25 04:53:30 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored) to selected 1.49 (colored)

implement opendisk(3), as discussed with Jason Thorpe

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 29 18:45:24 1997 UTC (26 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.49 (colored)

Add ttymsg.3 to the man pages.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 29 18:44:03 1997 UTC (26 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.49 (colored)

- RCSID police
- Add ttymsg.3

Revision 1.9 / (download) - annotate - [select for diffs], Thu Nov 14 17:53:07 1996 UTC (27 years, 5 months ago) by gwr
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.49 (colored)

Add ttyaction.3 and ttyaction.c

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 16 07:03:28 1996 UTC (27 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.7: +5 -3 lines
Diff to previous 1.7 (colored) to selected 1.49 (colored)

Add two functions to libutil:

	- getmaxpartitions: get the value of MAXPARTITIONS for the
	  currently running system

	- getrawpartition: get the value of RAW_PART for the
	  currently running system

These functions are necessary since the value of MAXPARTITIONS might
be different across platforms which are binary compatible (e.g. amiga
and sun3).

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 15 21:42:23 1996 UTC (27 years, 11 months ago) by jtc
Branch: MAIN
Changes since 1.6: +17 -3 lines
Diff to previous 1.6 (colored) to selected 1.49 (colored)

Minor reorganization of libutil, including the addition of passward
locking and editing functions.
From Greg Hudson <ghudson@MIT.EDU>

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 4 10:55:57 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1, netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.49 (colored)

minor cleanup; kill unnecessary casts

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jan 27 23:31:19 1994 UTC (30 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.4: +2 -6 lines
Diff to previous 1.4 (colored) to selected 1.49 (colored)

get rid of stuff that doesn't belong here

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 6 17:03:54 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored) to selected 1.49 (colored)

Add getbsize() from Berkeley, somewhat modified.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 1 05:39:50 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored) to selected 1.49 (colored)

Add RCS identifiers.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jun 17 13:11:39 1993 UTC (30 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored) to selected 1.49 (colored)

Don't need -I/sys any more.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Diff to selected 1.49 (colored)

Initial revision

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>