e036a8c0f717529717c0f57066d329bbd26f0753 |
|
23-Mar-2017 |
Jakub Racek <jracek@redhat.com> |
Added fcntl() lapi flags Signed-off-by: Jakub Racek <jracek@redhat.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
96cccf4bedb8abe0421af8b56ac8b7b117b58e82 |
|
26-Jul-2016 |
Cyril Hrubis <chrubis@suse.cz> |
lapi/fcntl.h: Include system headers first. Include the system headers first so that system constants are used if present. Also fixes build failure where SOCK_CLOEXEC was replaced with it value in a system header included after "lapi/fcntl.h" which was pulled in from tst_test.h in fcntl34. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
d2a810a16782b6da2a73395ebc59806fa41f3e04 |
|
24-Jun-2016 |
Xiao Yang <yangx.jy@cn.fujitsu.com> |
syscalls/socket02: reconstruct and convert to new API 1) take use of some SAFE Marcos 2) remove SOCK_CLOEXEC introduced in socketpair() 3) merge socket03 into socket02 Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
/external/ltp/include/lapi/fcntl.h
|
ca67538f254e9394480881870b1e4c928947ba46 |
|
12-Apr-2016 |
Cyril Hrubis <chrubis@suse.cz> |
include/lapi/fcntl.h: Do not include tee and splice The newly added fcntl34 test uses newlib and includes lapi/fcntl.h. The fcntl header includes fallback defitions for splice and tee which are exposed on older distros. The fallback defitions calls ltp_syscall() that calls tst_brkm() which is not available under the newlibrary and hence the compilation fails. This commit removes the tee.h, splice.h, and vmsplice.h from fcntl.h and adds these directly to the testcases if needed. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
13fe1c7a8aa2438afa29c07979d0a607b14f379e |
|
26-Jan-2016 |
Alexey Kodanev <alexey.kodanev@oracle.com> |
syscalls/fcntl: add new test for open file description locks OFD lock is available since Linux 3.15 and new F_OFD_* macros added to lapi/fcntl.h Test is based on [1] article and checks that OFD locks can syncronise access to a file between multiple threads. [1] https://lwn.net/Articles/586904 Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
5b789d89258c5877235445ea5187aa9cdb58d276 |
|
27-Jan-2016 |
Alexey Kodanev <alexey.kodanev@oracle.com> |
include/lapi/fcntl.h: add O_TMPFILE definition Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
bbbb2e31edd09598b872497c4ee1579f1eeeed0e |
|
22-Dec-2015 |
Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> |
lapi/fcntl.h: define O_PATH on SPARC Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
/external/ltp/include/lapi/fcntl.h
|
b008b9219e2876e0dd9b3b7e2b78f34c93290a37 |
|
01-Oct-2015 |
Cedric Hnyda <chnyda@suse.com> |
syscall/renameat2: Add tests for renameat2 Added tests for the syscall renameat2. Signed-off-by: Cedric Hnyda <chnyda@suse.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
e90291c0c1c4a249e6693ae2ae6afceae7a0dc56 |
|
04-Aug-2015 |
Guangwen Feng <fenggw-fnst@cn.fujitsu.com> |
open/open13.c: add O_PATH flag test Basic test for O_PATH flag of open(2). Obtain a file descriptor that can be used to perform operations that act purely at the file descriptor level, the file itself is not opened, the operations read(2), write(2), fchmod(2), fchown(2) and fgetxattr(2) fail with the error EBADF. Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
/external/ltp/include/lapi/fcntl.h
|
a3bfea2c902c00a24743024338f744e7bfa38251 |
|
17-Jun-2014 |
Xing Gu <gux.fnst@cn.fujitsu.com> |
renameat/renameat01.c: cleanup Add renameat.h to encapsulate renameat syscall. Delete some useless comments. Use some SAFE_* macros. Move the test body from main() to renameat_verify(). Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
4200068abdf3743e096b97c4f6360139073de881 |
|
03-Jun-2014 |
Cyril Hrubis <chrubis@suse.cz> |
include/lapi: Add vmsplice.h Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
6a558f8703b50bbda5ddd5a1b83ecae10c544776 |
|
03-Jun-2014 |
Cyril Hrubis <chrubis@suse.cz> |
include/lapi/fcntl.h: Add splice() flags + include * Add SPLICE_F_NONBLOCK to lapi/fcntl.h * Include lapi/splice.h lapi/tee.h in lapi/fcntl.h Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
a89e4a93a573b560b9ed6ad0b18316ba0276a85a |
|
16-Apr-2014 |
Cyril Hrubis <chrubis@suse.cz> |
syscalls/fallocate01: Fix compilation failure. On newer distribution the addition of _GNU_SOURCE breaks the compilation because it exposes the FALLOC_FL_KEEP_SIZE as a macro constant which breaks the enum defition. So this commit adds FALLOC_FL_KEEP_SIZE to lapi/fcntl.h and removes the enum. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
82b0600f15ffd370769f0420d410c497dff66bdc |
|
13-Mar-2014 |
Zeng Linggang <zenglg.jy@cn.fujitsu.com> |
lapi: fcntl.h: Add O_NOATIME Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
/external/ltp/include/lapi/fcntl.h
|
66a84a4a5429bb638059b8ba57f13408c8b56ebf |
|
24-Mar-2014 |
Cyril Hrubis <chrubis@suse.cz> |
syscalls/fcntl31: Fix build on older glibc. Adds F_OWNER_PGRP into lapi/fcntl.h and include to the testcase. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
8697aa951eca156b51cf46ec3c8700b22b94f9c0 |
|
25-Feb-2014 |
Cyril Hrubis <chrubis@suse.cz> |
lapi: fcntl.h: Add AT_SYMLINK_NOFOLLOW Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/include/lapi/fcntl.h
|
8d5fba3db5221b984b93fbc1d4d269afdbcf24ee |
|
25-Feb-2014 |
Zeng Linggang <zenglg.jy@cn.fujitsu.com> |
linkat/linkat02.c: add new error number tests Add new error number tests for linkat(2): * ENAMETOOLONG * EEXIST * ELOOP * EACCES * EMLINK * EROFS Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
/external/ltp/include/lapi/fcntl.h
|
fe173032ce95fb3e50534874a9dc27c09736cf19 |
|
12-Feb-2014 |
Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com> |
fcntl/fcntl30.c: add F_SETPIPE_SZ, F_GETPIPE_SZ test for fcntl(2) create a new case to test F_SETPIPE_SZ, F_GETPIPE_SZ for fcntl(2) Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/include/lapi/fcntl.h
|
9505857f0f27142257a2121d86578c642baec3d2 |
|
12-Feb-2014 |
Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com> |
fcntl/fcntl29.c: add F_DUPFD_CLOEXEC test for fcntl(2) create a new case to test F_DUPFD_CLOEXEC for fcntl(2) Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/include/lapi/fcntl.h
|
98f8747aee484ed06f08bd7ba9683bfa8144d0c2 |
|
08-Jan-2014 |
Cyril Hrubis <chrubis@suse.cz> |
lapi: Add fcntl.h to define O_CLOEXEC, fix build This moves the numerous O_CLOEXEC defintions into lapi/fcntl.h header and also fixes the dup3_02.c build on older distributions (where O_CLOEXEC is not defined) by including this header. Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz> Signed-off-by: Jan Stancek <jstancek@redhat.com>
/external/ltp/include/lapi/fcntl.h
|