| #
b3e76948
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
40407d39
|
| 02-Feb-2021 |
Alex Richardson <arichardson@FreeBSD.org> |
tests/sys/audit: Skip extattr tests if extattrs are not supported
In the CheriBSD CI, we run the testsuite with /tmp as tmpfs. This causes the extattr audit tests to fail since tmpfs does not (yet)
tests/sys/audit: Skip extattr tests if extattrs are not supported
In the CheriBSD CI, we run the testsuite with /tmp as tmpfs. This causes the extattr audit tests to fail since tmpfs does not (yet) support extattrs. Skip those tests if the target path is on a file system that does not support extended file attributes.
While touching these two files also convert the ATF_REQUIRE_EQ(-1, ...) checks to use ATF_REQURIE_ERRNO().
Reviewed By: asomers Differential Revision: https://reviews.freebsd.org/D28392
show more ...
|
| #
b3e76948
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
40407d39
|
| 02-Feb-2021 |
Alex Richardson <arichardson@FreeBSD.org> |
tests/sys/audit: Skip extattr tests if extattrs are not supported
In the CheriBSD CI, we run the testsuite with /tmp as tmpfs. This causes the extattr audit tests to fail since tmpfs does not (yet)
tests/sys/audit: Skip extattr tests if extattrs are not supported
In the CheriBSD CI, we run the testsuite with /tmp as tmpfs. This causes the extattr audit tests to fail since tmpfs does not (yet) support extattrs. Skip those tests if the target path is on a file system that does not support extended file attributes.
While touching these two files also convert the ATF_REQUIRE_EQ(-1, ...) checks to use ATF_REQURIE_ERRNO().
Reviewed By: asomers Differential Revision: https://reviews.freebsd.org/D28392
show more ...
|
| #
12395dc9
|
| 22-Jul-2018 |
Alan Somers <asomers@FreeBSD.org> |
Fix audit of chflagsat, lgetfh, and setfib
These syscalls were always supposed to have been auditted, but due to oversights never were.
PR: 228374 Reported by: aniketp Reviewed by: aniketp MFC aft
Fix audit of chflagsat, lgetfh, and setfib
These syscalls were always supposed to have been auditted, but due to oversights never were.
PR: 228374 Reported by: aniketp Reviewed by: aniketp MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D16388
show more ...
|
| #
55cd4523
|
| 21-Jul-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add test cases for chflagsat(2), lgetfh(2), setfib(2)
These three syscalls aren't currently audited correctly, so the tests are marked as expected failures.
PR: 228374 Submitted by: anik
audit(4): add test cases for chflagsat(2), lgetfh(2), setfib(2)
These three syscalls aren't currently audited correctly, so the tests are marked as expected failures.
PR: 228374 Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D16379
show more ...
|
| #
5641c23f
|
| 27-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): fix Coverity issues
Fix several incorrect buffer size arguments and a file descriptor leak.
Submitted by: aniketp Reported by: Coverity CID: 1393489 1393501 1393509 1393510 1393514 13935
audit(4): fix Coverity issues
Fix several incorrect buffer size arguments and a file descriptor leak.
Submitted by: aniketp Reported by: Coverity CID: 1393489 1393501 1393509 1393510 1393514 1393515 1393516 CID: 1393517 1393518 1393519 MFC after: 2 weeks X-MFC-With: 335284 X-MFC-With: 335318 X-MFC-With: 335320 Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D16000
show more ...
|
| #
7d951cc2
|
| 17-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for extattr_get_file(2) and friends
This commit includes extattr_{get_file, get_fd, get_link, list_file, list_fd, list_link}. It does not include any syscalls that modify, set,
audit(4): add tests for extattr_get_file(2) and friends
This commit includes extattr_{get_file, get_fd, get_link, list_file, list_fd, list_link}. It does not include any syscalls that modify, set, or delete extended attributes, as those are in a different audit class.
Submitted by: aniketpt MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15859
show more ...
|
| #
2c347e63
|
| 16-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for pathconf(2) and friends
pathconf, lpathconf, and fpathconf are included
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision
audit(4): add tests for pathconf(2) and friends
pathconf, lpathconf, and fpathconf are included
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15842
show more ...
|
| #
28845213
|
| 15-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for access(2), chmod(2), and friends
access(2), eaccess(2), faccessat(2), chmod(2), fchmod(2), lchmod(2), and fchmodat(2).
Submitted by: aniketp MFC after: 2 weeks Sponsored by:
audit(4): add tests for access(2), chmod(2), and friends
access(2), eaccess(2), faccessat(2), chmod(2), fchmod(2), lchmod(2), and fchmodat(2).
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15805 Differential Revision: https://reviews.freebsd.org/D15808
show more ...
|
| #
a56867b8
|
| 14-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for fhopen, fhstat, and fhstatfs
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15798
|
| #
ae19b2ef
|
| 14-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for statfs(2), fstatfs(2), and getfsstat(2)
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D157
audit(4): add tests for statfs(2), fstatfs(2), and getfsstat(2)
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15750
show more ...
|
| #
b13a70d5
|
| 13-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
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 13933
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
show more ...
|
| #
f86d6517
|
| 10-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for stat(2) and friends
This revision adds auditability tests for stat, lstat, fstat, and fstatat, all from the fa audit class. More tests from that audit class will follow.
Su
audit(4): add tests for stat(2) and friends
This revision adds auditability tests for stat, lstat, fstat, and fstatat, all from the fa audit class. More tests from that audit class will follow.
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15709
show more ...
|
| #
12395dc9
|
| 22-Jul-2018 |
Alan Somers <asomers@FreeBSD.org> |
Fix audit of chflagsat, lgetfh, and setfib
These syscalls were always supposed to have been auditted, but due to oversights never were.
PR: 228374 Reported by: aniketp Reviewed by: aniketp MFC aft
Fix audit of chflagsat, lgetfh, and setfib
These syscalls were always supposed to have been auditted, but due to oversights never were.
PR: 228374 Reported by: aniketp Reviewed by: aniketp MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D16388
show more ...
|
| #
55cd4523
|
| 21-Jul-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add test cases for chflagsat(2), lgetfh(2), setfib(2)
These three syscalls aren't currently audited correctly, so the tests are marked as expected failures.
PR: 228374 Submitted by: anik
audit(4): add test cases for chflagsat(2), lgetfh(2), setfib(2)
These three syscalls aren't currently audited correctly, so the tests are marked as expected failures.
PR: 228374 Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D16379
show more ...
|
| #
5641c23f
|
| 27-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): fix Coverity issues
Fix several incorrect buffer size arguments and a file descriptor leak.
Submitted by: aniketp Reported by: Coverity CID: 1393489 1393501 1393509 1393510 1393514 13935
audit(4): fix Coverity issues
Fix several incorrect buffer size arguments and a file descriptor leak.
Submitted by: aniketp Reported by: Coverity CID: 1393489 1393501 1393509 1393510 1393514 1393515 1393516 CID: 1393517 1393518 1393519 MFC after: 2 weeks X-MFC-With: 335284 X-MFC-With: 335318 X-MFC-With: 335320 Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D16000
show more ...
|
| #
7d951cc2
|
| 17-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for extattr_get_file(2) and friends
This commit includes extattr_{get_file, get_fd, get_link, list_file, list_fd, list_link}. It does not include any syscalls that modify, set,
audit(4): add tests for extattr_get_file(2) and friends
This commit includes extattr_{get_file, get_fd, get_link, list_file, list_fd, list_link}. It does not include any syscalls that modify, set, or delete extended attributes, as those are in a different audit class.
Submitted by: aniketpt MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15859
show more ...
|
| #
2c347e63
|
| 16-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for pathconf(2) and friends
pathconf, lpathconf, and fpathconf are included
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision
audit(4): add tests for pathconf(2) and friends
pathconf, lpathconf, and fpathconf are included
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15842
show more ...
|
| #
28845213
|
| 15-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for access(2), chmod(2), and friends
access(2), eaccess(2), faccessat(2), chmod(2), fchmod(2), lchmod(2), and fchmodat(2).
Submitted by: aniketp MFC after: 2 weeks Sponsored by:
audit(4): add tests for access(2), chmod(2), and friends
access(2), eaccess(2), faccessat(2), chmod(2), fchmod(2), lchmod(2), and fchmodat(2).
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15805 Differential Revision: https://reviews.freebsd.org/D15808
show more ...
|
| #
a56867b8
|
| 14-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for fhopen, fhstat, and fhstatfs
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15798
|
| #
ae19b2ef
|
| 14-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for statfs(2), fstatfs(2), and getfsstat(2)
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D157
audit(4): add tests for statfs(2), fstatfs(2), and getfsstat(2)
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15750
show more ...
|
| #
b13a70d5
|
| 13-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
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 13933
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
show more ...
|
| #
f86d6517
|
| 10-Jun-2018 |
Alan Somers <asomers@FreeBSD.org> |
audit(4): add tests for stat(2) and friends
This revision adds auditability tests for stat, lstat, fstat, and fstatat, all from the fa audit class. More tests from that audit class will follow.
Su
audit(4): add tests for stat(2) and friends
This revision adds auditability tests for stat, lstat, fstat, and fstatat, all from the fa audit class. More tests from that audit class will follow.
Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15709
show more ...
|
| #
b3e76948
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|