Home
last modified time | relevance | path

Searched refs:access (Results 1 – 25 of 1093) sorted by relevance

12345678910>>...44

/freebsd-12.1/sys/sys/
H A Dsysctl.h305 CTASSERT(((access) & CTLTYPE) == 0 || \
315 CTASSERT(((access) & CTLTYPE) == 0 || \
324 CTASSERT(((access) & CTLTYPE) == 0 || \
332 CTASSERT(((access) & CTLTYPE) == 0 || \
335 CTLTYPE_NODE|(access), \
360 CTASSERT(!(access & CTLFLAG_WR)); \
367 CTASSERT(!(access & CTLFLAG_WR)); \
381 CTASSERT(((access) & CTLTYPE) == 0 && \
387 CTASSERT(((access) & CTLTYPE) == 0); \
682 ((access) & CTLTYPE) == 0); \
[all …]
/freebsd-12.1/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_004_pos.ksh66 typeset access=$4
69 if [[ $rflag == "allow" && $access == execute ]]; then
70 rwx_node $user $node $access
77 log_note "SUCCESS: rwx_node $user $node $access"
79 log_fail "FAIL: rwx_node $user $node $access"
82 $log rwx_node $user $node $access
90 typeset access=$2
120 $log rwx_node $ZFS_ACL_OTHER1 $node $access
121 $rlog rwx_node $ZFS_ACL_OTHER2 $node $access
144 for access in ${a_access[@]}; do
[all …]
/freebsd-12.1/contrib/subversion/subversion/libsvn_repos/
H A Dconfig_file.c178 config_access_t *access, in handle_missing_file() argument
185 *stream = svn_stream_empty(access->pool); in handle_missing_file()
206 config_access_t *access, in get_repos_config() argument
223 if (access->repos) in get_repos_config()
232 access->repos = NULL; in get_repos_config()
236 if (!access->repos) in get_repos_config()
249 fs = svn_repos_fs(access->repos); in get_repos_config()
277 config_access_t *access, in get_file_config() argument
309 config_access_t *access, in get_generic_config() argument
348 svn_pool_destroy(access->pool); in svn_repos__destroy_config_access()
[all …]
H A Dauthz_info.c49 authz_access_t access; in svn_authz__get_acl_access() local
71 access = (has_access ? acl->authn_access : authz_access_none); in svn_authz__get_acl_access()
84 access |= ace->access; in svn_authz__get_acl_access()
90 *access_p = access; in svn_authz__get_acl_access()
H A Dauthz_parse.c909 if ((access & authz_access_write_flag) && !(access & authz_access_read_flag)) in add_access_entry()
921 acl->acl.anon_access |= access; in add_access_entry()
941 ace->access |= access; in add_access_entry()
950 ace->access = access; in add_access_entry()
1125 ace->access |= aliased_ace->access; in merge_alias_ace()
1170 authz_access_t access) in update_rights() argument
1172 rights->min_access &= access; in update_rights()
1173 rights->max_access |= access; in update_rights()
1190 update_rights(rights, access); in update_global_rights()
1196 update_rights(rights, access); in update_global_rights()
[all …]
H A Dauthz.c82 path_access_t access; member
98 return rights->access.sequence_number != NO_SEQUENCE_NUMBER; in has_local_rule()
109 if (target->access.sequence_number < rights->access.sequence_number) in combine_access()
110 target->access = rights->access; in combine_access()
446 rights.access = *path_access; in insert_path()
841 local_sum->max_rights = local_sum->access.rights; in finalize_tree()
842 local_sum->min_rights = local_sum->access.rights; in finalize_tree()
932 root->rights.access.sequence_number = 0; in create_user_authz()
933 root->rights.access.rights = authz_access_none; in create_user_authz()
1280 state->rights.access.rights = authz_access_none; in lookup()
[all …]
/freebsd-12.1/contrib/ntp/lib/isc/
H A Dfsaccess.c38 isc_fsaccess_add(int trustee, int permission, isc_fsaccess_t *access) { in isc_fsaccess_add() argument
43 *access |= permission; in isc_fsaccess_add()
46 *access |= (permission << GROUP); in isc_fsaccess_add()
49 *access |= (permission << OTHER); in isc_fsaccess_add()
53 isc_fsaccess_remove(int trustee, int permission, isc_fsaccess_t *access) { in isc_fsaccess_remove() argument
59 *access &= ~permission; in isc_fsaccess_remove()
62 *access &= ~(permission << GROUP); in isc_fsaccess_remove()
65 *access &= ~(permission << OTHER); in isc_fsaccess_remove()
69 check_bad_bits(isc_fsaccess_t access, isc_boolean_t is_dir) { in check_bad_bits() argument
94 if ((access & bits) != 0) { in check_bad_bits()
/freebsd-12.1/tests/sys/fs/fusefs/
H A Dlookup.cc134 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
160 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
181 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
191 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
208 ASSERT_EQ(-1, access(FULLPATH, F_OK)); in TEST_F()
228 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
230 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
245 EXPECT_NE(0, access("mountpoint/does_not_exist", F_OK)); in TEST_F()
262 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
268 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
[all …]
H A Daccess.cc71 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
90 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
91 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
104 ASSERT_NE(0, access(FULLPATH, access_mode)); in TEST_F()
120 ASSERT_EQ(0, access(FULLPATH, access_mode)) << strerror(errno); in TEST_F()
/freebsd-12.1/contrib/ntp/lib/isc/win32/
H A Dfsaccess.c114 FAT_fsaccess_set(const char *path, isc_fsaccess_t access) { in FAT_fsaccess_set() argument
124 if ((access & bits) != 0) { \ in FAT_fsaccess_set()
126 access &= ~bits; \ in FAT_fsaccess_set()
145 INSIST(access == 0); in FAT_fsaccess_set()
197 caccess = access; in NTFS_Access_Control()
283 NTFS_fsaccess_set(const char *path, isc_fsaccess_t access, in NTFS_fsaccess_set() argument
295 return (NTFS_Access_Control(path, username, access, isdir)); in NTFS_fsaccess_set()
299 isc_fsaccess_set(const char *path, isc_fsaccess_t access) { in isc_fsaccess_set() argument
312 result = check_bad_bits(access, is_dir); in isc_fsaccess_set()
321 return (NTFS_fsaccess_set(path, access, is_dir)); in isc_fsaccess_set()
[all …]
/freebsd-12.1/lib/libc/x86/sys/
H A Dpkru.c51 x86_pkru_get_perm_unsup(u_int keyidx, int *access, int *modify) in x86_pkru_get_perm_unsup() argument
59 x86_pkru_get_perm_hw(u_int keyidx, int *access, int *modify) in x86_pkru_get_perm_hw() argument
69 *access = (pkru & (1 << keyidx)) == 0; in x86_pkru_get_perm_hw()
82 x86_pkru_set_perm_unsup(u_int keyidx, int access, int modify) in x86_pkru_set_perm_unsup() argument
90 x86_pkru_set_perm_hw(u_int keyidx, int access, int modify) in x86_pkru_set_perm_hw() argument
101 if (!access) in x86_pkru_set_perm_hw()
/freebsd-12.1/contrib/netbsd-tests/lib/libc/sys/
H A Dt_access.c76 ATF_REQUIRE(access(path, mode[i]) != 0); in ATF_TC_BODY()
102 ATF_REQUIRE(access(NULL, mode[i]) != 0); in ATF_TC_BODY()
107 ATF_REQUIRE(access((char *)-1, mode[i]) != 0); in ATF_TC_BODY()
127 ATF_REQUIRE(access("/usr", -1) != 0); in ATF_TC_BODY()
155 ATF_REQUIRE(access("/etc/passwd//", mode[i]) != 0); in ATF_TC_BODY()
174 ATF_REQUIRE(access("", mode[i]) != 0); in ATF_TC_BODY()
202 ATF_REQUIRE(access(buf, mode[i]) != 0); in ATF_TC_BODY()
/freebsd-12.1/contrib/ntp/lib/isc/unix/
H A Dfsaccess.c36 isc_fsaccess_set(const char *path, isc_fsaccess_t access) { in isc_fsaccess_set() argument
51 result = check_bad_bits(access, is_dir); in isc_fsaccess_set()
61 if ((access & bits) != 0) { \ in isc_fsaccess_set()
63 access &= ~bits; \ in isc_fsaccess_set()
87 INSIST(access == 0); in isc_fsaccess_set()
/freebsd-12.1/sys/amd64/vmm/intel/
H A Dvmcs.c254 uint32_t base, limit, access; in vmcs_setdesc() local
256 error = vmcs_seg_desc_encoding(seg, &base, &limit, &access); in vmcs_setdesc()
268 if (access != VMCS_INVALID_ENCODING) { in vmcs_setdesc()
269 if ((error = vmwrite(access, desc->access)) != 0) in vmcs_setdesc()
282 uint32_t base, limit, access; in vmcs_getdesc() local
285 error = vmcs_seg_desc_encoding(seg, &base, &limit, &access); in vmcs_getdesc()
299 if (access != VMCS_INVALID_ENCODING) { in vmcs_getdesc()
300 if ((error = vmread(access, &u64)) != 0) in vmcs_getdesc()
302 desc->access = u64; in vmcs_getdesc()
/freebsd-12.1/usr.sbin/bhyve/
H A Dtask_switch.c133 seg_desc.access |= usd->sd_xx << 12; in usd_to_seg_desc()
135 seg_desc.access |= usd->sd_gran << 15; in usd_to_seg_desc()
179 uint32_t limit, access; in desc_table_limit_check() local
187 if (SEG_DESC_UNUSABLE(access) || !SEG_DESC_PRESENT(access)) in desc_table_limit_check()
212 uint32_t limit, access; in desc_table_rw() local
715 uint32_t eip, ot_lim, access; in vmexit_task_switch() local
751 nt_type = SEG_DESC_TYPE(nt.access); in vmexit_task_switch()
759 if (!SEG_DESC_PRESENT(nt.access)) { in vmexit_task_switch()
817 &access); in vmexit_task_switch()
819 assert(!SEG_DESC_UNUSABLE(access) && SEG_DESC_PRESENT(access)); in vmexit_task_switch()
[all …]
/freebsd-12.1/sys/amd64/include/
H A Dvmm.h455 uint32_t access; member
457 #define SEG_DESC_TYPE(access) ((access) & 0x001f) argument
458 #define SEG_DESC_DPL(access) (((access) >> 5) & 0x3) argument
459 #define SEG_DESC_PRESENT(access) (((access) & 0x0080) ? 1 : 0) argument
460 #define SEG_DESC_DEF32(access) (((access) & 0x4000) ? 1 : 0) argument
461 #define SEG_DESC_GRANULARITY(access) (((access) & 0x8000) ? 1 : 0) argument
462 #define SEG_DESC_UNUSABLE(access) (((access) & 0x10000) ? 1 : 0) argument
/freebsd-12.1/sys/dev/cxgbe/firmware/
H A Dt6fw_cfg_uwire.txt218 # NVI_NIC = 4 # NIC access to NPORTS
356 cmask = all # access to all channels
369 cmask = all # access to all channels
381 cmask = all # access to all channels
393 cmask = all # access to all channels
413 cmask = all # access to all channels
445 cmask = all # access to all channels
469 cmask = all # access to all channels
488 cmask = all # access to all channels
508 cmask = all # access to all channels
[all …]
H A Dt5fw_cfg_uwire.txt212 # NVI_NIC = 4 # NIC access to NPORTS
352 cmask = all # access to all channels
365 cmask = all # access to all channels
378 cmask = all # access to all channels
391 cmask = all # access to all channels
410 cmask = all # access to all channels
439 cmask = all # access to all channels
462 cmask = all # access to all channels
481 cmask = all # access to all channels
501 cmask = all # access to all channels
[all …]
H A Dt4fw_cfg_uwire.txt177 # NVI_NIC = 4 # NIC access to NPORTS
316 cmask = all # access to all channels
328 cmask = all # access to all channels
340 cmask = all # access to all channels
352 cmask = all # access to all channels
369 cmask = all # access to all channels
397 cmask = all # access to all channels
419 cmask = all # access to all channels
437 cmask = all # access to all channels
456 cmask = all # access to all channels
[all …]
/freebsd-12.1/tools/regression/security/access/
H A Dtestaccess.c219 error = access("test1", R_OK); in main()
248 error = access("test2", R_OK); in main()
264 error = access("test3", R_OK); in main()
302 error = access("test4", R_OK); in main()
316 error = access("test5", R_OK); in main()
332 error = access("test6", R_OK); in main()
/freebsd-12.1/contrib/ntp/lib/isc/include/isc/
H A Dfsaccess.h168 isc_fsaccess_add(int trustee, int permission, isc_fsaccess_t *access);
171 isc_fsaccess_remove(int trustee, int permission, isc_fsaccess_t *access);
174 isc_fsaccess_set(const char *path, isc_fsaccess_t access);
/freebsd-12.1/sys/contrib/ngatm/netnatm/msg/
H A Die.def42 element connedsub 0x4d itu 25 access file=addr
45 element aal 0x58 itu 21 access
51 element bhli 0x5d itu 13 access
53 element blli 0x5f itu 17 access
59 element callingsub 0x6d itu 25 access file=addr
61 element calledsub 0x71 itu 25 access file=addr
65 element uu 0x7e itu UNI_UU_MAXLEN+4 access !pnni
/freebsd-12.1/sys/amd64/vmm/amd/
H A Dvmcb.c387 attrib = ((desc->access & 0xF000) >> 4) | (desc->access & 0xFF); in vmcb_setdesc()
388 if (SEG_DESC_UNUSABLE(desc->access)) { in vmcb_setdesc()
430 desc->access = 0; in vmcb_getdesc()
434 desc->access = ((seg->attrib & 0xF00) << 4) | in vmcb_getdesc()
448 if ((desc->access & 0x80) == 0) in vmcb_getdesc()
449 desc->access |= 0x10000; /* Unusable segment */ in vmcb_getdesc()
/freebsd-12.1/sys/dev/ocs_fc/
H A Docs_mgmt.h101 extern void ocs_mgmt_emit_property_name(ocs_textbuf_t *textbuf, int access, const char *name);
102 extern void ocs_mgmt_emit_string(ocs_textbuf_t *textbuf, int access, const char *name, const char *…
104 extern void ocs_mgmt_emit_int(ocs_textbuf_t *textbuf, int access, const char *name, const char *fmt…
105 extern void ocs_mgmt_emit_boolean(ocs_textbuf_t *textbuf, int access, const char *name, const int v…
/freebsd-12.1/lib/libc/i386/sys/
H A Di386_set_watch.c39 int access, struct dbreg * d) in i386_set_watch() argument
54 switch (access) { in i386_set_watch()
74 mask |= access; in i386_set_watch()

12345678910>>...44