NetBSD/tests/include/sys
kamil 95a05eda65 Avoid undefined behavior in an ATF test: t_bitops
Do not change the signedness bit with a left shift operation.
Switch to unsigned integer to prevent this.

t_bitops.c:189:9, left shift of 1 by 31 places cannot be represented in type 'int'

Detected with micro-UBSan in the user mode.
2018-07-25 22:00:32 +00:00
..
Makefile Add a new minimalistic test for LIST_MOVE to verify that the list's 2017-10-02 04:15:56 +00:00
t_bitops.c Avoid undefined behavior in an ATF test: t_bitops 2018-07-25 22:00:32 +00:00
t_bootblock.c
t_cdefs.c rework to avoid new GCC 5.3 errors and improve readability 2016-03-16 07:21:36 +00:00
t_list.c Update recently-added test to adapt to new signature of LIST_MOVE() 2017-10-02 05:14:29 +00:00
t_pslist.c Introduce pserialize-safe linked lists. 2016-04-09 04:39:46 +00:00
t_socket.c Don't play with "../.." in includes for h_macros.h; deal with it centrally. 2017-01-13 21:30:39 +00:00
t_tree.c
t_types.c Avoid undefined behavior in an ATF test: t_types 2018-07-25 21:51:32 +00:00