Home
last modified time | relevance | path

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

12345678910>>...22

/titanic_44/usr/src/cmd/nscd/
H A Dnscd_access.c59 if (access->data != data) \
63 access = (nscd_access_t *) \
79 nscd_access_t *access; in _nscd_release() local
90 data, access->data, access->seq_num, access->nUse); in _nscd_release()
93 (void) mutex_lock(&access->mutex); in _nscd_release()
94 access->nUse--; in _nscd_release()
95 if (access->nUse < 0) { in _nscd_release()
99 if (access->nUse <= 0 && in _nscd_release()
100 access->delete == 1) { in _nscd_release()
103 (me, "deleting data %p\n", access->data); in _nscd_release()
[all …]
/titanic_44/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.ksh102 typeset flag access acl_spec
105 for access in ${a_access[@]}; do
107 acl_spec="$flag:$access:$tp"
/titanic_44/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_original_elf_init.c69 Dwarf_Unsigned access,
84 Dwarf_Unsigned access, in dwarf_init() argument
103 if (access != DW_DLC_READ) { in dwarf_init()
122 access, in dwarf_init()
137 Dwarf_Unsigned access, in dwarf_elf_init() argument
144 access, in dwarf_elf_init()
158 Dwarf_Unsigned access, in dwarf_elf_init_file_ownership() argument
169 if (access != DW_DLC_READ) { in dwarf_elf_init_file_ownership()
/titanic_44/usr/src/lib/efcode/fcode_test/
H A Daccess.fth32 create access-test
43 " l,+" access-test la1+ word-test = .passed?
51 " w@.1" access-test w@ h# 8000 = .passed?
52 " w@.2" access-test wa1+ w@ h# 4000 = .passed?
57 " <w@" access-test <w@ h# ffff8000 = .passed?
58 " l@.1" access-test l@ h# 80004000 = .passed?
67 " 2!.1" 1 2 access-test 2! access-test @ 2 =
68 access-test cell+ @ 1 = and .passed?
69 " 2@.1" access-test 2@ 2 = swap 1 = and .passed?
/titanic_44/usr/src/lib/libast/common/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()
/titanic_44/usr/src/lib/libbc/libc/stdio/common/
H A Dtempnam.c39 extern int access();
63 if(x > 0 && access(pcopy(p, tdir), 3) == 0)
65 if(y > 0 && access(pcopy(p, dir), 3) == 0)
67 if(access(pcopy(p, P_tmpdir), 3) == 0)
69 if(access(pcopy(p, "/tmp"), 3) != 0)
/titanic_44/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
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs_auth.c292 int access; in nfsauth4_access() local
295 access = nfsauth_access(exi, req, cr, uid, gid, ngids, gids); in nfsauth4_access()
311 if (access & NFSAUTH_DENIED || access & NFSAUTH_WRONGSEC) { in nfsauth4_access()
320 return (access); in nfsauth4_access()
344 struct netbuf *addr, int *access, uid_t clnt_uid, gid_t clnt_gid, in nfsauth_retrieve() argument
389 *access = NFSAUTH_DENIED; in nfsauth_retrieve()
444 *access = NFSAUTH_DROP; in nfsauth_retrieve()
561 *access = res.ares.auth_perm; in nfsauth_retrieve()
577 *access = NFSAUTH_DENIED; in nfsauth_retrieve()
597 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 …]
/titanic_44/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()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/cmd/mail/
H A Dlegal.c61 if (access(file, A_EXIST) == A_OK) {
62 if (access(file, A_WRITE) == A_OK)
76 if (access(dfile, A_WRITE) == CERROR)
/titanic_44/usr/src/lib/libc/port/stdio/
H A Dtempnam.c71 if (x > 0 && access(pcopy(p, tdir), (W_OK | X_OK)) == 0) in tempnam()
73 if (y > 0 && access(pcopy(p, dir), (W_OK | X_OK)) == 0) in tempnam()
75 if (access(pcopy(p, P_tmpdir), (W_OK | X_OK)) == 0) in tempnam()
77 if (access(pcopy(p, "/tmp"), (W_OK | X_OK)) != 0) { in tempnam()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c85 smb_fsop_amask_to_omode(uint32_t access) in smb_fsop_amask_to_omode() argument
89 if (access & (FILE_READ_DATA | FILE_EXECUTE | in smb_fsop_amask_to_omode()
93 if (access & (FILE_WRITE_DATA | FILE_APPEND_DATA | in smb_fsop_amask_to_omode()
97 if (access & FILE_APPEND_DATA) in smb_fsop_amask_to_omode()
933 uint32_t access = 0; in smb_fsop_getattr() local
950 access |= READ_CONTROL; in smb_fsop_getattr()
954 access |= FILE_READ_ATTRIBUTES; in smb_fsop_getattr()
956 status = smb_ofile_access(sr->fid_ofile, cr, access); in smb_fsop_getattr()
1219 uint32_t access; in smb_fsop_setattr() local
1276 access = 0; in smb_fsop_setattr()
[all …]
H A Dsmb_tree.c509 uint32_t access; in smb_tree_acl_access() local
513 access = ACE_ALL_PERMS; in smb_tree_acl_access()
521 access = 0; in smb_tree_acl_access()
523 return (access); in smb_tree_acl_access()
536 return (access); in smb_tree_acl_access()
553 smb_vop_eaccess(sharevp, (int *)&access, V_ACE_MASK, NULL, in smb_tree_acl_access()
558 return (access); in smb_tree_acl_access()
585 uint32_t access; in smb_tree_chkaccess() local
615 access = host_access & acl_access; in smb_tree_chkaccess()
616 if ((access & ACE_ALL_PERMS) == 0) { in smb_tree_chkaccess()
[all …]
/titanic_44/usr/src/cmd/picl/plugins/common/frutree/
H A Dpiclfrutree.c93 if (access(pname, R_OK) == 0) { in get_config_file()
102 if (access(pname, R_OK) == 0) { in get_config_file()
111 if (access(pname, R_OK) == 0) { in get_config_file()
/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_module_load.c87 if (access(fullname, F_OK) != 0) { in mdb_module_load()
114 if (access(buf, F_OK) == 0) { in mdb_module_load()
124 if (access(buf, F_OK) == 0) { in mdb_module_load()
136 if (access(buf, F_OK) == 0) in mdb_module_load()
/titanic_44/usr/src/lib/libc/port/sys/
H A Daccess.c38 #pragma weak _access = access
40 access(const char *fname, int amode) in access() function
/titanic_44/usr/src/tools/cscope-fast/
H A Dvpaccess.c47 if ((returncode = access(path, amode)) == -1 && path[0] != '/') { in vpaccess()
51 if ((returncode = access(buf, amode)) != -1) { in vpaccess()
/titanic_44/usr/src/cmd/setuname/
H A Dsetuname.c96 extern int access(); /* Check the accessibility of a file */
320 if (access("/dev/kmem", R_OK|W_OK) == 0) {
321 if (access(RC_DIRNAME, R_OK|W_OK) == 0) {
322 if ((access(RC_FILENAME, R_OK) != 0) &&
323 (access(RC_FILENAME, F_OK) == 0)) {
329 if (access(RC_DIRNAME, F_OK) == 0) {
/titanic_44/usr/src/cmd/lp/filter/postscript/common/
H A Dtempnam.c43 if (access(tnm, 7) == -1)
48 if (access(tnm, 7) == -1)
/titanic_44/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvsetup.c243 add_regular_prop(picl_nodehdl_t nodeh, char *name, int type, int access, in add_regular_prop() argument
251 type, access, size, name, NULL, NULL); in add_regular_prop()
266 add_volatile_prop(picl_nodehdl_t nodeh, char *name, int type, int access, in add_volatile_prop() argument
275 type, (access|PICL_VOLATILE), size, name, rdfunc, wrfunc); in add_volatile_prop()
599 if (access(pname, R_OK) == 0) { in env_parse_tunables()
674 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
683 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
692 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
/titanic_44/usr/src/cmd/ypcmd/yppasswd/
H A Dyppasswdd.c161 if (access("/usr/ccs/bin/make", X_OK) < 0) in main()
242 if (access(shadow_file, F_OK) == 0) { in main()
251 if (access(adjunct_file, F_OK) != 0) { in main()
285 if (access(passwd_file, W_OK) < 0) { in main()
290 if (access(shadow_file, W_OK) == 0) { in main()
300 if (access(adjunct_file, W_OK) == 0) { in main()
643 if (access(valid, X_OK) < 0) { in validloginshell()

12345678910>>...22