History log of /src/lib/libc/tests/string/wcsnlen_test.c (Results 1 – 12 of 12)
Revision Date Author Comments
# 559a218c 01-Nov-2023 Warner Losh <imp@FreeBSD.org>

libc: Purge unneeded cdefs.h

These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Kee

libc: Purge unneeded cdefs.h

These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Keep those.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D42385

show more ...


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 748f7c8d 07-Apr-2022 Andrew Turner <andrew@FreeBSD.org>

Have stpncpy tests ask the kernel for the page size

It may be dynamic so we can't rely on PAGE_SIZE being present or
correct.


# a63915c2 28-Jul-2019 Alan Somers <asomers@FreeBSD.org>

MFHead @r350386

Sponsored by: The FreeBSD Foundation


# cba2a593 19-Jul-2019 Brooks Davis <brooks@FreeBSD.org>

Avoid copying too much from the input string.

This avoids reading past the end of the static strings. On a system
with bounds checking these tests fault.

Reviewed by: asomers
Obtained from: CheriB

Avoid copying too much from the input string.

This avoids reading past the end of the static strings. On a system
with bounds checking these tests fault.

Reviewed by: asomers
Obtained from: CheriBSD
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D21004

show more ...


# 559a218c 01-Nov-2023 Warner Losh <imp@FreeBSD.org>

libc: Purge unneeded cdefs.h

These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Kee

libc: Purge unneeded cdefs.h

These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Keep those.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D42385

show more ...


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 748f7c8d 07-Apr-2022 Andrew Turner <andrew@FreeBSD.org>

Have stpncpy tests ask the kernel for the page size

It may be dynamic so we can't rely on PAGE_SIZE being present or
correct.


# a63915c2 28-Jul-2019 Alan Somers <asomers@FreeBSD.org>

MFHead @r350386

Sponsored by: The FreeBSD Foundation


# cba2a593 19-Jul-2019 Brooks Davis <brooks@FreeBSD.org>

Avoid copying too much from the input string.

This avoids reading past the end of the static strings. On a system
with bounds checking these tests fault.

Reviewed by: asomers
Obtained from: CheriB

Avoid copying too much from the input string.

This avoids reading past the end of the static strings. On a system
with bounds checking these tests fault.

Reviewed by: asomers
Obtained from: CheriBSD
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D21004

show more ...


# 347267dc 08-Nov-2015 Enji Cooper <ngie@FreeBSD.org>

Integrate tools/regression/lib/libc/string into the FreeBSD test suite
as lib/libc/tests/string

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# f04a5a6c 28-Feb-2009 David Schultz <das@FreeBSD.org>

Tests for wcscasecmp(), wcsnlen(), and stpncpy().