linux_syscall_numbers: add sched_[get|set]attr for ppc and s390
PATCH 1/1 linux_syscall_numbers: add sched_[get|set]attr for ppc and s390
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.
--- 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(+)
testcases/kernel/include/powerpc.in +2 -0
@@ -341,5 +341,7 @@ recvmmsg 343 accept4 344 syscalls 345 kcmp 354 +sched_setattr 355 +sched_getattr 356 renameat2 357 getrandom 359
testcases/kernel/include/powerpc64.in +2 -0
@@ -341,5 +341,7 @@ recvmmsg 343 accept4 344 syscalls 345 kcmp 354 +sched_setattr 355 +sched_getattr 356 renameat2 357 getrandom 359
testcases/kernel/include/s390.in +2 -0
@@ -325,5 +325,7 @@ setfsuid 215 setfsgid 216 newfstatat 293 kcmp 343 +sched_setattr 345 +sched_getattr 346 renameat2 347 getrandom 349
testcases/kernel/include/s390x.in +2 -0
@@ -325,5 +325,7 @@ setfsuid 215 setfsgid 216 newfstatat 293 kcmp 343 +sched_setattr 345 +sched_getattr 346 renameat2 347 getrandom 349
Signature · 1 line
1.8.3.1
PATCH 1/1 linux_syscall_numbers: add sched_[get|set]attr for ppc and s390
Hi!
Quoted 5 lines
sched_getattrandsched_setattrmay 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.
I would say that this falls into obviously right category, you should have pushed this right away, nevertheless acked.
Signature · 2 lines
Cyril Hrubis [email protected]
PATCH 1/1 linux_syscall_numbers: add sched_[get|set]attr for ppc and s390
----- Original Message -----
Quoted 7 lines
From: "Cyril Hrubis" <[email protected]>
To: "Jan Stancek" <[email protected]>
Cc: [email protected]
Sent: Tuesday, 7 June, 2016 2:08:31 PM
Subject: Re: [LTP] [PATCH]linux_syscall_numbers: add sched_[get|set]attr for ppc and s390Hi!
Quoted 8 lines
Quoted 5 lines
sched_getattrandsched_setattrmay 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.
I would say that this falls into obviously right category, you should have pushed this right away, nevertheless acked.
OK, thanks for ack anyway. Pushed.
Regards,
Jan