Home
last modified time | relevance | path

Searched refs:fsetxattr (Results 1 - 24 of 24) sorted by relevance

/third_party/ltp/testcases/kernel/security/smack/
H A Dsmack_set_socket_labels.c86 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 Dsmack-util.c78 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 Dtool_xattr.c97 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 Dxattr.h22 int fsetxattr(int, const char *, const void *, size_t, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dxattr.h22 int fsetxattr(int, const char *, const void *, size_t, int);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dxattr.h22 int fsetxattr(int, const char *, const void *, size_t, int);
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dflistxattr.c34 fsetxattr(fd, name, value, strlen(value), 0); in flistxattr_0100()
H A Dfsetxattr.c35 int result = fsetxattr(fd, "user.foo", "bar", 4, 0); in fsetxattr_0100()
H A Dfgetxattr.c38 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 Dfremovexattr.c34 int result = fsetxattr(fd, "user.foo", "bar", 4, 0); in fremovexattr_0100()
/third_party/musl/include/sys/
H A Dxattr.h22 int fsetxattr(int, const char *, const void *, size_t, int);
/third_party/curl/CMake/
H A DCurlTests.c356 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 Dfsetfilecon.c15 rc = fsetxattr(fd, name, value, size, flags); in fsetxattr_wrapper()
/third_party/musl/src/linux/
H A Dxattr.c44 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 Dfsetxattr01.c8 * 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 Dfsetxattr02.c9 * 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 Dportability.c331 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 Ddump.c398 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 Dsafe_macros.c1138 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 Dmod.rs3028 pub fn fsetxattr( in fsetxattr() functions
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs3193 pub fn fsetxattr( in fsetxattr() functions
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs3989 pub fn fsetxattr( in fsetxattr() functions
/third_party/python/Modules/
H A Dposixmodule.c13005 result = fsetxattr(path->fd, attribute->narrow, in os_setxattr_impl()
/third_party/rust/crates/libc/src/unix/bsd/apple/
H A Dmod.rs5443 pub fn fsetxattr( in fsetxattr() functions

Completed in 60 milliseconds