History log of /netbsd-src/lib/libutil/Makefile (Results 1 – 25 of 87)
Revision Date Author Comments
# c4b7a9e7 03-Jun-2023 lukem <lukem@NetBSD.org>

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_IMPL

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.

show more ...


# b2baa501 28-Mar-2023 rillig <rillig@NetBSD.org>

lint: warn about extern declarations outside headers

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


# de11d876 13-Oct-2019 mrg <mrg@NetBSD.org>

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_STRI

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."

show more ...


# bfdd69f6 08-Oct-2019 christos <christos@NetBSD.org>

-Wstringop-truncation is only gcc.


# 573d8656 04-Oct-2019 christos <christos@NetBSD.org>

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.


# deb00514 04-Apr-2018 kre <kre@NetBSD.org>

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

XXX pullup-8


# 9f9499a4 01-Apr-2017 abhinav <abhinav@NetBSD.org>

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

Reviewed by wiz@


# 5d7e9986 29-Dec-2016 christos <christos@NetBSD.org>

Make this portable to other OSs


# 6b9006e8 10-Apr-2016 roy <roy@NetBSD.org>

Implement pidfile_lock, pidfile_read and pidfile_clean.

Discussed on tech-net@, ok core@.


# 80a77333 24-Sep-2015 christos <christos@NetBSD.org>

Add kinfo_getvmmap from FreeBSD


# 2cf5f6af 26-Jul-2015 kamil <kamil@NetBSD.org>

Add ereallocarr(3) to libutil

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

Older version reviewed by <riastradh> and <christos>


# 57b77f77 18-Jan-2015 christos <christos@NetBSD.org>

add estro{i,u} (Kamil Rytarowski)


# d9333799 20-Jun-2013 christos <christos@NetBSD.org>

document login_getpwclass(3)


# b1fc4bee 02-May-2013 matt <matt@NetBSD.org>

Add getbyteorder() call.


# 1e9ca586 07-Apr-2012 christos <christos@NetBSD.org>

- add getdiskrawname.
- exit on error for lint.


# 29484ab2 07-Apr-2012 christos <christos@NetBSD.org>

add getfsspecname


# fa835e8c 21-Mar-2012 matt <matt@NetBSD.org>

These directories default to WARNS?=5


# 89cf2535 07-Jan-2012 christos <christos@NetBSD.org>

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


# da80e3ab 13-Nov-2011 christos <christos@NetBSD.org>

add manual page


# b51eeccc 21-Oct-2011 christos <christos@NetBSD.org>

Add proc_compare


# c9db7e91 21-Oct-2011 christos <christos@NetBSD.org>

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


# a47e2eb7 30-Aug-2011 bouyer <bouyer@NetBSD.org>

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 pla

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.

show more ...


# 1d9550a5 29-Aug-2011 jruoho <jruoho@NetBSD.org>

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


# e7295d23 28-Aug-2011 christos <christos@NetBSD.org>

add strpct, requested by joerg


# 70337075 27-Jan-2010 drochner <drochner@NetBSD.org>

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


1234