freebsd-skq/tests/sys
ngie 34ee6a7d22 Fix leaks and test for getpagesize() returning == -1
- close file descriptors after use.
- Always munmap memory regions after mmap'ing them.
- Make sure getpagesize() returns a value greater than 0 and use a
  cached value instead of always calling getpagesize(3).

CID: 1331374-1331377, 1331653-1331662
Differential Revision: https://reviews.freebsd.org/D6011
MFC after: 2 weeks
Reported by: Coverity
Reviewed by: cem
Sponsored by: EMC / Isilon Storage Division
2016-04-19 22:25:14 +00:00
..
acl MFH 2016-03-10 21:16:01 +00:00
aio MFH 2016-04-16 02:32:12 +00:00
fifo MFH 2016-03-10 21:16:01 +00:00
file Minor cosmetic cleanup 2016-04-18 07:48:27 +00:00
geom MFH 2016-04-04 23:55:32 +00:00
kern MFH 2016-03-10 21:16:01 +00:00
kqueue MFH 2016-03-10 21:16:01 +00:00
mac MFH 2016-03-10 21:16:01 +00:00
mqueue MFH 2016-03-10 21:16:01 +00:00
netinet MFH 2016-03-10 21:16:01 +00:00
opencrypto MFH 2016-03-10 21:16:01 +00:00
pjdfstest MFH 2016-03-10 21:16:01 +00:00
posixshm MFH 2016-03-10 21:16:01 +00:00
vfs MFH 2016-03-10 21:16:01 +00:00
vm Fix leaks and test for getpagesize() returning == -1 2016-04-19 22:25:14 +00:00
Makefile MFH 2016-02-18 00:37:58 +00:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00