Home
last modified time | relevance | path

Searched refs:isdir (Results 1 – 25 of 52) sorted by relevance

123

/titanic_41/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_aclmode_001_pos.ksh113 typeset -i isdir=$1
155 if ((isdir == 0)); then
169 if ((isdir == 0)); then
176 if ((isdir == 0)); then
207 typeset -i isdir=$1
211 if ((isdir != 0)); then
218 acl=$prefix:$(cal_bits $isdir 7 7 $acl 0):$action
235 typeset -i isdir=$3
245 if ((isdir == 0)); then
256 if ((isdir == 0)); then
[all …]
/titanic_41/usr/src/common/acl/
H A Dacl_common.c379 mode_to_ace_access(mode_t mode, boolean_t isdir, int isowner, int isallow) in mode_to_ace_access() argument
418 if (isdir) in mode_to_ace_access()
434 ace_make_deny(ace_t *allow, ace_t *deny, int isdir, int isowner) in ace_make_deny() argument
442 if (isdir) in ace_make_deny()
507 ln_aent_to_ace(aclent_t *aclent, int n, ace_t **acepp, int *rescount, int isdir) in ln_aent_to_ace() argument
579 isdir, 0, 0); in ln_aent_to_ace()
585 isdir, aclent[i].a_type & USER_OBJ, 1); in ln_aent_to_ace()
604 ace_make_deny(acep, acep + 1, isdir, B_TRUE); in ln_aent_to_ace()
608 ace_make_deny(acep, acep + 1, isdir, B_FALSE); in ln_aent_to_ace()
639 ace_make_deny(acep, acep + skip, isdir, B_FALSE); in ln_aent_to_ace()
[all …]
H A Dacl_common.h55 extern int acl_translate(acl_t *aclp, int target_flavor, boolean_t isdir,
59 int acl_trivial_create(mode_t mode, boolean_t isdir, ace_t **acl, int *count);
60 void acl_trivial_access_masks(mode_t mode, boolean_t isdir,
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_acl.c482 ace4_make_deny(nfsace4 *allow, nfsace4 *deny, int isdir, int isowner, in ace4_make_deny() argument
491 if (isdir) in ace4_make_deny()
507 mode_to_ace4_access(o_mode_t mode, int isdir, int isowner, int isallow, in mode_to_ace4_access() argument
548 if (isdir) in mode_to_ace4_access()
566 int isdir, int isserver) in ln_aent_to_ace4() argument
678 isdir, 0, 0, isserver); in ln_aent_to_ace4()
684 isdir, aclent[i].a_type & USER_OBJ, 1, isserver); in ln_aent_to_ace4()
702 ace4_make_deny(acep, acep + 1, isdir, TRUE, isserver); in ln_aent_to_ace4()
713 ace4_make_deny(acep, acep + 1, isdir, FALSE, isserver); in ln_aent_to_ace4()
751 ace4_make_deny(acep, acep + skip, isdir, FALSE, in ln_aent_to_ace4()
[all …]
/titanic_41/usr/src/test/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c68 boolean_t isdir = B_FALSE; in main() local
150 isdir = B_TRUE; in main()
158 if (isdir == B_FALSE) { in main()
/titanic_41/usr/src/tools/scripts/
H A Dmapfilechk.py69 if os.path.isdir(filename):
106 if not os.path.isdir(path):
114 if os.path.isdir(path):
H A Dcddlchk.py69 if os.path.isdir(filename):
108 if not os.path.isdir(path):
116 if os.path.isdir(path):
H A Dvalidate_pkg.py86 self.isdir = False
98 if self.isdir:
316 self.isdir = True
369 self.isdir = True
531 fileinfo.isdir = True
H A Dwsdiff.py939 if os.path.isdir(dir1) > 0 :
942 if os.path.isdir(dir2) > 0 :
1279 if os.path.isdir(tmpDir1) > 0 :
1282 if os.path.isdir(tmpDir2) > 0 :
/titanic_41/usr/src/lib/libpkg/common/
H A Dpkgtrans.c164 else if ((device[0] == '/') && !isdir(device)) { in pkghead()
167 } else if ((pt = devattr(device, "pathname")) != NULL && !isdir(pt)) { in pkghead()
1289 if (isdir(dstdir) && mkdir(dstdir, 0755)) { in pkgxfer()
1381 if (isdir(dstdir) && in pkgxfer()
1509 if (nparts && (isdir(INSTALL) == 0)) { in pkgxfer()
1519 if (iscpio(temp, &iscomp) || isdir(temp) == 0) { in pkgxfer()
1525 if (iscpio(temp, &iscomp) || isdir(temp) == 0) { in pkgxfer()
1531 if (isdir(temp) == 0) { in pkgxfer()
1538 isdir(reloc_names[i]) == 0) { in pkgxfer()
1546 isdir(root_names[i]) == 0) { in pkgxfer()
[all …]
H A Ddevtype.c54 if (!isdir(alias)) { in devtype()
110 if (!isdir(name)) in devtype()
H A Disdir.c77 int isdir(char *path);
91 isdir(char *path) in isdir() function
/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_engine.c614 int isdir; in engine_import() local
718 isdir = 1; in engine_import()
720 isdir = 0; in engine_import()
730 if (isdir) { in engine_import()
896 int isdir; in engine_apply() local
922 isdir = 1; in engine_apply()
924 isdir = 0; in engine_apply()
936 if (isdir) { in engine_apply()
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass1.c130 int isdir; in verify_inode() local
158 isdir = ((dp->di_mode & IFMT) == IFDIR) || in verify_inode()
395 if (isdir && (idesc->id_firsthole >= 0)) in verify_inode()
417 if (isdir && (dp->di_blocks == 0)) { in verify_inode()
475 if (isdir) { in verify_inode()
/titanic_41/usr/src/lib/libsec/common/
H A Daclcheck.c71 aclent_aclcheck(aclent_t *aclbufp, int nentries, int *which, int isdir) in aclent_aclcheck() argument
243 if (isdir == 0) { in aclent_aclcheck()
301 ace_aclcheck(acl_t *aclp, int isdir) in ace_aclcheck() argument
H A Daclutils.c253 int isdir; in cacl_set() local
279 isdir = S_ISDIR(statbuf.st_mode); in cacl_set()
281 if ((error = acl_translate(aclp, acl_flavor_target, isdir, in cacl_set()
H A Dacltext.c453 uint32_t iflags, int isdir, int flags) in ace_perm_txt() argument
525 if (isdir) { in ace_perm_txt()
886 int isdir = (aceaclp->acl_flags & ACL_IS_DIR); in ace_acltotext() local
909 aclp->a_flags, isdir, flags)) in ace_acltotext()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dcopyf.c119 if (isdir(a_dstPath)) { in copyf()
472 (isdir(a_tmpdir) != 0)) { in openLocal()
/titanic_41/usr/src/tools/onbld/Scm/
H A DBackup.py138 (os.path.isdir(fpath) != member.isdir()) or
150 elif not member.isdir() and member.size != os.path.getsize(fpath):
628 if os.path.isdir(path):
838 if (os.path.exists(backupdir) and not os.path.isdir(backupdir)):
/titanic_41/usr/src/lib/libpkg/
H A DMakefile.com34 gpkgmap.o isdir.o logerr.o \
/titanic_41/usr/src/cmd/sendmail/db/db/
H A Ddb_appinit.c650 int mode, isdir, ret; local
658 if ((ret = __os_exists(path, &isdir)) != 0) {
662 if (!isdir) {
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_query_fileinfo.c403 uint32_t isdir; in smb_query_encode_response() local
408 isdir = ((dattr & FILE_ATTRIBUTE_DIRECTORY) != 0); in smb_query_encode_response()
490 (uint8_t)isdir); in smb_query_encode_response()
523 isdir, in smb_query_encode_response()
H A Dsmb_node.c1624 boolean_t isdir; in smb_node_getattr() local
1638 isdir = smb_node_is_dir(node); in smb_node_getattr()
1658 attr->sa_dosattr = (isdir) ? in smb_node_getattr()
1673 if (isdir) { in smb_node_getattr()
1688 if (isdir) { in smb_node_getattr()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dmain.c311 int isdir = 0; in sh_main() local
315 isdir = 1; in sh_main()
337 if(isdir) in sh_main()
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/
H A Dreqexec.c195 if (isdir(respfile) == 0) { in set_respfile()

123