History log of /external/ltp/testcases/kernel/syscalls/epoll_pwait/epoll_pwait01.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
48b1bdecbfac9a8a7f3bf32f49a5d1a5979a3d96 22-Jul-2016 Khem Raj <raj.khem@gmail.com> rename 'sigset' var to avoid shadowing with libc symbol sigset

Fixes errors like

epoll_pwait01.c:44:17: error: ‘sigset’ redeclared as different kind of symbol
static sigset_t sigset;
^~~~~~
In file included from ../../../../include/old/test.h:38:0,
from epoll_pwait01.c:36:
/usr/include/signal.h:231:8: note: previous declaration of ‘sigset’ was here
void (*sigset(int, void (*)(int)))(int);
^~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/epoll_pwait/epoll_pwait01.c
22c12beeaedcda2dc0c144e18e88c79b7114f15b 03-Mar-2016 Guangwen Feng <fenggw-fnst@cn.fujitsu.com> epoll_pwait/epoll_pwait01.c: add new testcase

Check that:
1) epoll_pwait(2) with sigmask argument allows the caller
to safely wait until either a file descriptor becomes
ready or the timeout expires.
2) epoll_pwait(2) with NULL sigmask argument fails if
interrupted by a signal handler, epoll_pwait(2) should
return -1 and set errno to EINTR.

Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/epoll_pwait/epoll_pwait01.c