syscalls/fcntl35.c: add new regression test
PATCH 1/1 syscalls/fcntl35.c: add new regression test
We add a regression test to check that pipe-max-size caps the initial allocation for a new pipe for unprivileged users, but not for privileged users.
This kernel bug has been fixed by:
'086e774a57fb(pipe: cap initial pipe capacity according to pipe-max-size limit)'
Signed-off-by Xiao Yang <[email protected]>
--- runtest/syscalls | 2 + testcases/kernel/syscalls/.gitignore | 2 + testcases/kernel/syscalls/fcntl/fcntl35.c | 134 ++++++++++++++++++++++++++++++ 3 files changed, 138 insertions(+) create mode 100644 testcases/kernel/syscalls/fcntl/fcntl35.c
runtest/syscalls +2 -0
@@ -267,6 +267,8 @@ fcntl33 fcntl33 fcntl33_64 fcntl33_64 fcntl34 fcntl34 fcntl34_64 fcntl34_64 +fcntl35 fcntl35 +fcntl35_64 fcntl35_64 fdatasync01 fdatasync01 fdatasync02 fdatasync02
testcases/kernel/syscalls/.gitignore +2 -0
@@ -230,6 +230,8 @@ /fcntl/fcntl33_64 /fcntl/fcntl34 /fcntl/fcntl34_64 +/fcntl/fcntl35 +/fcntl/fcntl35_64 /fdatasync/fdatasync01 /fdatasync/fdatasync02 /flistxattr/flistxattr01
testcases/kernel/syscalls/fcntl/fcntl35.c new file +134 -0
134 lines not on this page · raw message
Signature · 1 line
1.8.3.1
PATCH 1/1 syscalls/fcntl35.c: add new regression test
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]