Home
last modified time | relevance | path

Searched full:ace (Results 1 – 25 of 203) sorted by relevance

123456789

/freebsd/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_acl.c104 const ace_t *ace; in acl_from_aces() local
127 ace = &(aces[i]); in acl_from_aces()
129 if (ace->a_flags & ACE_OWNER) in acl_from_aces()
131 else if (ace->a_flags & ACE_GROUP) in acl_from_aces()
133 else if (ace->a_flags & ACE_EVERYONE) in acl_from_aces()
135 else if (ace->a_flags & ACE_IDENTIFIER_GROUP) in acl_from_aces()
141 entry->ae_id = ace->a_who; in acl_from_aces()
145 entry->ae_perm = _bsd_from_zfs(ace->a_access_mask, perms); in acl_from_aces()
146 entry->ae_flags = _bsd_from_zfs(ace->a_flags, flags); in acl_from_aces()
148 switch (ace->a_type) { in acl_from_aces()
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_acl.c106 const ace_t *ace; in acl_from_aces() local
129 ace = &(aces[i]); in acl_from_aces()
131 if (ace->a_flags & ACE_OWNER) in acl_from_aces()
133 else if (ace->a_flags & ACE_GROUP) in acl_from_aces()
135 else if (ace->a_flags & ACE_EVERYONE) in acl_from_aces()
137 else if (ace->a_flags & ACE_IDENTIFIER_GROUP) in acl_from_aces()
143 entry->ae_id = ace->a_who; in acl_from_aces()
147 entry->ae_perm = _bsd_from_zfs(ace->a_access_mask, perms); in acl_from_aces()
148 entry->ae_flags = _bsd_from_zfs(ace->a_flags, flags); in acl_from_aces()
150 switch (ace->a_type) { in acl_from_aces()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dgrace4 # ACE/gr and Grace type files - PLEASE DO NOT REMOVE THIS LINE
6 # ACE/gr binary
7 …0\000\0000\000\000\0000\000\000\0002\000\000\0000\000\000\0000\000\000\0003 old ACE/gr binary file
9 # ACE/gr ascii
10 0 string #\ xvgr\ parameter\ file ACE/gr ascii file
11 0 string #\ xmgr\ parameter\ file ACE/gr ascii file
12 0 string #\ ACE/gr\ parameter\ file ACE/gr ascii file
19 # ACE/gr fit description files
20 0 string #\ ACE/gr\ fit\ description\ ACE/gr fit description file
21 # end of ACE/gr and Grace type files - PLEASE DO NOT REMOVE THIS LINE
/freebsd/sys/fs/nfs/
H A Dnfs_commonacl.c39 * Handle xdr for an ace.
185 * Turn an NFSv4 ace mask into R/W/X flag bits.
282 * This function builds an NFS ace.
286 __enum_uint8(vtype) type, int group, int owner, struct acl_entry *ace) in nfsrv_buildace() argument
295 * Fill in the ace type. in nfsrv_buildace()
297 if (ace->ae_entry_type & ACL_ENTRY_TYPE_ALLOW) in nfsrv_buildace()
299 else if (ace->ae_entry_type & ACL_ENTRY_TYPE_DENY) in nfsrv_buildace()
301 else if (ace->ae_entry_type & ACL_ENTRY_TYPE_AUDIT) in nfsrv_buildace()
310 if (ace->ae_flags & ACL_ENTRY_FILE_INHERIT) in nfsrv_buildace()
312 if (ace->ae_flags & ACL_ENTRY_DIRECTORY_INHERIT) in nfsrv_buildace()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_001_pos.ksh41 # 3. get ACE after behaviours of chmod
42 # 4. compare specified ACE and excpect ACE
74 function test_chmod_ACE_list #$opt $num $ace-spec $node
78 typeset ace=$3
82 # Get expect ACE count
92 log_must usr_exec $CHMOD "$opt$ace" "$node"
97 # Get the current ACE count and specified ACE
104 if [[ "$num:$ace" != "$cur_ace" ]]; then
105 log_fail "FAIL: $CHMOD $opt$ace $node"
120 for ace in $file_ACEs; do
[all …]
H A Dzfs_acl_chmod_inherit_002_pos.ksh133 # count: the ACE item to fetch
134 # pass: to mark if the current ACE should apply to the target
137 # then no additional ACE should apply.
139 # step: indicate if the ACE be split during inherit.
146 # Get the files which inherited ACE.
154 # Get the directores which inherited ACE.
194 # only inherit inheritable ACE that specify "deny" permissions
239 # only one ACE should left.
263 # cleanup the first ACE if the directory
274 # Get the first ACE to do comparison
[all …]
H A Dzfs_acl_chmod_compact_001_pos.ksh115 # According to the input ACE access,ACE type, and inherit flags, return the
116 # expect compact ACE that could be used by chmod A0{+|=}'.
118 # $1 ACE flag which is owner, group, or everyone
119 # $2 ACE access generated by the element of a_access
120 # $3 ACE inherit_object generated by the element of a_inherit_object
121 # $4 ACE inherit_strategy generated by the element of a_inherit_strategy
122 # $5 ACE type which is allow or deny
169 # Check if chmod set the compact ACE correctly.
188 expected ace($expect_ace)"
227 # To "A=", firstly add one ACE which can't modify map
H A Dzfs_acl_chmod_inherit_003_pos.ksh134 # count: the ACE item to fetch
135 # pass: to mark if the current ACE should apply to the target
138 # then no additional ACE should apply.
140 # step: indicate if the ACE be split during inherit.
147 # Get the files which inherited ACE.
155 # Get the directores which inherited ACE.
195 # only inherit inheritable ACE that specify "deny" permissions
250 # only one ACE should left.
276 # cleanup the first ACE if the directory
287 # Get the first ACE to do comparison
[all …]
H A Dzfs_acl_chmod_aclmode_001_pos.ksh112 # According to the original bits, the input ACE access and ACE type, return the
118 # $3 ACE access which is read_data, write_data or execute
119 # $4 ACE type which is allow or deny
201 # To translate an ace if the node is dir
236 # count: the ACE item to fetch
237 # pass: to mark if the current ACE should apply to the target
239 # then no additional ACE should apply.
240 # step: indicate if the ACE be split during aclmode.
359 # Get the first ACE to do comparison
366 "ACE: $aclcur, expect to be " \
[all …]
H A Dzfs_acl_chmod_001_neg.ksh37 # 2) Delete all the ACE will lead to fail.
38 # 3) Add ACE exceed 1024 will cause to fail.
43 # 3. Verify 'chmod A0-' will fail when try to delete all the ACE.
44 # 4. Verify 'chmod A+' will succeed when the ACE number exceed 1024.
109 # One more ACE exceed the max limitation.
H A Dzfs_acl_chmod_rwx_002_pos.ksh108 # According to the original bits, the input ACE access and ACE type, return the
112 # $2 ACE access which is read_data, write_data or execute
113 # $3 ACE type which is allow or deny
143 # Based on the initial node map before chmod and the ace-spec, check if chmod
211 # To "A=", firstly add one ACE which can't modify map
/freebsd/crypto/heimdal/lib/wind/
H A Drfc3490.txt67 5. ACE prefix.................................................... 12
72 6.4 Avoiding exposing users to the raw ACE encoding........... 16
324 applications, IDNA uses an "ACE label" (ACE stands for ASCII
325 Compatible Encoding). An ACE label is an internationalized label
329 operation will convert it to an equivalent ACE label (whereas an
330 ASCII label will be left unaltered by ToASCII). ACE labels are
332 convert any label to an equivalent non-ACE label. In fact, an ACE
334 operation would alter (whereas non-ACE labels are left unaltered by
343 ToUnicode). Every ACE label begins with the ACE prefix specified in
347 The "ACE prefix" is defined in this document to be a string of ASCII
[all …]
/freebsd/contrib/lib9p/
H A Dgenacl.c80 * That is, we check each ACE sequentially until we run out
101 struct l9p_ace *ace; in l9p_check_aces() local
113 ace = &acl->acl_aces[i]; in l9p_check_aces()
114 switch (ace->ace_type) { in l9p_check_aces()
125 if (ace->ace_flags & L9P_ACEF_OWNER) { in l9p_check_aces()
130 } else if (ace->ace_flags & L9P_ACEF_GROUP) { in l9p_check_aces()
135 } else if (ace->ace_flags & L9P_ACEF_EVERYONE) { in l9p_check_aces()
141 if (ace->ace_idsize != sizeof(tid)) in l9p_check_aces()
146 memcpy(&tid, &ace->ace_idbytes, sizeof(tid)); in l9p_check_aces()
147 if (ace->ace_flags & L9P_ACEF_IDENTIFIER_GROUP) { in l9p_check_aces()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_byteswap.c38 zfs_oldace_byteswap(ace_t *ace, int ace_cnt) in zfs_oldace_byteswap() argument
40 for (int i = 0; i != ace_cnt; i++, ace++) { in zfs_oldace_byteswap()
41 ace->a_who = BSWAP_32(ace->a_who); in zfs_oldace_byteswap()
42 ace->a_access_mask = BSWAP_32(ace->a_access_mask); in zfs_oldace_byteswap()
43 ace->a_flags = BSWAP_16(ace->a_flags); in zfs_oldace_byteswap()
44 ace->a_type = BSWAP_16(ace->a_type); in zfs_oldace_byteswap()
78 * okay. It is safe to swap any non-ace data in zfs_ace_byteswap()
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_acl.h49 TP_PROTO(znode_t *zn, zfs_ace_hdr_t *ace, uint32_t mask_matched),
50 TP_ARGS(zn, ace, mask_matched),
111 __entry->z_type = ace->z_type;
112 __entry->z_flags = ace->z_flags;
113 __entry->z_access_mask = ace->z_access_mask;
124 "ace { type %u flags %u access_mask %u } mask_matched %u",
141 TP_PROTO(znode_t *zn, zfs_ace_hdr_t *ace, uint32_t mask_matched), \
142 TP_ARGS(zn, ace, mask_matched))
/freebsd/sys/kern/
H A Dsubr_acl_nfs4.c380 * 1. For each ACE: in acl_nfs4_sync_acl_from_mode_draft()
405 * 1.3.1. A copy of the current ACE is made, and placed in acl_nfs4_sync_acl_from_mode_draft()
407 * ACE. in acl_nfs4_sync_acl_from_mode_draft()
412 * 1.3.2. In the first ACE, the flag in acl_nfs4_sync_acl_from_mode_draft()
418 * 1.3.3. In the second ACE, the following flags in acl_nfs4_sync_acl_from_mode_draft()
429 * The algorithm continues on with the second ACE. in acl_nfs4_sync_acl_from_mode_draft()
452 * 1.5.1. If the type is ALLOW, check the preceding ACE. in acl_nfs4_sync_acl_from_mode_draft()
471 * ACE, in acl_nfs4_sync_acl_from_mode_draft()
474 * is the same as it is in the current ACE, in acl_nfs4_sync_acl_from_mode_draft()
486 * of the current ACE, and are also subset of in acl_nfs4_sync_acl_from_mode_draft()
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_acl.h77 * Standard ACE
122 uint16_t z_acl_count; /* ace count */
139 size_t (*ace_size)(void *acep); /* how big is this ace */
141 int (*ace_mask_off)(void); /* off of access mask in ace */
154 void *z_acldata; /* pointer into actual ACE(s) */
159 int z_ace_idx; /* ace iterator positioned on */
166 void *z_next_ace; /* pointer to next ACE */
169 list_t z_acl; /* chunks of ACE data */
/freebsd/sys/geom/
H A Dgeom_subr.c195 if (pp->acr || pp->acw || pp->ace) { in g_unload_class()
200 if (cp->acr || cp->acw || cp->ace) { in g_unload_class()
327 if (pp->acr || pp->acw || pp->ace) in g_retaste_event()
471 if (cp->acr || cp->acw || cp->ace) in g_wither_geom_close()
472 g_access(cp, -cp->acr, -cp->acw, -cp->ace); in g_wither_geom_close()
504 if (cp->acr || cp->acw || cp->ace) in g_wither_washer()
550 KASSERT (cp->ace == 0, ("g_destroy_consumer with ace")); in g_destroy_consumer()
798 KASSERT (pp->ace == 0, ("g_destroy_provider with ace")); in g_destroy_provider()
920 KASSERT(cp->ace == 0, ("detach but nonzero ace")); in g_detach()
963 KASSERT(cp->ace + dce >= 0, ("access resulting in negative ace")); in g_access()
[all …]
/freebsd/crypto/krb5/src/plugins/preauth/securid_sam2/
H A DREADME3 In order to build this library you will need the RSA 's ACE Agent
10 --disable-rpath LDFLAGS=-L/home/developer/ace/ACEAgentSDK/lib/lnx \
11 CPPFLAGS=-I/home/developer/ace/ACEAgentSDK/inc
/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Darm,cci-400.yaml52 - ace
53 - ace-lite
183 interface-type = "ace-lite";
189 interface-type = "ace";
195 interface-type = "ace";
H A Dcci.txt70 Definition: must be set to one of {"ace", "ace-lite"}
193 interface-type = "ace-lite";
199 interface-type = "ace";
205 interface-type = "ace";
/freebsd/sys/contrib/device-tree/src/arm/socionext/
H A Duniphier-pro4-ace.dts3 // Device Tree Source for UniPhier Pro4 Ace Board
12 model = "UniPhier Pro4 Ace Board";
13 compatible = "socionext,uniphier-pro4-ace", "socionext,uniphier-pro4";
/freebsd/contrib/libarchive/libarchive/
H A Darchive_entry_acl.3167 There are four possible types of a NFSv4 ACE:
207 NFSv4 ACE permissions and flags are stored in the same
212 The following ACE permissions are supported:
253 Inherit parent directory ACE to files.
255 Inherit parent directory ACE to subdirectories.
266 Mark that ACE was inherited.
/freebsd/sys/netinet/
H A Dtcp_syncache.h93 #define SCF_ACE_N 0x400 /* send ACE non-ECT setup */
94 #define SCF_ACE_0 0x500 /* send ACE ECT0 setup */
95 #define SCF_ACE_1 0x600 /* send ACE ECT1 setup */
96 #define SCF_ACE_CE 0x700 /* send ACE CE setup */
/freebsd/sys/geom/shsec/
H A Dg_shsec.c167 if (cp->acr > 0 || cp->acw > 0 || cp->ace > 0) in g_shsec_remove_disk()
203 if (pp->acr == 0 && pp->acw == 0 && pp->ace == 0) in g_shsec_access()
206 if ((pp->acr + dr) == 0 && (pp->acw + dw) == 0 && (pp->ace + de) == 0) in g_shsec_access()
214 if (cp1->acr == 0 && cp1->acw == 0 && cp1->ace == 0 && in g_shsec_access()
487 if (fcp != NULL && (fcp->acr > 0 || fcp->acw > 0 || fcp->ace > 0)) { in g_shsec_add_disk()
488 error = g_access(cp, fcp->acr, fcp->acw, fcp->ace); in g_shsec_add_disk()
517 if (fcp != NULL && (fcp->acr > 0 || fcp->acw > 0 || fcp->ace > 0)) in g_shsec_add_disk()
518 g_access(cp, -fcp->acr, -fcp->acw, -fcp->ace); in g_shsec_add_disk()
585 if (pp != NULL && (pp->acr != 0 || pp->acw != 0 || pp->ace != 0)) { in g_shsec_destroy()
592 pp->acr, pp->acw, pp->ace); in g_shsec_destroy()
[all …]

123456789