Home
last modified time | relevance | path

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

12345678910>>...28

/onnv-gate/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 …]
/onnv-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_auth.c320 int access; in nfsauth4_access() local
322 access = nfsauth_access(exi, req); in nfsauth4_access()
337 if (access & NFSAUTH_DENIED || access & NFSAUTH_WRONGSEC) { in nfsauth4_access()
346 return (access); in nfsauth4_access()
370 struct netbuf *addr, int *access) in nfsauth_retrieve() argument
416 *access = NFSAUTH_DROP; in nfsauth_retrieve()
441 *access = NFSAUTH_DENIED; in nfsauth_retrieve()
589 *access = res.ares.auth_perm; in nfsauth_retrieve()
598 *access = NFSAUTH_DENIED; in nfsauth_retrieve()
616 int access; in nfsauth_refresh_thread() local
[all …]
H A Dnfs_acl_srv.c324 resp->resok.access = 0; in acl2_access()
326 if (args->access & ACCESS2_READ) { in acl2_access()
329 resp->resok.access |= ACCESS2_READ; in acl2_access()
331 if ((args->access & ACCESS2_LOOKUP) && vp->v_type == VDIR) { in acl2_access()
334 resp->resok.access |= ACCESS2_LOOKUP; in acl2_access()
337 (args->access & (ACCESS2_MODIFY|ACCESS2_EXTEND))) { in acl2_access()
340 resp->resok.access |= in acl2_access()
341 (args->access & (ACCESS2_MODIFY|ACCESS2_EXTEND)); in acl2_access()
344 (args->access & ACCESS2_DELETE) && (vp->v_type == VDIR)) { in acl2_access()
347 resp->resok.access |= ACCESS2_DELETE; in acl2_access()
[all …]
/onnv-gate/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()
/onnv-gate/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?
/onnv-gate/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)
/onnv-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
/onnv-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()
/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/
H A Dpaths.c209 if (access(filepath, R_OK) == 0) { in setup_paths()
218 if (access(filepath, R_OK) == 0) in setup_paths()
224 if (access(filepath, R_OK) == 0) in setup_paths()
230 if (access(filepath, R_OK) == 0) in setup_paths()
236 if (access(filepath, R_OK) == 0) in setup_paths()
/onnv-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()
/onnv-gate/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)
/onnv-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c83 smb_fsop_amask_to_omode(uint32_t access) in smb_fsop_amask_to_omode() argument
87 if (access & (FILE_READ_DATA | FILE_EXECUTE | in smb_fsop_amask_to_omode()
91 if (access & (FILE_WRITE_DATA | FILE_APPEND_DATA | in smb_fsop_amask_to_omode()
95 if (access & FILE_APPEND_DATA) in smb_fsop_amask_to_omode()
912 uint32_t access = 0; in smb_fsop_getattr() local
929 access |= READ_CONTROL; in smb_fsop_getattr()
933 access |= FILE_READ_ATTRIBUTES; in smb_fsop_getattr()
935 status = smb_ofile_access(sr->fid_ofile, cr, access); in smb_fsop_getattr()
1187 uint32_t access; in smb_fsop_setattr() local
1240 access = 0; in smb_fsop_setattr()
[all …]
H A Dsmb_tree.c507 uint32_t access; in smb_tree_acl_access() local
511 access = ACE_ALL_PERMS; in smb_tree_acl_access()
519 access = 0; in smb_tree_acl_access()
521 return (access); in smb_tree_acl_access()
534 return (access); in smb_tree_acl_access()
551 smb_vop_eaccess(sharevp, (int *)&access, V_ACE_MASK, NULL, in smb_tree_acl_access()
556 return (access); in smb_tree_acl_access()
583 uint32_t access; in smb_tree_chkaccess() local
613 access = host_access & acl_access; in smb_tree_chkaccess()
614 if ((access & ACE_ALL_PERMS) == 0) { in smb_tree_chkaccess()
[all …]
/onnv-gate/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()
/onnv-gate/usr/src/cmd/agents/snmp/parser/
H A Dbackend.c545 if(next->access & READ_FLAG) in init_tree_second_pass()
698 if(current->access & READ_FLAG) in output_extern_function()
731 if(current->access & WRITE_FLAG) in output_extern_function()
765 if( (current->access & READ_FLAG) || (current->access & WRITE_FLAG) ) in output_extern_function()
800 if(current->access & READ_FLAG) in output_extern_function()
883 if(current->access & WRITE_FLAG) in output_extern_function()
965 if( (current->access & READ_FLAG) || (current->access & WRITE_FLAG) ) in output_extern_function()
1225 if( (current->access & READ_FLAG) && (current->access & WRITE_FLAG) ) in output_object_table()
1230 if( (current->access & READ_FLAG) && !(current->access & WRITE_FLAG) ) in output_object_table()
1235 if( !(current->access & READ_FLAG) && (current->access & WRITE_FLAG) ) in output_object_table()
[all …]
/onnv-gate/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()
/onnv-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_module_load.c85 if (access(fullname, F_OK) != 0) { in mdb_module_load()
112 if (access(buf, F_OK) == 0) { in mdb_module_load()
122 if (access(buf, F_OK) == 0) { in mdb_module_load()
134 if (access(buf, F_OK) == 0) in mdb_module_load()
/onnv-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dquit.c348 if (pkgloc_sav[0] && !access(pkgloc_sav, F_OK)) { in quit()
349 if (pkgloc[0] && !access(pkgloc, F_OK)) in quit()
357 if (pkgloc_sav[0] && !access(pkgloc_sav, F_OK)) { in quit()
364 if (pkgloc[0] && !access(pkgloc, F_OK) && in quit()
365 !access(saveSpoolInstallDir, F_OK)) { in quit()
/onnv-gate/usr/src/lib/libc/port/sys/
H A Daccess.c38 #pragma weak _access = access
40 access(const char *fname, int amode) in access() function
/onnv-gate/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()
/onnv-gate/usr/src/cmd/tcpd/
H A Dtcpd.h.org12 char name[STRING_LENGTH]; /* access via eval_hostname(host) */
13 char addr[STRING_LENGTH]; /* access via eval_hostaddr(host) */
23 char user[STRING_LENGTH]; /* access via eval_user(request) */
24 char daemon[STRING_LENGTH]; /* access via eval_daemon(request) */
25 char pid[10]; /* access via eval_pid(request) */
69 extern int hosts_access(); /* access control */
114 * type has its own access method. The trivial ones are implemented by
164 * While processing access control rules, error conditions are handled by
170 #define AC_PERMIT 1 /* permit access */
/onnv-gate/usr/src/cmd/agents/snmp/snmprelayd/
H A Drelay.conf45 access = read-write
50 access = read-only
H A Dsnmpdx.acl34 # access control #
37 # The list of community names needed for read/write access
40 # and its access type is read-only
45 access = read-write
/onnv-gate/usr/src/cmd/agents/snmp/snmpdemod/
H A Dsnmpdemo.acl34 # access control #
37 # The list of community names needed for read/write access
40 # and its access type is read-only
45 access = read-write
/onnv-gate/usr/src/cmd/lp/filter/postscript/common/
H A Dtempnam.c43 if (access(tnm, 7) == -1)
48 if (access(tnm, 7) == -1)

12345678910>>...28