/titanic_44/usr/src/cmd/nscd/ |
H A D | nscd_access.c | 59 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 D | zfs_acl_chmod_rwx_004_pos.ksh | 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 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 D | zfs_acl_chmod_rwx_003_pos.ksh | 102 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 D | dwarf_original_elf_init.c | 69 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 D | access.fth | 32 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 D | strtape.c | 76 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 D | tempnam.c | 39 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 D | exportfs.sh | 44 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 D | nfs_auth.c | 292 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 D | nfs_acl_srv.c | 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 & 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 D | ckvolseq.c | 66 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 D | findscripts.c | 119 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 D | access.cc | 33 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 D | legal.c | 61 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 D | tempnam.c | 71 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 D | smb_fsops.c | 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() 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 D | smb_tree.c | 509 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 D | piclfrutree.c | 93 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 D | mdb_module_load.c | 87 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 D | access.c | 38 #pragma weak _access = access 40 access(const char *fname, int amode) in access() function
|
/titanic_44/usr/src/tools/cscope-fast/ |
H A D | vpaccess.c | 47 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 D | setuname.c | 96 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 D | tempnam.c | 43 if (access(tnm, 7) == -1) 48 if (access(tnm, 7) == -1)
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvsetup.c | 243 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 D | yppasswdd.c | 161 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()
|