Searched refs:xattr (Results 1 - 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dcleanup.ksh32 ZFS_USER=$(cat /tmp/zfs-xattr-test-user.txt)
33 rm /tmp/zfs-xattr-test-user.txt
35 USES_NIS=$(cat /tmp/zfs-xattr-test-nis.txt)
36 rm /tmp/zfs-xattr-test-nis.txt
H A Dxattr_011_pos.ksh35 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
44 # 2. Create an xattr and archive/move/copy/find files with xattr support
45 # 3. Also check that when appropriate flag is not used, the xattr
57 # Create a file, and set an xattr on it. This file is used in several of the
66 # with and without xattr support, checking for correct behaviour
72 echo $TESTDIR/cpio.$$ | cpio -o@ > /tmp/xattr.$$.cpio
75 # we should have no xattr here
76 log_must cpio -iu < /tmp/xattr.$$.cpio
79 # we should have an xattr her
[all...]
H A Dxattr_002_neg.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
36 # Trying to read a non-existent xattr should fail.
40 # 2. Try to read a non-existent xattr, check that an error is returned.
49 log_assert "A read of a non-existent xattr fails"
56 log_pass "A read of a non-existent xattr fails"
H A Dsetup.ksh60 echo $ZFS_USER > /tmp/zfs-xattr-test-user.txt
61 echo $USES_NIS > /tmp/zfs-xattr-test-nis.txt
H A Dxattr_001_pos.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
39 # 1. Create an xattr on a ZFS-based file using runat
40 # 2. Read an empty xattr directory
41 # 3. Write the xattr using runat and cat
42 # 3. Read the xattr using runat
43 # 4. Delete the xattr
44 # 5. List the xattr namespace successfully, checking for deletion
H A Dxattr_003_neg.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
36 # Attempting to read an xattr on a file for which we have no permissions
40 # 1. Create a file, and set an with an xattr
42 # 3. Check that we're unable to read the xattr as a non-root user
43 # 4. Check that we're unable to write an xattr as a non-root user
52 log_assert "read/write xattr on a file with no permissions fails"
62 log_pass "read/write xattr on a file with no permissions fails"
H A Dxattr_006_pos.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
38 # 1. Create a file and give it an xattr
50 log_assert "read xattr on a snapshot"
53 # create a file, and an xattr on it
60 # check for the xattr on the snapshot
63 log_pass "read xattr on a snapshot"
H A Dxattr_009_neg.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
35 # links between xattr and normal file namespace fail
38 # 1. Create a file and add an xattr to it (to ensure the namespace exists)
49 log_assert "links between xattr and normal file namespace fail"
52 # create a file, and an xattr on it
56 # Try to create a soft link from the xattr namespace to the default namespace
59 # Try to create a hard link from the xattr namespace to the default namespace
62 log_pass "links between xattr and normal file namespace fail"
H A Dxattr_010_neg.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
35 # Verify that mkdir and various mknods fail inside the xattr namespace
38 # 1. Create a file and add an xattr to it (to ensure the namespace exists)
39 # 2. Verify that mkdir fails inside the xattr namespace
40 # 3. Verify that various mknods fails inside the xattr namespace
52 # create a file, and an xattr on it
56 # Try to create directory in the xattr namespace
59 # Try to create a range of different filetypes in the xattr namespace
H A Dxattr_012_pos.ksh35 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
39 # xattr file sizes count towards normal disk usage
43 # 2. Create a 200mb xattr in that file
45 # of the xattr
65 log_assert "xattr file sizes count towards normal disk usage"
82 log_must runat $TESTDIR/myfile.$$ mkfile 200m xattr
103 log_pass "xattr file sizes count towards normal disk usage"
H A Dxattr_013_pos.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
38 # 1. Create a file on a filesystem and add an xattr to it
40 # 3. Verify that the xattr cannot be read and new files
55 zfs set 2>&1 | grep xattr > /dev/null
67 # check that we can't perform xattr operations
80 # we should still have an xattr on the first file
83 # there should be no xattr on the file we created while the fs was mounted
H A DMakefile19 TESTDIR = $(ROOTOPTPKG)/tests/functional/xattr
H A Dxattr_008_pos.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
38 # 1. Create a file and an xattr on that file
55 # create a file, and an xattr on it
H A Dxattr_004_pos.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
60 log_assert "Files from ufs,tmpfs with xattrs copied to zfs retain xattr info."
81 # ensure the xattr information has been copied correctly
86 log_pass "Files from ufs,tmpfs with xattrs copied to zfs retain xattr info."
H A Dxattr_005_pos.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
35 # read/write/create/delete xattr on a clone filesystem
39 # 1. Create an xattr on a filesystem
41 # 3. Verify the xattr can still be read, written, deleted
52 log_assert "read/write/create/delete xattr on a clone filesystem"
55 # create a file, and an xattr on it
71 # delete the original dataset xattr
78 log_pass "read/write/create/delete xattr on a clone filesystem"
H A Dxattr_007_neg.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
37 # xattrs when the snapshot was created (the xattr namespace wouldn't have been
41 # 1. Create a file and add an xattr to it.
42 # 2. Create another file, but don't add an xattr to it.
44 # 4. Verify we're unable to alter the xattr on the first file
58 log_assert "create/write xattr on a snapshot fails"
61 # create a file, and an xattr on it
65 # create another file that doesn't have an xattr
71 # we shouldn't be able to alter the first file's xattr
81 log_pass "create/write xattr o
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/trivial/
H A Dzfs_acl_find_001_pos.ksh36 # Verifies ability to find files with attribute with -xattr flag and using
41 # 2. Verify all the specified files can be found with '-xattr',
48 "-xattr flag and using '-exec runat ls'"
61 -xattr -print)
65 log_note "find $f by '-xattr'."
72 -xattr -exec runat {} ls $af \\\;)
85 log_pass "find files with -xattr passed."
H A Dzfs_acl_find_002_neg.ksh36 # Verifies ability to find files with attribute with -xattr flag and using
42 # 2. Verify all the specified files can not be found with '-xattr',
48 log_assert "verifies -xattr doesn't include files without " \
69 -xattr -print)
77 -xattr -exec runat {} ls attribute.$j \\\;)
91 log_pass "find files which have no attrabute files with -xattr passed."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/
H A DMakefile77 xattr \
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbiossmap.c46 uint32_t xattr; /* Extended attribute from ACPI 3.0 */ member in struct:smap_buf
87 next->xattr = buf.xattr;
107 smapattr[n++] = cur->xattr &
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_012_neg.ksh62 zoned xattr receive destroy sharenfs share
H A Dzfs_allow_010_pos.ksh82 xattr true false \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_002_pos.ksh87 xattr on xattr off
/illumos-gate/usr/src/uts/common/sys/usb/clients/usbms/
H A Dusbms.h53 uint_t xattr; /* attribute of X coordinate */ member in struct:usbms_input
/illumos-gate/usr/src/boot/sys/amd64/include/pc/
H A Dbios.h59 u_int32_t xattr; member in struct:bios_smap_xattr

Completed in 132 milliseconds

12