Home
last modified time | relevance | path

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

12345678910>>...25

/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_access.c57 if (access->data != data) \
61 access = (nscd_access_t *) \
77 nscd_access_t *access; in _nscd_release() local
88 data, access->data, access->seq_num, access->nUse); in _nscd_release()
91 (void) mutex_lock(&access->mutex); in _nscd_release()
92 access->nUse--; in _nscd_release()
93 if (access->nUse < 0) { in _nscd_release()
97 if (access->nUse <= 0 && in _nscd_release()
98 access->delete == 1) { in _nscd_release()
101 (me, "deleting data %p\n", access->data); in _nscd_release()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_004_pos.ksh52 typeset access=$4
55 if [[ $rflag == "allow" && $access == execute ]]; then
56 rwx_node $user $node $access
63 log_note "SUCCESS: rwx_node $user $node $access"
65 log_fail "FAIL: rwx_node $user $node $access"
68 $log rwx_node $user $node $access
75 typeset access=$2
90 log_must usr_exec chmod A+everyone@:$access:$flag $node
91 log_must usr_exec chmod A+user:$ZFS_ACL_OTHER1:$access:$rflag $node
92 check_access $log $ZFS_ACL_OTHER1 $node $access $rflag
[all …]
H A Dzfs_acl_chmod_rwx_003_pos.ksh106 typeset flag access acl_spec
109 for access in ${a_access[@]}; do
111 acl_spec="$flag:$access:$tp"
/illumos-gate/usr/src/uts/intel/sys/
H A Dvmm.h186 uint32_t access; member
188 #define SEG_DESC_TYPE(access) ((access) & 0x001f) argument
191 #define SEG_DESC_DPL(access) \ argument
192 (((access) >> SEG_DESC_DPL_SHIFT) & SEG_DESC_DPL_MASK)
193 #define SEG_DESC_PRESENT(access) (((access) & 0x0080) ? 1 : 0) argument
194 #define SEG_DESC_DEF32(access) (((access) & 0x4000) ? 1 : 0) argument
195 #define SEG_DESC_GRANULARITY(access) (((access) & 0x8000) ? 1 : 0) argument
196 #define SEG_DESC_UNUSABLE(access) (((access) & 0x10000) ? 1 : 0) argument
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_original_elf_init.c63 UNUSEDARG Dwarf_Unsigned access, in dwarf_elf_init_b() argument
70 Dwarf_Unsigned access, in dwarf_elf_init_b()
89 if (access != DW_DLC_READ) { in dwarf_elf_init_b()
128 UNUSEDARG Dwarf_Unsigned access, in dwarf_elf_init() argument
134 Dwarf_Unsigned access, in dwarf_elf_init()
147 access,errhand,errarg,ret_dbg,error); in dwarf_elf_init()
161 UNUSEDARG Dwarf_Unsigned access, in _dwarf_elf_setup() argument
173 UNUSEDARG Dwarf_Unsigned access, in _dwarf_elf_setup()
H A Ddwarf_generic_init.c89 Dwarf_Unsigned access, in dwarf_init() argument
93 return dwarf_init_b(fd,access, DW_GROUPNUMBER_ANY, in dwarf_init()
130 Dwarf_Unsigned access, in dwarf_init_path() argument
179 access,groupnumber,errhand,errarg,&dbg,error); in dwarf_init_path()
196 access,groupnumber,errhand,errarg,&dbg,error); in dwarf_init_path()
213 access,groupnumber,errhand,errarg,&dbg,error); in dwarf_init_path()
237 Dwarf_Unsigned access, in dwarf_init_b() argument
268 access,group_number,errhand,errarg,ret_dbg,error); in dwarf_init_b()
280 access,group_number,errhand,errarg,ret_dbg,error); in dwarf_init_b()
294 access,group_number,errhand,errarg,ret_dbg,error); in dwarf_init_b()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrtape.c76 if (!access("/dev/rmt/.", F_OK)) in strtape()
84 if (!access(tapefile, F_OK)) return(tapefile); in strtape()
88 if (!access(tapefile, F_OK)) return(tapefile); in strtape()
93 else if (!access("/dev/nst0", F_OK)) in strtape()
101 else if (!access("/dev/nrmt0", F_OK)) in strtape()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_auth.c322 int access; in nfsauth4_access() local
324 access = nfsauth_access(exi, req, cr, uid, gid, ngids, gids); in nfsauth4_access()
339 if (access & NFSAUTH_DENIED || access & NFSAUTH_WRONGSEC) { in nfsauth4_access()
348 return (access); in nfsauth4_access()
372 char *req_netid, int flavor, struct netbuf *addr, int *access, in nfsauth_retrieve() argument
417 *access = NFSAUTH_DENIED; in nfsauth_retrieve()
472 *access = NFSAUTH_DROP; in nfsauth_retrieve()
589 *access = res.ares.auth_perm; in nfsauth_retrieve()
610 *access = NFSAUTH_DENIED; in nfsauth_retrieve()
630 int access; in nfsauth_refresh_thread() local
[all …]
H A Dnfs_acl_srv.c326 resp->resok.access = 0; in acl2_access()
328 if (args->access & ACCESS2_READ) { in acl2_access()
331 resp->resok.access |= ACCESS2_READ; in acl2_access()
333 if ((args->access & ACCESS2_LOOKUP) && vp->v_type == VDIR) { in acl2_access()
336 resp->resok.access |= ACCESS2_LOOKUP; in acl2_access()
339 (args->access & (ACCESS2_MODIFY|ACCESS2_EXTEND))) { in acl2_access()
342 resp->resok.access |= in acl2_access()
343 (args->access & (ACCESS2_MODIFY|ACCESS2_EXTEND)); in acl2_access()
346 (args->access & ACCESS2_DELETE) && (vp->v_type == VDIR)) { in acl2_access()
349 resp->resok.access |= ACCESS2_DELETE; in acl2_access()
[all …]
/illumos-gate/usr/src/cmd/bhyve/amd64/
H A Dtask_switch.c142 seg_desc.access = usd->sd_type | usd->sd_dpl << 5 | usd->sd_p << 7; in usd_to_seg_desc()
143 seg_desc.access |= usd->sd_xx << 12; in usd_to_seg_desc()
144 seg_desc.access |= usd->sd_def32 << 14; in usd_to_seg_desc()
145 seg_desc.access |= usd->sd_gran << 15; in usd_to_seg_desc()
189 uint32_t limit, access; in desc_table_limit_check() local
193 error = vm_get_desc(vcpu, reg, &base, &limit, &access); in desc_table_limit_check()
197 if (SEG_DESC_UNUSABLE(access) || !SEG_DESC_PRESENT(access)) in desc_table_limit_check()
222 uint32_t limit, access; in desc_table_rw() local
226 error = vm_get_desc(vcpu, reg, &base, &limit, &access); in desc_table_rw()
376 seg_desc->access = 0x10000; /* unusable */ in validate_seg_desc()
[all …]
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dsysctl.h21 #define SYSCTL_NODE(parent, nbr, name, access, handler, descr) argument
23 #define SYSCTL_INT(parent, nbr, name, access, ptr, val, descr) argument
24 #define SYSCTL_UINT(parent, nbr, name, access, ptr, val, descr) argument
25 #define SYSCTL_ULONG(parent, nbr, name, access, ptr, val, descr) argument
/illumos-gate/usr/src/cmd/fs.d/nfs/exportfs/
H A Dexportfs.sh44 do case $i in *access=* ) eval $i ;; esac ; done
45 if [ ! "$access" ] ; then return ; fi
52 ro | rw ) OPTS="${OPTS}$i=$access," ; ropt="true" ;;
53 access=* ) ;;
57 if [ ! "$ropt" ] ; then OPTS="ro=$access,$OPTS" ; fi
/illumos-gate/usr/src/test/elf-tests/tests/resolution/mixed-hidden-comdat/
H A DMakefile.test14 OBJS=visible.o hidden.o access.o
33 gcc -m64 -shared hidden.o visible.o access.o -o $@
35 libnoref.so: $(OBJS:access.o=) #Remove any references
36 gcc -m64 -Wl,-zignore -shared $(OBJS:access.o=) -o $@
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c87 smb_fsop_amask_to_omode(uint32_t access) in smb_fsop_amask_to_omode() argument
91 if (access & (FILE_READ_DATA | FILE_EXECUTE | in smb_fsop_amask_to_omode()
95 if (access & (FILE_WRITE_DATA | FILE_APPEND_DATA | in smb_fsop_amask_to_omode()
99 if (access & FILE_APPEND_DATA) in smb_fsop_amask_to_omode()
1015 uint32_t access = 0; in smb_fsop_getattr() local
1032 access |= READ_CONTROL; in smb_fsop_getattr()
1036 access |= FILE_READ_ATTRIBUTES; in smb_fsop_getattr()
1038 status = smb_ofile_access(sr->fid_ofile, cr, access); in smb_fsop_getattr()
1311 uint32_t access; in smb_fsop_setattr() local
1349 access = 0; in smb_fsop_setattr()
[all …]
H A Dsmb_tree.c541 uint32_t access; in smb_tree_acl_access() local
545 access = ACE_ALL_PERMS; in smb_tree_acl_access()
553 access = 0; in smb_tree_acl_access()
555 return (access); in smb_tree_acl_access()
568 return (access); in smb_tree_acl_access()
585 smb_vop_eaccess(sharevp, (int *)&access, V_ACE_MASK, NULL, in smb_tree_acl_access()
590 return (access); in smb_tree_acl_access()
617 uint32_t access; in smb_tree_chkaccess() local
650 access = host_access & acl_access; in smb_tree_chkaccess()
651 if ((access & ACE_ALL_PERMS) == 0) { in smb_tree_chkaccess()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dckvolseq.c66 if (access(path, 0)) { in ckvolseq()
92 if (access(path, 0) == 0) in ckvolseq()
95 if (access(path, 0) == 0) in ckvolseq()
100 if (access(path, 0) == 0) in ckvolseq()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dfindscripts.c119 if (access(path, R_OK) == 0) { in find_CAS()
127 if (access(path, R_OK) == 0) { in find_CAS()
151 if (access(path, R_OK) == 0) { in find_CAS()
166 if (access(path, R_OK) == 0) { in find_CAS()
174 if (access(path, R_OK) == 0) { in find_CAS()
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/
H A Dt4fw_cfg.txt68 # Virtual Machines to directly access T4 functionality via SR-IOV
177 # NVI_NIC = 4 # NIC access to NPORTS
184 # NVI_OFLD = 0 # Offload uses NIC function to access ports
191 # NVI_RDMA = 0 # RDMA uses NIC function to access ports
202 # NVI_ISCSI = 4 # ISCSI access to NPORTS
209 # NVI_FCOE = 4 # FCOE access to NPORTS
316 cmask = all # access to all channels
317 pmask = 0x1 # access to only one port
328 cmask = all # access to all channels
329 pmask = 0x2 # access to only one port
[all …]
H A Dt5fw_cfg.txt53 # Machines to directly access T6 functionality via SR-IOV Virtual Functions
212 # NVI_NIC = 4 # NIC access to NPORTS
219 # NVI_OFLD = 0 # Offload uses NIC function to access ports
226 # NVI_RDMA = 0 # RDMA uses NIC function to access ports
237 # NVI_ISCSI = 4 # ISCSI access to NPORTS
244 # NVI_FCOE = 4 # FCOE access to NPORTS
352 cmask = all # access to all channels
353 pmask = 0x1 # access to only one port
365 cmask = all # access to all channels
366 pmask = 0x2 # access to only one port
[all …]
H A Dt6fw_cfg.txt53 # Machines to directly access T6 functionality via SR-IOV Virtual Functions
229 # NVI_NIC = 4 # NIC access to NPORTS
236 # NVI_OFLD = 0 # Offload uses NIC function to access ports
243 # NVI_RDMA = 0 # RDMA uses NIC function to access ports
254 # NVI_ISCSI = 4 # ISCSI access to NPORTS
261 # NVI_FCOE = 4 # FCOE access to NPORTS
367 cmask = all # access to all channels
368 pmask = 0x1 # access to only one port
380 cmask = all # access to all channels
381 pmask = 0x2 # access to only one port
[all …]
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Daccess.cc33 vroot_result= access(path, vroot_args.access.mode); in access_thunk()
39 vroot_args.access.mode= mode; in access_vroot()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dtempnam.c69 if (x > 0 && access(pcopy(p, tdir), (W_OK | X_OK)) == 0) in tempnam()
71 if (y > 0 && access(pcopy(p, dir), (W_OK | X_OK)) == 0) in tempnam()
73 if (access(pcopy(p, P_tmpdir), (W_OK | X_OK)) == 0) in tempnam()
75 if (access(pcopy(p, "/tmp"), (W_OK | X_OK)) != 0) { in tempnam()
/illumos-gate/usr/src/cmd/mail/
H A Dlegal.c60 if (access(file, A_EXIST) == A_OK) {
61 if (access(file, A_WRITE) == A_OK)
75 if (access(dfile, A_WRITE) == CERROR)
/illumos-gate/usr/src/cmd/picl/plugins/common/frutree/
H A Dpiclfrutree.c91 if (access(pname, R_OK) == 0) { in get_config_file()
100 if (access(pname, R_OK) == 0) { in get_config_file()
109 if (access(pname, R_OK) == 0) { in get_config_file()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_module_load.c89 if (access(fullname, F_OK) != 0) { in mdb_module_load()
116 if (access(buf, F_OK) == 0) { in mdb_module_load()
126 if (access(buf, F_OK) == 0) { in mdb_module_load()
138 if (access(buf, F_OK) == 0) in mdb_module_load()

12345678910>>...25