Home
last modified time | relevance | path

Searched refs:XATTR_SIZE_MAX (Results 1 – 12 of 12) sorted by relevance

/external/strace/tests-mx32/
Dxattr.c36 # ifndef XATTR_SIZE_MAX
37 # define XATTR_SIZE_MAX 65536 macro
50 char *const big = tail_alloc(XATTR_SIZE_MAX + 1); in main()
62 rc = fsetxattr(-1, name, big, XATTR_SIZE_MAX + 1, XATTR_CREATE); in main()
64 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main()
91 rc = getxattr(".", name, big, XATTR_SIZE_MAX + 1); in main()
93 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main()
95 rc = lgetxattr(".", name, big + 1, XATTR_SIZE_MAX); in main()
97 name, big + 1, XATTR_SIZE_MAX, sprintrc(rc)); in main()
108 rc = listxattr(".", big, XATTR_SIZE_MAX + 1); in main()
[all …]
/external/strace/tests-m32/
Dxattr.c36 # ifndef XATTR_SIZE_MAX
37 # define XATTR_SIZE_MAX 65536 macro
50 char *const big = tail_alloc(XATTR_SIZE_MAX + 1); in main()
62 rc = fsetxattr(-1, name, big, XATTR_SIZE_MAX + 1, XATTR_CREATE); in main()
64 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main()
91 rc = getxattr(".", name, big, XATTR_SIZE_MAX + 1); in main()
93 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main()
95 rc = lgetxattr(".", name, big + 1, XATTR_SIZE_MAX); in main()
97 name, big + 1, XATTR_SIZE_MAX, sprintrc(rc)); in main()
108 rc = listxattr(".", big, XATTR_SIZE_MAX + 1); in main()
[all …]
/external/strace/tests/
Dxattr.c36 # ifndef XATTR_SIZE_MAX
37 # define XATTR_SIZE_MAX 65536 macro
50 char *const big = tail_alloc(XATTR_SIZE_MAX + 1); in main()
62 rc = fsetxattr(-1, name, big, XATTR_SIZE_MAX + 1, XATTR_CREATE); in main()
64 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main()
91 rc = getxattr(".", name, big, XATTR_SIZE_MAX + 1); in main()
93 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main()
95 rc = lgetxattr(".", name, big + 1, XATTR_SIZE_MAX); in main()
97 name, big + 1, XATTR_SIZE_MAX, sprintrc(rc)); in main()
108 rc = listxattr(".", big, XATTR_SIZE_MAX + 1); in main()
[all …]
/external/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr01.c69 #define XATTR_SIZE_MAX 65536 macro
113 .size = XATTR_SIZE_MAX + 1,
213 long_value = SAFE_MALLOC(XATTR_SIZE_MAX + 2); in setup()
214 memset(long_value, 'v', XATTR_SIZE_MAX + 2); in setup()
215 long_value[XATTR_SIZE_MAX + 1] = '\0'; in setup()
/external/ltp/testcases/kernel/syscalls/fsetxattr/
Dfsetxattr01.c51 #define XATTR_SIZE_MAX 65536 macro
97 .size = XATTR_SIZE_MAX + 1,
203 long_value = SAFE_MALLOC(XATTR_SIZE_MAX + 2); in setup()
204 memset(long_value, 'v', XATTR_SIZE_MAX + 2); in setup()
205 long_value[XATTR_SIZE_MAX + 1] = '\0'; in setup()
/external/strace/
Dxattr.c38 #ifndef XATTR_SIZE_MAX
39 # define XATTR_SIZE_MAX 65536 macro
50 if (size > XATTR_SIZE_MAX) in print_xattr_val()
DChangeLog29751 Do not decode xattr values of size larger than XATTR_SIZE_MAX.
/external/ltp/testcases/kernel/syscalls/fgetxattr/
Dfgetxattr01.c37 #define XATTR_SIZE_MAX 65536 macro
58 .size = XATTR_SIZE_MAX,
/external/kernel-headers/original/uapi/linux/
Dlimits.h16 #define XATTR_SIZE_MAX 65536 /* size of an extended attribute value (64k) */ macro
/external/iproute2/include/uapi/linux/
Dlimits.h16 #define XATTR_SIZE_MAX 65536 /* size of an extended attribute value (64k) */ macro
/external/python/cpython3/Modules/
Dposixmodule.c11007 static const Py_ssize_t buffer_sizes[] = {128, XATTR_SIZE_MAX, 0}; in os_getxattr_impl()
13258 if (PyModule_AddIntMacro(m, XATTR_SIZE_MAX)) return -1; in all_ins()
/external/python/cpython3/Doc/library/
Dos.rst3039 .. data:: XATTR_SIZE_MAX