Home
last modified time | relevance | path

Searched refs:fgetxattr (Results 1 - 21 of 21) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dfremovexattr.c37 result = fgetxattr(fd, "user.foo", buf, sizeof(buf)); in fremovexattr_0100()
45 result = fgetxattr(fd, "user.foo", buf, sizeof(buf)); in fremovexattr_0100()
H A Dfsetxattr.c38 result = fgetxattr(fd, "user.foo", buf, sizeof(buf)); in fsetxattr_0100()
H A Dfgetxattr.c29 const char *path = "/data/fgetxattr.txt"; in fgetxattr_0100()
43 ssize_t result = fgetxattr(fd, name, value, 1024); in fgetxattr_0100()
45 t_error("%s fgetxattr failed\n", __func__); in fgetxattr_0100()
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dxattr.h16 ssize_t fgetxattr(int, const char *, void *, size_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dxattr.h16 ssize_t fgetxattr(int, const char *, void *, size_t);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dxattr.h16 ssize_t fgetxattr(int, const char *, void *, size_t);
/third_party/musl/include/sys/
H A Dxattr.h16 ssize_t fgetxattr(int, const char *, void *, size_t);
/third_party/ltp/testcases/kernel/syscalls/fgetxattr/
H A Dfgetxattr03.c8 * An empty buffer of size zero can be passed into fgetxattr(2) to return
38 TEST(fgetxattr(fd, XATTR_TEST_KEY, NULL, 0)); in verify_fgetxattr()
41 tst_res(TPASS, "fgetxattr(2) returned correct value"); in verify_fgetxattr()
45 tst_res(TFAIL | TTERRNO, "fgetxattr(2) failed with %li", TST_RET); in verify_fgetxattr()
H A Dfgetxattr01.c8 * Basic tests for fgetxattr(2) and make sure fgetxattr(2) handles error
13 * - fgetxattr(2) should return -1 and set errno to ENODATA
15 * - fgetxattr(2) should return -1 and set errno to ERANGE
16 * 3. Get attribute, fgetxattr(2) should succeed:
17 * - verify the attribute got by fgetxattr(2) is same as the value we set
80 TEST(fgetxattr(fd, tc[i].key, tc[i].value, tc[i].size)); in verify_fgetxattr()
83 tst_brk(TCONF, "fgetxattr(2) not supported"); in verify_fgetxattr()
88 tst_res(TPASS, "fgetxattr(2) passed"); in verify_fgetxattr()
90 tst_res(TFAIL, "fgetxattr( in verify_fgetxattr()
[all...]
H A Dfgetxattr02.c9 * have extended attributes. Otherwise fgetxattr(2) will return -1
15 * - fgetxattr(2) should succeed
18 * - fgetxattr(2) should succeed
21 * - fgetxattr(2) should succeed
24 * - fgetxattr(2) should return -1 and set errno to ENODATA
26 * - fgetxattr(2) should return -1 and set errno to ENODATA
28 * - fgetxattr(2) should return -1 and set errno to ENODATA
30 * - fgetxattr(2) should return -1 and set errno to ENODATA
165 TEST(fgetxattr(tc[i].fd, tc[i].key, tc[i].ret_value, tc[i].size)); in verify_fgetxattr()
168 tst_brk(TCONF, "fgetxattr( in verify_fgetxattr()
[all...]
/third_party/ltp/testcases/kernel/syscalls/fremovexattr/
H A Dfremovexattr01.c53 TEST(fgetxattr(fd, XATTR_TEST_KEY, got_value, sizeof(got_value))); in verify_fremovexattr()
/third_party/musl/src/linux/
H A Dxattr.c14 ssize_t fgetxattr(int filedes, const char *name, void *value, size_t size) in fgetxattr() function
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen13.c23 * and fgetxattr(2) fail with the error EBADF."
136 TEST(fgetxattr(fd, "tkey", NULL, 1)); in verify_fgetxattr()
137 check_result("fgetxattr(2)"); in verify_fgetxattr()
/third_party/selinux/libselinux/src/
H A Dfgetfilecon.c16 ret = fgetxattr(fd, name, value, size); in fgetxattr_wrapper()
/third_party/toybox/lib/
H A Dportability.c298 return fgetxattr(fd, name, value, size, 0, 0); in xattr_fget()
348 return fgetxattr(fd, name, value, size); in xattr_fget()
/third_party/toybox/toys/pending/
H A Dstrace.c492 SC(fgetxattr, "fspz"); in print_enter()
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
H A Dmod.rs3010 pub fn fgetxattr( in fgetxattr() functions
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs3173 pub fn fgetxattr( in fgetxattr() functions
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs3969 pub fn fgetxattr( in fgetxattr() functions
/third_party/python/Modules/
H A Dposixmodule.c12943 result = fgetxattr(path->fd, attribute->narrow, ptr, buffer_size); in os_getxattr_impl()
/third_party/rust/crates/libc/src/unix/bsd/apple/
H A Dmod.rs5427 pub fn fgetxattr( in fgetxattr() functions

Completed in 60 milliseconds