| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | zfs_acl.h | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 54 * will all be created with fixed length ACEs of type 58 * with various sized ACEs. The abstraction entries will utilize 60 * and some specialized CIFS ACEs will use zfs_object_ace_t. 64 * All ACEs have a common hdr. For 86 * and will only be set/retrieved in a CIFS context. 104 uint32_t z_acl_count; /* Number of ACEs */ 107 zfs_oldace_t z_ace_data[ACE_SLOT_CNT]; /* 6 standard ACEs */ 123 uint8_t z_ace_data[ZFS_ACE_SPACE]; /* space for embedded ACEs */ [all …]
|
| H A D | zil.h | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 60 * Intent log header - this on disk structure holds fields to manage 76 #define ZIL_REPLAY_NEEDED 0x1 /* replay needed - internal only */ 108 #define ZILTEST_TXG (UINT64_MAX - TXG_CONCURRENT_STATES) 133 sizeof (lr_attr_t) + (sizeof (uint32_t) * (mapsize - 1)) + \ 146 #define TX_COMMIT 0 /* Commit marker (no on-disk state) */ 157 #define TX_SETATTR 11 /* Set file attributes */ 158 #define TX_ACL_V0 12 /* Set old formatted ACL */ 159 #define TX_ACL 13 /* Set ACL */ [all …]
|
| H A D | zfs_znode.h | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 76 VERIFY0(sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(ZTOZSB(zp)), \ 84 #define ZFS_INHERIT_ACE 0x2 /* ace has inheritable ACEs */ 93 #define SA_ZPL_ATIME(z) z->z_attr_table[ZPL_ATIME] 94 #define SA_ZPL_MTIME(z) z->z_attr_table[ZPL_MTIME] 95 #define SA_ZPL_CTIME(z) z->z_attr_table[ZPL_CTIME] 96 #define SA_ZPL_CRTIME(z) z->z_attr_table[ZPL_CRTIME] 97 #define SA_ZPL_GEN(z) z->z_attr_table[ZPL_GEN] 98 #define SA_ZPL_DACL_ACES(z) z->z_attr_table[ZPL_DACL_ACES] [all …]
|
| /freebsd/usr.sbin/makefs/zfs/ |
| H A D | fs.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 63 * The order of the attributes doesn't matter, this is simply the one hard-coded 124 * layout and just hard-codes attribute offsets. 178 return (strcmp(cur->name, ".") == 0); in fsnode_isroot() 184 return (cur->type == S_IFREG || cur->type == S_IFDIR || in fsnode_valid() 185 cur->type == S_IFLNK); in fsnode_valid() 189 * Visit each node in a directory hierarchy, in pre-order depth-first order. 194 assert(root->type == S_IFDIR); in fsnode_foreach() 196 for (fsnode *cur = root; cur != NULL; cur = cur->next) { in fsnode_foreach() [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
| H A D | zfs_acl_chmod_inherit_004_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 36 # Verify aclinherit=passthrough-x will inherit the 'x' bits while mode request. 39 # 1. Loop super user and non-super user to run the test case. 40 # 2. Create basedir and a set of subdirectores and files within it. 41 # 3. Set aclinherit=passthrough-x 42 # 4. Verify only passthrough-x will inherit the 'x' bits while mode request. 48 # CODING_STATUS: COMPLETED (2009-04-29) 58 if [[ -d $basedir ]]; then 59 log_must $RM -rf $basedir 63 $ZPOOL upgrade -v | $GREP "passthrough\-x aclinherit support" > /dev/null 2>&1 [all …]
|
| H A D | zfs_acl_find_001_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 36 # Verify that '$FIND' command with '-ls' and '-acl' options supports ZFS ACL 40 # 2. Select a file or directory and add a few ACEs to it 41 # 3. Use $FIND -ls to check the "+" existen only with the selected file or 43 # 4. Use $FIND -acl to check only the selected file/directory in the list 49 # CODING_STATUS: COMPLETED (2005-09-26) 59 [[ -d $TESTDIR ]] && $RM -rf $TESTDIR/* 66 typeset opt=$1 # -ls or -acl 71 rst_str=`$FIND . -ls | $GREP "+" | $AWK '{print $11}'` 73 rst_str=`$FIND . -acl` [all …]
|
| H A D | zfs_acl_chmod_rwx_002_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 36 # chmod A{+|-|=} read_data|write_data|execute for owner@ group@ or everyone@ 40 # 1. Loop root and non-root user. 43 # 4. Separately chmod +|-|= read_data|write_data|execute 50 # CODING_STATUS: COMPLETED (2005-10-05) 58 log_assert "chmod A{+|-|=} read_data|write_data|execute for owner@, group@ " \ 62 set -A bits 0 1 2 3 4 5 6 7 63 set -A a_flag owner group everyone 64 set -A a_access read_data write_data execute 65 set -A a_type allow deny [all …]
|
| H A D | zfs_acl_chmod_compact_001_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 37 # chmod A{+|-|=} could set compact ACL correctly. 40 # 1. Loop root and non-root user. 42 # 4. Separately chmod +|-|= 49 # CODING_STATUS: COMPLETED (2006-08-11) 59 log_assert "chmod A{+|=} should set compact ACL correctly." 62 set -A a_flag owner group everyone 63 set -A a_access r w x p d D a A R W c C o s 64 set -A a_inherit_object f d 65 set -A a_inherit_strategy i n [all …]
|
| H A D | zfs_acl_chmod_inherit_002_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 41 # 1. Loop super user and non-super user to run the test case. 42 # 2. Create basedir and a set of subdirectores and files within it. 50 # chmod --> basedir -| 65 # CODING_STATUS: COMPLETED (2006-03-02) 79 if [[ -f $ofile ]]; then 80 log_must $RM -f $ofile 84 if [[ -d $dir ]]; then 85 log_must $RM -rf $dir 95 set -A aclinherit_flag discard noallow secure passthrough [all …]
|
| H A D | zfs_acl_chmod_inherit_003_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 41 # 1. Loop super user and non-super user to run the test case. 42 # 2. Create basedir and a set of subdirectores and files within it. 50 # chmod --> basedir -| 65 # CODING_STATUS: COMPLETED (2008-07-04) 79 if [[ -f $ofile ]]; then 80 log_must $RM -f $ofile 84 if [[ -d $dir ]]; then 85 log_must $RM -rf $dir 95 set -A aclinherit_flag discard noallow secure passthrough [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/spi/ |
| H A D | spi-synquacer.txt | 1 * Socionext Synquacer HS-SPI bindings 4 - compatible: should be "socionext,synquacer-spi" 5 - reg: physical base address of the controller and length of memory mapped 7 - interrupts: should contain the "spi_rx", "spi_tx" and "spi_fault" interrupts. 8 - clocks: core clock iHCLK. Optional rate clock iPCLK (default is iHCLK) 9 - clock-names: Shall be "iHCLK" and "iPCLK" respectively 12 - socionext,use-rtm: boolean, if required to use "retimed clock" for RX 13 - socionext,set-aces: boolean, if same active clock edges field to be set. 18 compatible = "socionext,synquacer-spi"; 24 clock-names = "iHCLK"; [all …]
|
| H A D | socionext,synquacer-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/socionext,synquacer-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Socionext SynQuacer HS-SPI Controller 10 - Masahisa Kojima <masahisa.kojima@linaro.org> 11 - Jassi Brar <jaswinder.singh@linaro.org> 14 - $ref: spi-controller.yaml# 18 const: socionext,synquacer-spi 26 - description: core clock [all …]
|
| /freebsd/contrib/lib9p/ |
| H A D | genacl.h | 43 * ask for the latter, but if you use the Ubuntu nfs4-acl-tools 48 * - Lustre uses "trusted.*", with "*" matching "lov", "lma", 52 * - ceph has a name tree of the form "ceph.<type>.<name>" with 56 * - ext4 uses the POSIX names, plus some special ext4-specific 59 * - NFS uses both the POSIX names and the NFSv4 ACLs. However, 63 * lets nfs4-acl-tools read and write the system.nfs4_acl xattr 68 * - "security.*" and "selinux.*" are reserved. 70 * - "security.capability" is the name for capabilities. 72 * - sockets use "system.sockprotoname". 89 * An ACL consists of a number of ACEs that grant some kind of [all …]
|
| H A D | genacl.c | 61 * Is the given group ID tid (test-id) any of the gid's in agids? 81 * of ACEs, or find something explicitly denied (DENIED!), 82 * or have cleared out all our attempt-something bits. Once 91 * -1 (negative = no = denied), or 0 (no strong answer). 112 for (i = 0; mask != 0 && i < acl->acl_nace; i++) { in l9p_check_aces() 113 ace = &acl->acl_aces[i]; in l9p_check_aces() 114 switch (ace->ace_type) { in l9p_check_aces() 119 /* audit, alarm - ignore */ in l9p_check_aces() 125 if (ace->ace_flags & L9P_ACEF_OWNER) { in l9p_check_aces() 129 match = st->st_uid == uid; in l9p_check_aces() [all …]
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_acl.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 103 return (((zfs_oldace_t *)acep)->z_type); in zfs_ace_v0_get_type() 109 return (((zfs_oldace_t *)acep)->z_flags); in zfs_ace_v0_get_flags() 115 return (((zfs_oldace_t *)acep)->z_access_mask); in zfs_ace_v0_get_mask() 121 return (((zfs_oldace_t *)acep)->z_fuid); in zfs_ace_v0_get_who() 127 ((zfs_oldace_t *)acep)->z_type = type; in zfs_ace_v0_set_type() 133 ((zfs_oldace_t *)acep)->z_flags = flags; in zfs_ace_v0_set_flags() 139 ((zfs_oldace_t *)acep)->z_access_mask = mask; in zfs_ace_v0_set_mask() 145 ((zfs_oldace_t *)acep)->z_fuid = who; in zfs_ace_v0_set_who() [all …]
|
| /freebsd/sys/contrib/openzfs/man/man7/ |
| H A D | zfsprops.7 | 1 .\" SPDX-License-Identifier: CDDL-1.0 10 .\" or https://opensource.org/licenses/CDDL-1.0. 35 .\" Copyright (c) 2014-2015, The FreeBSD Foundation, All Rights Reserved. 39 .\" Copyright (c) 2019, Kjeld Schouten-Lebbing 48 .Nd native and user-defined properties of ZFS datasets 51 Properties are divided into two types, native properties and user-defined 57 In addition, native properties are either editable or read-only. 65 Every dataset has a set of properties that export statistics about the dataset 71 The values of numeric properties can be specified using human-readable suffixes 88 The values of non-numeric properties are case sensitive and must be lowercase, [all …]
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_acl.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 103 return (((zfs_oldace_t *)acep)->z_type); in zfs_ace_v0_get_type() 109 return (((zfs_oldace_t *)acep)->z_flags); in zfs_ace_v0_get_flags() 115 return (((zfs_oldace_t *)acep)->z_access_mask); in zfs_ace_v0_get_mask() 121 return (((zfs_oldace_t *)acep)->z_fuid); in zfs_ace_v0_get_who() 127 ((zfs_oldace_t *)acep)->z_type = type; in zfs_ace_v0_set_type() 133 ((zfs_oldace_t *)acep)->z_flags = flags; in zfs_ace_v0_set_flags() 139 ((zfs_oldace_t *)acep)->z_access_mask = mask; in zfs_ace_v0_set_mask() 145 ((zfs_oldace_t *)acep)->z_fuid = who; in zfs_ace_v0_set_who() [all …]
|
| /freebsd/sys/kern/ |
| H A D | subr_acl_nfs4.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008-2010 Edward Tomasz Napierała <trasz@FreeBSD.org> 64 &acl_nfs4_old_semantics, 0, "Use pre-PSARC/2010/029 NFSv4 ACL semantics"); 118 KASSERT(aclp->acl_cnt <= ACL_MAX_ENTRIES, in _acl_denies() 119 ("aclp->acl_cnt <= ACL_MAX_ENTRIES")); in _acl_denies() 121 for (i = 0; i < aclp->acl_cnt; i++) { in _acl_denies() 122 entry = &(aclp->acl_entry[i]); in _acl_denies() 124 if (entry->ae_entry_type != ACL_ENTRY_TYPE_ALLOW && in _acl_denies() 125 entry->ae_entry_type != ACL_ENTRY_TYPE_DENY) in _acl_denies() [all …]
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_entry_acl.3 | 43 Streaming Archive Library (libarchive, -larchive) 119 Each entry specifies the permission set as a bitmask of basic permissions. 123 .Bl -tag -offset indent -compact -width "ARCHIVE_ENTRY_ACL_EXECUTE" 134 .Bl -hang -offset indent -compact -widt [all...] |
| /freebsd/share/man/man9/ |
| H A D | usbdi.9 | 150 "xfer->priv_sc". 154 This pointer is used to initialize "xfer->priv_mtx". 156 A non-zero return value indicates failure. 185 This function is always non-blocking and must be called with the 186 so-called private USB mutex locked. 198 This function is always non-blocking and must be called with the 199 so-called private USB mutex locked. 257 .Bd -literal -offset indent 303 length is set by 308 then the number of frames should be set to 1. [all …]
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | README-Windows.txt | 4 Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi> and contributors 17 mainly on Windows XP (SP2) with limited set of NDIS drivers. In 23 - plaintext 24 - static WEP / open system authentication 25 - static WEP / shared key authentication 26 - IEEE 802.1X with dynamic WEP keys 27 - WPA-PSK, TKIP, CCMP, TKIP+CCMP 28 - WPA-EAP, TKIP, CCMP, TKIP+CCMP 29 - WPA2-PSK, TKIP, CCMP, TKIP+CCMP 30 - WPA2-EAP, TKIP, CCMP, TKIP+CCMP [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/acl/ |
| H A D | acl_common.kshlib | 41 # $1 object -- file or directroy 50 $LS -ld $obj | $AWK '{print $1}' 56 # $1 object -- file or directroy 65 $LS -vd $obj | $NAWK '(NR != 1) {print $0}' 71 # $1 object -- file or directroy 80 $LS -Vd $obj | $NAWK '(NR != 1) {print $0}' 104 typeset -i ret=0 107 $RM -f $tmpsrc $tmptgt 117 $RM -f $tmpsrc $tmptgt 133 typeset -i i=0 [all …]
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | acl_common.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 158 * returns (-1 = less than, 0 = equal, 1 = greater than 177 for (j = i - g; j >= 0 && in ksort() 179 j -= g) { in ksort() 194 * -1 (less than) 205 if (x->a_type < y->a_type) in cmp2acls() 206 return (-1); in cmp2acls() 207 if (x->a_type > y->a_type) in cmp2acls() 210 if (x->a_id < y->a_id) in cmp2acls() [all …]
|
| /freebsd/sys/cddl/boot/zfs/ |
| H A D | zfsimpl.h | 1 /*- 7 * McAfee, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as 74 #define AVL_ISIGN(a) (((a) > 0) - ((a) < 0)) 75 #define AVL_CMP(a, b) (((a) > (b)) - ((a) < (b))) 77 (((uintptr_t)(a) > (uintptr_t)(b)) - ((uintptr_t)(a) < (uintptr_t)(b))) 84 #define ZFS_CRC64_POLY 0xC96C5795D7870F42ULL /* ECMA-182, reflected form */ 90 #define P2ALIGN(x, align) ((x) & -(align)) 91 #define P2PHASE(x, align) ((x) & ((align) - 1)) 92 #define P2NPHASE(x, align) (-(x) & ((align) - 1)) 93 #define P2ROUNDUP(x, align) (-(-(x) & -(align))) [all …]
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zfs_log.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 53 * of 2 contexts depending on zilog->z_replay: 56 * --------------- 61 * a sequence number and inserted in the in-memory list anchored in the zilog. 64 * ----------- 73 int isxvattr = (vap->va_mask & ATTR_XVATTR); in zfs_log_create_txtype() 105 * for the create time which may be set. Following the create time 106 * records a single 64 bit integer which has the bits to set on 117 lrattr->lr_attr_masksize = xvap->xva_mapsize; in zfs_log_xvattr() [all …]
|