Re: [LTP] [PATCH] rt_sigaction.h: adjust for ARC

2016-03-07 Thread Vineet Gupta
On Monday 07 March 2016 04:29 PM, Cyril Hrubis wrote: > We also check that we got EINVAL if the sigsetsize is wrong, which > cannot be done with the libc wrapper. > > And we several testscases for the libc wrapper as well. Two in > testcases/syscalls/sigaction/ directory and much more in > testcase

Re: [LTP] [PATCH] rt_sigaction.h: adjust for ARC

2016-03-07 Thread Vineet Gupta
On Monday 07 March 2016 03:45 PM, Cyril Hrubis wrote: > Hi! >> To me all the song-and-dance in ltp_rt_sigaction() doesn't make sense. > These are required if you call the raw rt_sigaction syscall. Since > before signal handler is called the process context is saved on the > user-space stack and onc

[PATCH] rt_sigaction.h: adjust for ARC

2016-03-04 Thread Vineet Gupta
ARC uses the no-legacy syscall ABI where there is no need for kernel_sigaction interworking. Further we rely on default SA_RESTORER in libc for sigreturn. To me all the song-and-dance in ltp_rt_sigaction() doesn't make sense. The intent it to test whatever platform libc + kernel combination provi