#
8d1348f5 |
| 15-Feb-2024 |
Ed Maste <emaste@FreeBSD.org> |
path_test: fix cap_rights_init usage
Capability rights passed to cap_rights_* are not simple bitmaks and cannot be ORed together in general (although it will work for certain subsets of rights).
PR
path_test: fix cap_rights_init usage
Capability rights passed to cap_rights_* are not simple bitmaks and cannot be ORed together in general (although it will work for certain subsets of rights).
PR: 277057 Fixes: e5e1d9c7b781 ("path_test: Add a test case for...") Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/14.0.0 |
|
#
4d846d26 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
Revision tags: release/13.2.0 |
|
#
e5e1d9c7 |
| 22-Mar-2023 |
Mark Johnston <markj@FreeBSD.org> |
path_test: Add a test case for openat(O_EMPTY_PATH) in capability mode
MFC after: 1 week
|
Revision tags: release/12.4.0, release/13.1.0 |
|
#
b13ac678 |
| 18-Apr-2022 |
Mark Johnston <markj@FreeBSD.org> |
path_test: Verify that operations on unlinked files work
MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
#
333f6684 |
| 18-Apr-2022 |
Mark Johnston <markj@FreeBSD.org> |
path_test: Correct the kevent test
Perhaps surprisingly, and contrary to the expectations of path_test:path_event, NOTE_LINK events are not raised when a file is unlinked. Prior to commit bf13db086
path_test: Correct the kevent test
Perhaps surprisingly, and contrary to the expectations of path_test:path_event, NOTE_LINK events are not raised when a file is unlinked. Prior to commit bf13db086b84, the test happened to work because unlinking the file would cause the vnode to be recycled, and EVFILT_VNODE knotes deliver an event with EV_EOF set when the vnode is doomed. Since the test did not verify the note type, the test succeeded. After commit bf13db086b84, the vnode is not recycled after being unlinked and so the test hangs.
Fix the test by waiting for NOTE_DELETE instead, and check that we got the note that we expected.
Reported by: Jenkins MFC after: 3 days Sponsored by: The FreeBSD Foundation
show more ...
|
#
8d40ee59 |
| 07-Apr-2022 |
Andrew Turner <andrew@FreeBSD.org> |
Have path_test ask the kernel for the page size
It may be dynamic so we can't rely on PAGE_SIZE being present or correct.
Sponsored by: The FreeBSD Foundation
|
Revision tags: release/12.3.0 |
|
#
2bd98269 |
| 17-Sep-2021 |
Mark Johnston <markj@FreeBSD.org> |
vfs: Permit unix sockets to be opened with O_PATH
As with FIFOs, a path descriptor for a unix socket cannot be used with kevent().
In principle connectat(2) and bindat(2) could be modified to suppo
vfs: Permit unix sockets to be opened with O_PATH
As with FIFOs, a path descriptor for a unix socket cannot be used with kevent().
In principle connectat(2) and bindat(2) could be modified to support an AT_EMPTY_PATH-like mode which operates on the socket referenced by an O_PATH fd referencing a unix socket. That would eliminate the path length limit imposed by sockaddr_un.
Update O_PATH tests.
Reviewed by: kib MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D31970
show more ...
|
#
c4c66153 |
| 08-Sep-2021 |
Mark Johnston <markj@FreeBSD.org> |
path_test: Fix test sorting
MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
#
8b83b656 |
| 08-Sep-2021 |
Mark Johnston <markj@FreeBSD.org> |
path_test: Fix the unix socket test
The intent was to specify O_PATH to open(2).
MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
#
b42df9da |
| 14-Aug-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
Add test for fstatat(pipefd, AT_EMPTY_PATH)
Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
#
b59851e9 |
| 04-May-2021 |
Mark Johnston <markj@FreeBSD.org> |
path_test: Add a few new test cases
MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
#
3a248c84 |
| 15-Apr-2021 |
Mark Johnston <markj@FreeBSD.org> |
Add some regression tests for O_PATH and AT_EMPTY_PATH
Reviewed by: kib MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D29719
|