Skip to contentSkip to conversation

syscalls/munlockall02: remove deprecated test

PATCH New Junchi Chen 2 participants 2 messages Aug 29, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 syscalls/munlockall02: remove deprecated test

ISSUE:
This TCONF message: "Some distros... support
non-superuser munlockall calls."
has unnecessarily shown for years.

REASON:
The test is expecting EPERM error when calling munlockall with user
nobody. However, the unprivileged calling of munlockall has been allowed at least since v2.6.

---
 runtest/ltplite                               |   1 -
 runtest/stress.part3                          |   1 -
 runtest/syscalls                              |   1 -
 .../kernel/syscalls/munlockall/.gitignore     |   1 -
 .../kernel/syscalls/munlockall/munlockall02.c | 157 ------------------
 5 files changed, 161 deletions(-)
 delete mode 100644 testcases/kernel/syscalls/munlockall/munlockall02.c
runtest/ltplite +0 -1
index 9ca6c421f..a3d4f54e0 100644
@@ -510,7 +510,6 @@ munlock01 munlock01
 munlock02 munlock02
 
 munlockall01 munlockall01
-munlockall02 munlockall02
 
 munmap01 munmap01
 munmap02 munmap02
runtest/stress.part3 +0 -1
index ec18dcf73..f9eed15ed 100644
@@ -427,7 +427,6 @@ munlock01 munlock01
 munlock02 munlock02
 
 munlockall01 munlockall01
-munlockall02 munlockall02
 
 munmap01 munmap01
 munmap02 munmap02
runtest/syscalls +0 -1
index ccc3eff59..eb1de2d30 100644
@@ -730,7 +730,6 @@ munlock01 munlock01
 munlock02 munlock02
 
 munlockall01 munlockall01
-munlockall02 munlockall02
 
 munmap01 munmap01
 munmap02 munmap02
testcases/kernel/syscalls/munlockall/.gitignore +0 -1
index 5fb852410..b45b4ad06 100644
@@ -1,2 +1 @@
 /munlockall01
-/munlockall02
testcases/kernel/syscalls/munlockall/munlockall02.c deleted +0 -157

157 lines not on this page · raw message

Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 1/1 syscalls/munlockall02: remove deprecated test

----- Original Message -----

Quoted 11 lines

ISSUE:
This TCONF message: "Some distros... support
non-superuser munlockall calls."
has unnecessarily shown for years.

REASON:
The test is expecting EPERM error when calling munlockall with user
nobody. However, the unprivileged calling of munlockall has been allowed at least since v2.6.

Pushed.

Thanks,
Jan