christos
f3f1ae73bf
PR/51862: Ngie Cooper: don't leak buf
2017-01-13 21:16:38 +00:00
christos
1b5bdd34e2
PR/51860: Ngie Cooper: don't leak fd
2017-01-13 21:15:57 +00:00
christos
f4c1dfe02d
PR/51857: Ngie Cooper: mark signo __unused for -Wunused
2017-01-13 21:15:14 +00:00
agc
a5445b4eea
also terminate 2 other statements properly
2017-01-13 21:09:12 +00:00
agc
56556fc2dc
terminate the statement properly
2017-01-13 21:00:59 +00:00
christos
35c57c2fc8
PR/51858: Ngie Cooper: don't leak buf
2017-01-13 20:46:15 +00:00
christos
93538aec95
PR/51856: Ngie Cooper: add limits.h for INT_MAX
2017-01-13 20:44:45 +00:00
christos
26e010503c
PR/51847: Ngie Cooper: More error checks, add __unused
2017-01-13 20:44:10 +00:00
christos
666a964a93
PR/51855: Ngie Cooper: fix leaks
2017-01-13 20:43:11 +00:00
christos
86d82e08a1
PR/51853: Ngie Cooper: add limits.h for MAXPATHLEN in FreeBSD
2017-01-13 20:42:36 +00:00
christos
10ef6baaf5
PR/51854: Ngie Cooper: sys/socket.h include and check result from socket(2)
2017-01-13 20:41:50 +00:00
christos
cee075369e
PR/51851: Ngie Cooper: add stdbool.h #include for false/true
2017-01-13 20:31:53 +00:00
christos
faab7dc2ec
PR/51852: Ngie Cooper: mark signo __unused
2017-01-13 20:31:06 +00:00
christos
bf323d9fd1
PR/51849: Ngie Cooper: headers portability fixes
2017-01-13 20:10:57 +00:00
christos
180ffa9edb
PR/51850: Ngie Cooper: add sys/socket.h for socket(2) and don't leak fds
2017-01-13 20:09:48 +00:00
christos
57ddf889e1
PR/51848: Ngie Cooper: tests/lib/libc/sys/t_sigaction: mark variables __unused
...
XXX: h_macros.h needs to be fixed differently.
2017-01-13 20:08:38 +00:00
christos
4cc87d7ee2
PP/51845: Ngie Cooper: need <netinet/in.h> for htonl etc and fix socket leak
2017-01-13 20:06:50 +00:00
christos
26785dc779
PR/51846: Ngie Cooper: closefrom(3) instead of fcntl(3, F_CLOSEM)
...
for portability
2017-01-13 20:04:52 +00:00
christos
af06389089
PR/51844: Ngie Cooper: use root-owned file created during build instead of
...
/usr/bin/fpr
2017-01-13 20:03:51 +00:00
christos
d0d6e976d7
PR/51843: Ngie Cooper: don't leak file descriptor
2017-01-13 19:34:19 +00:00
christos
499ce000b9
PR/51842: Ngie Cooper: don't leak fifo file descriptor
2017-01-13 19:33:03 +00:00
christos
86df5d0a52
PR/51841: Ngie Cooper: portability fixes for FreeBSD
2017-01-13 19:28:55 +00:00
christos
54f5f52408
PR/51840: Ngie Cooper: portability fixes for FreeBSD, etc
2017-01-13 19:27:23 +00:00
christos
5d4836fefb
PR/51839: Ngie Cooper: reset errno to 0 before calling scalbn*
2017-01-13 19:26:03 +00:00
christos
6660f1abd6
PR/51837: Ngie Cooper: add limits.h for INT_MAX
2017-01-13 19:23:40 +00:00
ozaki-r
a0d1dbdc06
Remove a check added wrongly
2017-01-13 08:11:01 +00:00
ozaki-r
6fe17373ab
Add tests for net.inet6.ip6.prefer_tempaddr
2017-01-13 06:30:33 +00:00
ozaki-r
ade7bb4d73
Remove extra checks and cleanup
2017-01-13 06:30:09 +00:00
christos
a1bf1494f3
Bart Simpson's punishment.
2017-01-13 05:18:22 +00:00
christos
f6982a4254
help gcc's numbscullness.
2017-01-13 05:12:44 +00:00
kre
97c5c4a143
Move the #ifndef/#define dance for the (currently) system undefined
...
PTRACE_VFORK* macros out of a function that is not always compiled
(as they are used in other functions that are.) Unbreak the build.
2017-01-13 03:01:09 +00:00
kamil
314c5d1975
Add new tests vforkdone[12] in t_ptrace_wait{,3,4,6,id,pid}
...
vforkdone1:
Verify that vfork(2) is intercepted by ptrace(2) with EVENT_MASK
set to PTRACE_VFORK_DONE
vforkdone2:
Verify that vfork(2) is intercepted by ptrace(2) with EVENT_MASK
set to PTRACE_FORK | PTRACE_VFORK_DONE
As of now PTRACE_VFORK_DONE is undefined in <sys/ptrace.h>.
Sponsored by <The NetBSD Foundation>
2017-01-12 21:35:53 +00:00
christos
af5b14872f
more error checks
2017-01-11 18:15:02 +00:00
christos
2b582fd0b7
fix mismatched paren, also the previous commit should say and check error
...
for -1.
2017-01-11 18:09:40 +00:00
christos
64565cf3c6
PR/51822: Ngie Cooper: add additional t_memmem check
2017-01-11 18:07:37 +00:00
christos
22f9a6b271
PR/51823: Ngie Cooper: Add output diagnostic if memcmp of the md5 string fails
2017-01-11 18:05:54 +00:00
joerg
77fe1f22f1
Remove LLVM atomic hacks for Sparc.
2017-01-11 12:10:26 +00:00
christos
69ee1aa91e
wrap the macro in do/while.
2017-01-11 07:26:17 +00:00
ozaki-r
79ca97d6c8
Cope with tentative state
2017-01-11 07:22:43 +00:00
ozaki-r
285906a96f
Add a test case for IPv6 temporary address
2017-01-11 03:15:44 +00:00
ozaki-r
5722f72db4
Check autoconf flag
2017-01-11 03:15:11 +00:00
christos
25f1087ae3
more tests needing <sys/stat.h>
2017-01-10 22:36:29 +00:00
christos
e56151ab6a
need <sys/stat.h>
2017-01-10 22:24:29 +00:00
christos
84802888eb
need <sys/stat.h>
2017-01-10 22:10:22 +00:00
christos
7c2c9f2e62
add <stdio.h>
2017-01-10 20:35:49 +00:00
maya
674799e3e9
remove duplicate include.
...
(also move so it is alphabetical, hence the weird diff)
2017-01-10 15:43:59 +00:00
christos
0480186ded
PR/51815: Ngie Cooper: don't leak dlopen'ed handle
2017-01-10 15:34:49 +00:00
christos
149b98196c
PR/51813: Ngie Cooper: don't leak fd :ttyname_err
2017-01-10 15:33:40 +00:00
christos
91da771057
PR/51812: Ngie Cooper: According to ToG gettimeofday() needs <sys/time.h>
2017-01-10 15:32:46 +00:00
christos
5ab764b7d2
PR/51811: Ngie Cooper: Fix include file portability.
2017-01-10 15:31:11 +00:00