/third_party/ltp/testcases/kernel/security/smack/ |
H A D | smack_set_socket_labels.c | 86 rc = fsetxattr(sock, anin, avin, strlen(avin) + 1, 0); in set_socket_labels() 88 tst_brkm(TFAIL, NULL, "%s fsetxattr of %s to %s failure", in set_socket_labels() 92 rc = fsetxattr(sock, anout, avout, strlen(avout) + 1, 0); in set_socket_labels() 94 tst_brkm(TFAIL, NULL, "%s fsetxattr of %s to %s failure", in set_socket_labels() 98 rc = fsetxattr(sock, annot, avnot, strlen(avnot) + 1, 0); in set_socket_labels() 101 "%s fsetxattr of %s to %s succeeded in error", in set_socket_labels()
|
/third_party/eudev/src/shared/ |
H A D | smack-util.c | 78 r = fsetxattr(fd, "security.SMACK64", label, strlen(label), 0); in mac_smack_apply_fd() 98 r = fsetxattr(fd, "security.SMACK64IPOUT", label, strlen(label), 0); in mac_smack_apply_ip_out_fd() 118 r = fsetxattr(fd, "security.SMACK64IPIN", label, strlen(label), 0); in mac_smack_apply_ip_in_fd()
|
/third_party/curl/src/ |
H A D | tool_xattr.c | 97 err = fsetxattr(fd, attr, value, strlen(value), 0, 0); in xattr() 99 err = fsetxattr(fd, attr, value, strlen(value), 0); in xattr()
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | xattr.h | 22 int fsetxattr(int, const char *, const void *, size_t, int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | xattr.h | 22 int fsetxattr(int, const char *, const void *, size_t, int);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | xattr.h | 22 int fsetxattr(int, const char *, const void *, size_t, int);
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | flistxattr.c | 34 fsetxattr(fd, name, value, strlen(value), 0); in flistxattr_0100()
|
H A D | fsetxattr.c | 35 int result = fsetxattr(fd, "user.foo", "bar", 4, 0); in fsetxattr_0100()
|
H A D | fgetxattr.c | 38 int ret = fsetxattr(fd, name, value, strlen(value), 0); in fgetxattr_0100() 40 t_error("%s fsetxattr failed\n", __func__); in fgetxattr_0100()
|
H A D | fremovexattr.c | 34 int result = fsetxattr(fd, "user.foo", "bar", 4, 0); in fremovexattr_0100()
|
/third_party/musl/include/sys/ |
H A D | xattr.h | 22 int fsetxattr(int, const char *, const void *, size_t, int);
|
/third_party/curl/CMake/ |
H A D | CurlTests.c | 356 fsetxattr(0, 0, 0, 0, 0, 0); in main() 365 fsetxattr(0, 0, 0, 0, 0); in main()
|
/third_party/selinux/libselinux/src/ |
H A D | fsetfilecon.c | 15 rc = fsetxattr(fd, name, value, size, flags); in fsetxattr_wrapper()
|
/third_party/musl/src/linux/ |
H A D | xattr.c | 44 int fsetxattr(int filedes, const char *name, const void *value, size_t size, int flags) in fsetxattr() function
|
/third_party/ltp/testcases/kernel/syscalls/fsetxattr/ |
H A D | fsetxattr01.c | 8 * Basic tests for fsetxattr(2) and make sure fsetxattr(2) handles error 13 * fsetxattr(2) should return -1 and set errno to EINVAL 15 * fsetxattr(2) should return -1 and set errno to ENODATA 17 * fsetxattr(2) should return -1 and set errno to ERANGE 19 * fsetxattr(2) should return -1 and set errno to E2BIG 21 * fsetxattr(2) should succeed 23 * fsetxattr(2) should return -1 and set errno to EEXIST 25 * fsetxattr(2) should succeed 27 * fsetxattr( [all...] |
H A D | fsetxattr02.c | 9 * have extended attributes. Otherwise fsetxattr(2) will return -1 13 * 1. Set attribute to a regular file, fsetxattr(2) should succeed 14 * 2. Set attribute to a directory, fsetxattr(2) should succeed 16 * fsetxattr(2) should return -1 and set errno to EEXIST 17 * 4. Set attribute to a FIFO, fsetxattr(2) should return -1 and set 19 * 5. Set attribute to a char special file, fsetxattr(2) should 21 * 6. Set attribute to a block special file, fsetxattr(2) should 23 * 7. Set attribute to a UNIX domain socket, fsetxattr(2) should 151 TEST(fsetxattr(tc[i].fd, tc[i].key, tc[i].value, tc[i].size, in verify_fsetxattr() 155 tst_brk(TCONF, "fsetxattr( in verify_fsetxattr() [all...] |
/third_party/toybox/lib/ |
H A D | portability.c | 331 return fsetxattr(fd, name, value, size, 0, flags); in xattr_fset() 381 return fsetxattr(fd, name, value, size, flags); in xattr_fset()
|
/third_party/f2fs-tools/fsck/ |
H A D | dump.c | 398 ret = fsetxattr(c.dump_fd, xattr_name, value, in dump_xattr() 401 ret = fsetxattr(c.dump_fd, xattr_name, value, in dump_xattr()
|
/third_party/ltp/lib/ |
H A D | safe_macros.c | 1138 rval = fsetxattr(fd, name, value, size, flags); in safe_fsetxattr() 1149 "fsetxattr(%i, %s, %p, %zu, %i) failed", in safe_fsetxattr() 1153 "Invalid fsetxattr(%i, %s, %p, %zu, %i) return value %d", in safe_fsetxattr()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/ |
H A D | mod.rs | 3028 pub fn fsetxattr( in fsetxattr() functions
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
H A D | mod.rs | 3193 pub fn fsetxattr( in fsetxattr() functions
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
H A D | mod.rs | 3989 pub fn fsetxattr( in fsetxattr() functions
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 13005 result = fsetxattr(path->fd, attribute->narrow, in os_setxattr_impl()
|
/third_party/rust/crates/libc/src/unix/bsd/apple/ |
H A D | mod.rs | 5443 pub fn fsetxattr( in fsetxattr() functions
|