public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] linux_syscall_numbers: add sched_[get|set]attr for ppc and s390
  2016-06-07 12:09 [LTP] [PATCH] linux_syscall_numbers: add sched_[get|set]attr for ppc and s390 Jan Stancek
@ 2016-06-07 12:08 ` Cyril Hrubis
  2016-06-07 12:19   ` Jan Stancek
  0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2016-06-07 12:08 UTC (permalink / raw)
  To: ltp

Hi!
> 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.

I would say that this falls into obviously right category, you should
have pushed this right away, nevertheless acked.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LTP] [PATCH] linux_syscall_numbers: add sched_[get|set]attr for ppc and s390
@ 2016-06-07 12:09 Jan Stancek
  2016-06-07 12:08 ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Stancek @ 2016-06-07 12:09 UTC (permalink / raw)
  To: ltp

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [LTP] [PATCH] linux_syscall_numbers: add sched_[get|set]attr for ppc and s390
  2016-06-07 12:08 ` Cyril Hrubis
@ 2016-06-07 12:19   ` Jan Stancek
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Stancek @ 2016-06-07 12:19 UTC (permalink / raw)
  To: ltp



----- Original Message -----
> From: "Cyril Hrubis" <chrubis@suse.cz>
> To: "Jan Stancek" <jstancek@redhat.com>
> Cc: ltp@lists.linux.it
> Sent: Tuesday, 7 June, 2016 2:08:31 PM
> Subject: Re: [LTP] [PATCH] linux_syscall_numbers: add sched_[get|set]attr for ppc and s390
> 
> Hi!
> > 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.
> 
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-07 12:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 12:09 [LTP] [PATCH] linux_syscall_numbers: add sched_[get|set]attr for ppc and s390 Jan Stancek
2016-06-07 12:08 ` Cyril Hrubis
2016-06-07 12:19   ` Jan Stancek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox