glibc/misc
Adhemerval Zanella daa9bdb607 posix: Add invalid flags test for p{write,read}v2
This patch add an extra test for passing invalid flags and check its
expected failure.  It shows an invalid LO_HI_LONG macro definition for
x86_64 with leads to passing invalid flags on some configurations.

The new tests fails on i686-linux-gnu and potentially on other 32 bits
architecture that uses the compat syscall definition due a kernel bug.
It is intended to be fixed upstream.

Checked on x86_64-linux-gnu

	* misc/tst-preadvwritev2-common.c: New file.
	* misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
	* misc/tst-preadvwritev64v2.c (do_test): Likewise.
2017-06-21 10:58:32 -03:00
..
bits
sys Remove __need_IOV_MAX and __need_FOPEN_MAX. 2017-06-14 07:51:30 -04:00
acct.c
ar.h
brk.c
bug18240.c
bug-hsearch1.c
chflags.c
chroot.c
daemon.c
dirname.c
efgcvt_r.c
efgcvt.c
err.c
err.h
error.c
error.h
fchflags.c
fdatasync.c
fgetxattr.c
flistxattr.c
fremovexattr.c
fsetxattr.c
fstab.c
fstab.h
fsync.c
ftruncate64.c
ftruncate.c
futimes.c
futimesat.c
getauxval.c Add a way to bypass the PLT when calling getauxval 2017-06-09 14:36:22 -03:00
getclktck.c
getdomain.c
getdtsz.c
gethostid.c
gethostname.c
getloadavg.c
getpagesize.c
getpass.c
getsysstats.c
getttyent.c
getusershell.c
getxattr.c
gtty.c
hsearch_r.c
hsearch.c
ifunc-impl-list.c
init-misc.c
insremque.c
ioctl.c
lgetxattr.c
libgen.h
listxattr.c
llistxattr.c
lremovexattr.c
lsearch.c
lsetxattr.c
lutimes.c
madvise.c
makedev.c
Makefile Remove __need_IOV_MAX and __need_FOPEN_MAX. 2017-06-14 07:51:30 -04:00
mincore.c
mkdtemp.c
mkostemp64.c
mkostemp.c
mkostemps64.c
mkostemps.c
mkstemp64.c
mkstemp.c
mkstemps64.c
mkstemps.c
mktemp.c
mlock.c
mlockall.c
mmap64.c
mmap.c
mntent_r.c
mntent.c
mntent.h Remove __need macros from stdio.h and wchar.h. 2017-06-08 13:58:17 -04:00
mprotect.c
msync.c
munlock.c
munlockall.c
munmap.c
preadv2.c posix: Implement preadv2 and pwritev2 2017-05-31 17:35:46 -03:00
preadv64.c
preadv64v2.c posix: Implement preadv2 and pwritev2 2017-05-31 17:35:46 -03:00
preadv.c
pselect.c
ptrace.c
pwritev2.c posix: Implement preadv2 and pwritev2 2017-05-31 17:35:46 -03:00
pwritev64.c
pwritev64v2.c posix: Implement preadv2 and pwritev2 2017-05-31 17:35:46 -03:00
pwritev.c
qefgcvt_r.c
qefgcvt.c
readv.c
reboot.c
regexp.c
regexp.h
remap_file_pages.c
removexattr.c
revoke.c
sbrk.c
search.h
select.c
setdomain.c
setegid.c
seteuid.c
sethostid.c
sethostname.c
setregid.c
setreuid.c
setxattr.c
sgtty.h
sstk.c
stab.h
stty.c
swapoff.c
swapon.c
sync.c
syncfs.c
syscall.c
syscall.h
sysexits.h
syslog.c
syslog.h
truncate64.c
truncate.c
tsearch.c
tst-atomic-long.c
tst-atomic.c
tst-dirname.c
tst-efgcvt.c
tst-empty.c
tst-error1.c
tst-fdset.c
tst-hsearch.c
tst-insremque.c
tst-makedev.c
tst-mntent2.c
tst-mntent-blank-corrupt.c
tst-mntent-blank-passno.c
tst-mntent.c
tst-preadvwritev2-common.c posix: Add invalid flags test for p{write,read}v2 2017-06-21 10:58:32 -03:00
tst-preadvwritev2.c posix: Add invalid flags test for p{write,read}v2 2017-06-21 10:58:32 -03:00
tst-preadvwritev64.c
tst-preadvwritev64v2.c posix: Add invalid flags test for p{write,read}v2 2017-06-21 10:58:32 -03:00
tst-preadvwritev-common.c posix: Implement preadv2 and pwritev2 2017-05-31 17:35:46 -03:00
tst-preadvwritev.c
tst-pselect.c
tst-tsearch.c
ttyent.h
ttyslot.c
ualarm.c
usleep.c
ustat.c
ustat.h
utimes.c
Versions posix: Implement preadv2 and pwritev2 2017-05-31 17:35:46 -03:00
vhangup.c
writev.c