]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
audit(4): Fix file descriptor leaks in ATF tests
authorasomers <asomers@FreeBSD.org>
Wed, 13 Jun 2018 17:01:57 +0000 (17:01 +0000)
committerasomers <asomers@FreeBSD.org>
Wed, 13 Jun 2018 17:01:57 +0000 (17:01 +0000)
commita18fc3520b25ff0999f0de51d8ece479824d04fb
tree18b8502e36b2e6d1475d17de1f225232579e06b0
parent28723d54b4b00d63a02eb48f990b95bb77c5d4a4
audit(4): Fix file descriptor leaks in ATF tests

Submitted by: aniketp
Reported by: Coverity
CID: 1393343 1393346 1392695 1392781 1391709 1392078 1392413
CID: 1392014 1392521 1393344 1393345 1393347 1393348 1393349
CID: 1393354 1393355 1393356 1393357 1393358 1393360 1393362
CID: 1393368 1393369 1393370 1393371 1393372 1393373 1393376
CID: 1393380 1393384 1393387 1393388 1393389
MFC after: 2 weeks
Sponsored by: Google, Inc (GSoC 2018)
Differential Revision: https://reviews.freebsd.org/D15782
tests/sys/audit/file-attribute-access.c
tests/sys/audit/file-close.c
tests/sys/audit/file-create.c
tests/sys/audit/file-delete.c
tests/sys/audit/file-write.c
tests/sys/audit/open.c
tests/sys/audit/utils.c