Home
last modified time | relevance | path

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

12345678910>>...24

/titanic_51/usr/src/cmd/nscd/
H A Dnscd_access.c37 * be used to allocate memory that requires access control or usage
38 * count control, will initialize this access control structure at the
59 if (access->data != data) \
63 access = (nscd_access_t *) \
71 * Decrements the usage count maintained in the access data
79 nscd_access_t *access; in _nscd_release() local
88 (me, "data = %p, access->data = %p, " in _nscd_release()
90 data, access->data, access->seq_num, access in _nscd_release()
134 nscd_access_t *access; _nscd_destroy() local
163 nscd_access_t *access; _nscd_get() local
255 nscd_access_t *access; _nscd_rdlock() local
288 nscd_access_t *access; _nscd_wrlock() local
319 nscd_access_t *access; _nscd_rw_unlock() local
349 nscd_access_t *access; _nscd_rw_unlock_no_release() local
373 nscd_access_t *access; _nscd_mutex_lock() local
405 nscd_access_t *access; _nscd_mutex_unlock() local
433 nscd_access_t *access; _nscd_cond_wait() local
462 nscd_access_t *access; _nscd_cond_signal() local
496 nscd_access_t *access; _nscd_alloc() local
567 nscd_access_t *access; _nscd_free() local
[all...]
/titanic_51/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_004_pos.ksh37 # override existed access rule.
41 # 2. Loop the specified access one by one.
47 function check_access #log user node access rflag
52 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
72 function verify_explicit_ACL_rule #node access fla
[all...]
H A Dzfs_acl_chmod_rwx_003_pos.ksh37 # 2. Separated verify type@:access:allow|deny to file and directory
102 typeset flag access acl_spec
105 for access in ${a_access[@]}; do
107 acl_spec="$flag:$access:$tp"
/titanic_51/usr/src/lib/libdwarf/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()
153 Initialize the ELF object access for libdwarf.
158 Dwarf_Unsigned access, in dwarf_elf_init_file_ownership() argument
169 if (access != DW_DLC_READ) { in dwarf_elf_init_file_ownership()
/titanic_51/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_51/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()
/titanic_51/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
[all...]
/titanic_51/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_51/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_51/usr/src/uts/common/fs/nfs/
H A Dnfs_auth.c70 * Upon every client access which results in a hit, the
73 * If a client access determines that the auth_freshness
285 * have a limited access to this vnode even if the security flavor
292 int access; in nfsauth4_access() local
295 access = nfsauth_access(exi, req, cr, uid, gid, ngids, gids); in nfsauth4_access()
307 * would get a limited view with RO access on /export to see in nfsauth4_access()
308 * "home" only because the client is allowed to access in nfsauth4_access()
311 if (access & NFSAUTH_DENIED || access & NFSAUTH_WRONGSEC) { in nfsauth4_access()
320 return (access); in nfsauth4_access()
344 nfsauth_retrieve(struct exportinfo * exi,char * req_netid,int flavor,struct netbuf * addr,int * access,uid_t clnt_uid,gid_t clnt_gid,uint_t clnt_gids_cnt,const gid_t * clnt_gids,uid_t * srv_uid,gid_t * srv_gid,uint_t * srv_gids_cnt,gid_t ** srv_gids) nfsauth_retrieve() argument
597 int access; nfsauth_refresh_thread() local
819 int access; nfsauth_cache_get() local
1244 int access; nfsauth4_secinfo_access() local
1271 int access, mapaccess; nfsauth_access() local
[all...]
H A Dnfs_acl_srv.c313 * We need the mode so that we can correctly determine access in acl2_access()
326 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 in acl2_access()
[all...]
/titanic_51/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_51/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_51/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_51/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c73 * Convert the access mask to the open mode (for use
76 * Note that opening a file for attribute only access
85 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()
935 uint32_t access = 0; in smb_fsop_getattr() local
952 access |= READ_CONTROL; in smb_fsop_getattr()
956 access |= FILE_READ_ATTRIBUTES; in smb_fsop_getattr()
958 status = smb_ofile_access(sr->fid_ofile, cr, access); in smb_fsop_getattr()
1221 uint32_t access; smb_fsop_setattr() local
1332 uint32_t access = FILE_WRITE_DATA; smb_fsop_set_data_length() local
1597 int access = 0; smb_fsop_access() local
2037 int access = 0; smb_fsop_aclread() local
2103 int access = 0; smb_fsop_aclwrite() local
2361 int access = 0; smb_fsop_sdwrite() local
2517 int access = 0; smb_fsop_eaccess() local
[all...]
H A Dsmb_tree.c143 * Rules of access to a tree structure:
246 smb_tree_log(sr, name, "access not permitted"); in smb_tree_connect_core()
505 * user in the passed request. The default is full access.
506 * If any error occurs, full access is granted.
512 * file is the share's ACL which is used for access check here.
526 uint32_t access; in smb_tree_acl_access() local
530 access = ACE_ALL_PERMS; in smb_tree_acl_access()
534 * An autohome share owner gets full access to the share. in smb_tree_acl_access()
535 * Everyone else is denied access. in smb_tree_acl_access()
538 access in smb_tree_acl_access()
602 uint32_t access; smb_tree_chkaccess() local
657 uint32_t access; smb_tree_connect_disk() local
775 uint32_t access; smb_tree_connect_printq() local
878 smb_tree_alloc(smb_request_t * sr,const smb_kshare_t * si,smb_node_t * snode,uint32_t access,uint32_t execflags) smb_tree_alloc() argument
[all...]
/titanic_51/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_51/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_51/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_51/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_51/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_51/usr/src/tools/cscope-fast/
H A Dvpaccess.c33 /* vpaccess - view path version of the access system call */
47 if ((returncode = access(path, amode)) == -1 && path[0] != '/') { in vpaccess()
51 if ((returncode = access(buf, amode)) != -1) { in vpaccess()
/titanic_51/usr/src/cmd/setuname/
H A Dsetuname.c82 * access() Check accessibility of a file
96 extern int access(); /* Check the accessibility of a file */
316 * Make sure we have access to needed resources:
317 * - Read/write access to kernel memory (/dev/kmem)
318 * - If -t is not specified, read/write access to /etc/rc2.d
319 * - If -t is not specified, read access to /etc/rc2.d/S18setuname
322 if (access("/dev/kmem", R_OK|W_OK) == 0) {
323 if (access(RC_DIRNAME, R_OK|W_OK) == 0) {
324 if ((access(RC_FILENAME, R_OK) != 0) &&
325 (access(RC_FILENAM
[all...]
/titanic_51/usr/src/cmd/lp/filter/postscript/common/
H A Dtempnam.c43 if (access(tnm, 7) == -1)
48 if (access(tnm, 7) == -1)
/titanic_51/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()

12345678910>>...24