Skip to content

Commit

Permalink
readahead01: pass on pidfd
Browse files Browse the repository at this point in the history
Linux kernel added pidfs via commit b5683a37c881 in v6.9-rc1
release. This patchset ignores readahead request instead of
returning EINVAL, so mark the test pass.

https://lkml.iu.edu/hypermail/linux/kernel/2403.2/00762.html

Signed-off-by: Murphy Zhou <[email protected]>
Reviewed-by: Cyril Hrubis <[email protected]>
  • Loading branch information
Murphy Zhou authored and metan-ucw committed May 15, 2024
1 parent 76c8c04 commit b1e97fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testcases/kernel/syscalls/readahead/readahead01.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ static void test_invalid_fd(struct tst_fd *fd)
case TST_FD_MEMFD:
case TST_FD_MEMFD_SECRET:
case TST_FD_PROC_MAPS:
case TST_FD_PIDFD:
return;
default:
break;
Expand Down

0 comments on commit b1e97fd

Please sign in to comment.