[LTP] [PATCH] linux_syscall_numbers: add sched_[get|set]attr for ppc and s390
Jan Stancek
jstancek@redhat.com
Tue Jun 7 14:09:05 CEST 2016
sched_getattr and sched_setattr may fail on powerpc and s390
on kernels > 3.14 with older userspace because LTP defines
syscall numbers only for x86 and arm.
This patch adds also numbers for ppc and s390.
Signed-off-by: Jan Stancek <jstancek@redhat.com>
---
testcases/kernel/include/powerpc.in | 2 ++
testcases/kernel/include/powerpc64.in | 2 ++
testcases/kernel/include/s390.in | 2 ++
testcases/kernel/include/s390x.in | 2 ++
4 files changed, 8 insertions(+)
diff --git a/testcases/kernel/include/powerpc.in b/testcases/kernel/include/powerpc.in
index 3126b11ca30e..5ca42a69ea96 100644
--- a/testcases/kernel/include/powerpc.in
+++ b/testcases/kernel/include/powerpc.in
@@ -341,5 +341,7 @@ recvmmsg 343
accept4 344
syscalls 345
kcmp 354
+sched_setattr 355
+sched_getattr 356
renameat2 357
getrandom 359
diff --git a/testcases/kernel/include/powerpc64.in b/testcases/kernel/include/powerpc64.in
index 3126b11ca30e..5ca42a69ea96 100644
--- a/testcases/kernel/include/powerpc64.in
+++ b/testcases/kernel/include/powerpc64.in
@@ -341,5 +341,7 @@ recvmmsg 343
accept4 344
syscalls 345
kcmp 354
+sched_setattr 355
+sched_getattr 356
renameat2 357
getrandom 359
diff --git a/testcases/kernel/include/s390.in b/testcases/kernel/include/s390.in
index 15cb06ef859f..afe94f5e21e0 100644
--- a/testcases/kernel/include/s390.in
+++ b/testcases/kernel/include/s390.in
@@ -325,5 +325,7 @@ setfsuid 215
setfsgid 216
newfstatat 293
kcmp 343
+sched_setattr 345
+sched_getattr 346
renameat2 347
getrandom 349
diff --git a/testcases/kernel/include/s390x.in b/testcases/kernel/include/s390x.in
index 15cb06ef859f..afe94f5e21e0 100644
--- a/testcases/kernel/include/s390x.in
+++ b/testcases/kernel/include/s390x.in
@@ -325,5 +325,7 @@ setfsuid 215
setfsgid 216
newfstatat 293
kcmp 343
+sched_setattr 345
+sched_getattr 346
renameat2 347
getrandom 349
--
1.8.3.1
More information about the ltp
mailing list