Lines Matching refs:fsetxattr
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,
155 tst_brk(TCONF, "fsetxattr(2) not supported");
162 "fsetxattr(2) on %s failed with %li",
170 tst_res(TPASS, "fsetxattr(2) on %s passed", fname);
175 tst_res(TFAIL, "fsetxattr(2) on %s passed unexpectedly", fname);
183 "fsetxattr(2) on %s should have failed with %s",
192 tst_res(TPASS | TTERRNO, "fsetxattr(2) on %s failed", fname);
219 * sockets, mknod() isn't enough to test fsetxattr(2).