HomeSort by relevance Sort by last modified time
    Searched refs:setxattr (Results 51 - 75 of 122) sorted by null

1 23 4 5

  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/attr/
xattr.h 36 extern int setxattr (const char *__path, const char *__name,
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/
xattr.h 29 `*setxattr'. */
40 extern int setxattr (__const char *__path, __const char *__name,
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/
xattr.h 29 `*setxattr'. */
40 extern int setxattr (__const char *__path, __const char *__name,
  /bionic/tests/
sys_xattr_test.cpp 24 TEST(sys_xattr, setxattr) {
27 ASSERT_EQ(0, setxattr(tf.filename, "user.foo", "bar", 4, 0));
  /external/ltp/testcases/kernel/syscalls/setxattr/
setxattr01.c 26 * Basic tests for setxattr(2) and make sure setxattr(2) handles error
31 * setxattr(2) should return -1 and set errno to EINVAL
33 * setxattr(2) should return -1 and set errno to ENOATTR
35 * setxattr(2) should return -1 and set errno to ERANGE
37 * setxattr(2) should return -1 and set errno to E2BIG
39 * setxattr(2) should succeed
41 * setxattr(2) should return -1 and set errno to EEXIST
43 * setxattr(2) should succeed
161 TEST(setxattr(tc[i].fname, tc[i].key, tc[i].value
    [all...]
setxattr02.c 27 * have extended attributes. Otherwise setxattr(2) will return -1
31 * 1. Set attribute to a regular file, setxattr(2) should succeed
32 * 2. Set attribute to a directory, setxattr(2) should succeed
34 * setxattr(2) should return -1 and set errno to EEXIST
35 * 4. Set attribute to a FIFO, setxattr(2) should return -1 and set
37 * 5. Set attribute to a char special file, setxattr(2) should
39 * 6. Set attribute to a block special file, setxattr(2) should
41 * 7. Set attribute to a UNIX domain socket, setxattr(2) should
161 TEST(setxattr(tc[i].fname, tc[i].key, tc[i].value,
192 if (setxattr("testfile", "user.test", "test", 4, XATTR_CREATE) == -1
    [all...]
setxattr03.c 26 * setxattr(2) to immutable and append-only files should get EPERM
29 * 1. Set attribute to a immutable file, setxattr(2) should return -1
31 * 2. Set attribute to a append-only file, setxattr(2) should return
120 TEST(setxattr(tc[i].fname, tc[i].key, tc[i].value,
174 if (setxattr("testfile", "user.test", "test", 4, XATTR_CREATE) == -1)
  /external/ltp/testcases/kernel/syscalls/getxattr/
getxattr02.c 31 * 1. Get attribute from a FIFO, setxattr(2) should return -1 and
33 * 2. Get attribute from a char special file, setxattr(2) should
35 * 3. Get attribute from a block special file, setxattr(2) should
37 * 4. Get attribute from a UNIX domain socket, setxattr(2) should
132 if (setxattr("testfile", "user.test", "test", 4, XATTR_CREATE) == -1)
getxattr01.c 150 if (setxattr(filename, XATTR_TEST_KEY, XATTR_TEST_VALUE,
  /external/strace/tests/
xattr.c 80 rc = setxattr(".", name, z_value, sizeof(c_value), XATTR_CREATE);
81 printf("setxattr(\".\", \"%s\", \"%s\", %u, XATTR_CREATE) = %s\n",
  /external/strace/tests-m32/
xattr.c 80 rc = setxattr(".", name, z_value, sizeof(c_value), XATTR_CREATE);
81 printf("setxattr(\".\", \"%s\", \"%s\", %u, XATTR_CREATE) = %s\n",
  /external/strace/tests-mx32/
xattr.c 80 rc = setxattr(".", name, z_value, sizeof(c_value), XATTR_CREATE);
81 printf("setxattr(\".\", \"%s\", \"%s\", %u, XATTR_CREATE) = %s\n",
  /external/strace/
xattr.c 57 SYS_FUNC(setxattr)
  /external/libcap/libcap/
cap_file.c 21 extern int setxattr(const char *, const char *, const void *, size_t, int);
303 return setxattr(filename, XATTR_NAME_CAPS, &rawvfscap, sizeofcaps, 0);
  /libcore/luni/src/test/java/libcore/io/
OsTest.java 521 Libcore.os.setxattr(path, NAME_TEST, VALUE_CAKE, OsConstants.XATTR_CREATE);
528 Libcore.os.setxattr(path, NAME_TEST, VALUE_PIE, OsConstants.XATTR_CREATE);
534 Libcore.os.setxattr(path, NAME_TEST, VALUE_PIE, OsConstants.XATTR_REPLACE);
586 // setxattr
588 Libcore.os.setxattr(null, NAME_TEST, VALUE_CAKE, OsConstants.XATTR_CREATE);
592 Libcore.os.setxattr(path, null, VALUE_CAKE, OsConstants.XATTR_CREATE);
596 Libcore.os.setxattr(path, NAME_TEST, null, OsConstants.XATTR_CREATE);
625 Libcore.os.setxattr("", NAME_TEST, VALUE_CAKE, OsConstants.XATTR_CREATE);
635 Libcore.os.setxattr(path, NAME_TEST, VALUE_CAKE, OsConstants.XATTR_CREATE);
638 // setxattr(2) requires root permission for writing to this file, will get EACCES otherwise
    [all...]
  /external/strace/linux/32/
syscallent.h 9 [ 5] = { 5, TF, SEN(setxattr), "setxattr" },
10 [ 6] = { 5, TF, SEN(setxattr), "lsetxattr" },
  /external/strace/linux/s390x/
syscallent.h 239 [224] = { 5, TF, SEN(setxattr), "setxattr" },
240 [225] = { 5, TF, SEN(setxattr), "lsetxattr" },
  /external/strace/linux/64/
syscallent.h 6 [ 5] = { 5, TF, SEN(setxattr), "setxattr" },
7 [ 6] = { 5, TF, SEN(setxattr), "lsetxattr" },
  /external/strace/linux/avr32/
syscallent.h 206 [178] = { 5, TF, SEN(setxattr), "setxattr" },
207 [179] = { 5, TF, SEN(setxattr), "lsetxattr" },
  /external/strace/linux/hppa/
syscallent.h 243 [238] = { 5, TF, SEN(setxattr), "setxattr" },
244 [239] = { 5, TF, SEN(setxattr), "lsetxattr" },
  /external/strace/linux/x86_64/
syscallent.h 189 [188] = { 5, TF, SEN(setxattr), "setxattr" },
190 [189] = { 5, TF, SEN(setxattr), "lsetxattr" },
  /external/strace/linux/xtensa/
syscallent.h 64 [ 68] = { 5, TF, SEN(setxattr), "setxattr" },
68 [ 72] = { 5, TF, SEN(setxattr), "lsetxattr" },
  /external/strace/linux/arm/
syscallent.h 254 [226] = { 5, TF, SEN(setxattr), "setxattr" },
255 [227] = { 5, TF, SEN(setxattr), "lsetxattr" },
  /external/strace/linux/crisv10/
syscallent.h 224 [226] = { 5, TF, SEN(setxattr), "setxattr" },
225 [227] = { 5, TF, SEN(setxattr), "lsetxattr" },
  /external/strace/linux/i386/
syscallent.h 254 [226] = { 5, TF, SEN(setxattr), "setxattr" },
255 [227] = { 5, TF, SEN(setxattr), "lsetxattr" },

Completed in 274 milliseconds

1 23 4 5