Searched refs:UF_IMMUTABLE (Results 1 - 25 of 36) sorted by relevance

12

/macosx-10.9.5/Libc-997.90.3/gen/
H A Dstrtofflags.c88 { "nouchg", UF_IMMUTABLE, 0 },
89 { "nouchange", UF_IMMUTABLE, 0 },
90 { "nouimmutable", UF_IMMUTABLE, 0 },
/macosx-10.9.5/bless-98/libbless/Misc/
H A DBLCreateFile.c69 if(sb.st_flags & UF_IMMUTABLE) {
70 uint32_t newflags = sb.st_flags & ~UF_IMMUTABLE;
72 contextprintf(context, kBLLogLevelVerbose, "Removing UF_IMMUTABLE from %s\n",
77 "Can't remove UF_IMMUTABLE from %s: %s\n", rsrcpath,
131 contextprintf(context, kBLLogLevelVerbose, "Setting UF_IMMUTABLE on %s\n",
133 err = chflags(rsrcpath, UF_IMMUTABLE);
136 "Can't set UF_IMMUTABLE on %s: %s\n", rsrcpath,
/macosx-10.9.5/removefile-33/
H A Dremovefile_tree_walker.c79 (current_file->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) &&
81 chflags(path, current_file->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE)) < 0) {
98 (current_file->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) &&
100 chflags(path, current_file->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE)) < 0) {
H A Dremovefile_sunlink.c61 # if !defined UF_IMMUTABLE
62 # define UF_IMMUTABLE 0 macro
362 if ((statbuf.st_flags & UF_IMMUTABLE) ||
/macosx-10.9.5/file_cmds-230/rm/
H A Drm.c242 (p->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) &&
245 p->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE)) < 0)
269 (p->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) &&
272 p->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE));
369 (sb.st_flags & (UF_APPEND|UF_IMMUTABLE)) &&
371 rval = chflags(f, sb.st_flags & ~(UF_APPEND|UF_IMMUTABLE));
505 (!(sp->st_flags & (UF_APPEND|UF_IMMUTABLE)) || !uid)))
/macosx-10.9.5/tcl-102/tcl/tcl/unix/
H A DtclUnixFCmd.c86 #if defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE)
120 #if defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE)
133 #if defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE)
147 #if defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE)
2105 #if defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE)
2144 *attributePtrPtr = Tcl_NewBooleanObj((statBuf.st_flags&UF_IMMUTABLE) != 0);
2194 statBuf.st_flags |= UF_IMMUTABLE;
2196 statBuf.st_flags &= ~UF_IMMUTABLE;
2211 #endif /* defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE) */
H A DtclUnixFile.c443 #if defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE)
444 !(buf.st_flags & UF_IMMUTABLE) &&
/macosx-10.9.5/srm-7/srm/src/
H A Dsunlink.c34 # if !defined UF_IMMUTABLE
35 # define UF_IMMUTABLE 0 macro
405 if ((statbuf.st_flags & UF_IMMUTABLE) ||
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Dstat.h463 #define UF_IMMUTABLE 0x00000002 /* file may not be changed */ macro
498 #define IMMUTABLE (UF_IMMUTABLE | SF_IMMUTABLE)
/macosx-10.9.5/xar-202/xar/lib/
H A Dstat.c299 #ifdef UF_IMMUTABLE
300 if( sb->st_flags & UF_IMMUTABLE )
349 #ifdef UF_IMMUTABLE
351 flags |= UF_IMMUTABLE;
/macosx-10.9.5/hfs-226.1.1/fsck_hfs/dfalib/
H A Ddirhardlink.c417 /* ownerFlags should have UF_IMMUTABLE and UF_HIDDEN set, and
419 if (((rec->bsdInfo.ownerFlags & UF_IMMUTABLE) == 0) ||
904 /* Check if the directory hard link has UF_IMMUTABLE bit set */
905 if ((rec->bsdInfo.ownerFlags & UF_IMMUTABLE) == 0) {
908 rec->bsdInfo.ownerFlags | UF_IMMUTABLE, false);
H A DHardLinkCheck.c692 /* Check if the directory hard link has UF_IMMUTABLE bit set */
693 if ((file->bsdInfo.ownerFlags & UF_IMMUTABLE) == 0) {
696 file->bsdInfo.ownerFlags | UF_IMMUTABLE, true);
/macosx-10.9.5/libarchive-29/libarchive/libarchive/
H A Darchive_entry.c1927 #ifdef UF_IMMUTABLE
1928 { "nouchg", L"nouchg", UF_IMMUTABLE, 0 },
1929 { "nouchange", L"nouchange", UF_IMMUTABLE, 0 },
1930 { "nouimmutable", L"nouimmutable", UF_IMMUTABLE, 0 },
H A Darchive_write_disk.c2128 #ifdef UF_IMMUTABLE
2129 critical_flags |= UF_IMMUTABLE;
/macosx-10.9.5/bootp-268.1/bootpd.tproj/
H A DmacNC.c157 if (sb_p->st_flags & UF_IMMUTABLE) {
171 if (sb_p->st_flags & UF_IMMUTABLE) {
/macosx-10.9.5/msdosfs-198/msdosfs.kextproj/msdosfs.kmodproj/
H A Dmsdosfs_vnops.c347 if ((vap->va_flags & (SF_IMMUTABLE | UF_IMMUTABLE)) != 0)
467 vap->va_flags |= UF_IMMUTABLE; // DOS read-only becomes BSD user immutable
554 if (vap->va_flags & ~(SF_ARCHIVED | SF_IMMUTABLE | UF_IMMUTABLE | UF_HIDDEN))
571 if (vap->va_flags & (SF_IMMUTABLE | UF_IMMUTABLE))
2818 if ((vap->va_flags & (SF_IMMUTABLE | UF_IMMUTABLE)) != 0)
/macosx-10.9.5/file_cmds-230/install/
H A Dxinstall.c83 #define NOCHANGEBITS (UF_IMMUTABLE | UF_APPEND | SF_IMMUTABLE | SF_APPEND)
/macosx-10.9.5/shell_cmds-175/find/
H A Dfunction.c509 if ((entry->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) &&
513 entry->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE));
/macosx-10.9.5/xnu-2422.115.4/bsd/hfs/
H A Dhfs_link.c101 attr.ca_flags = UF_IMMUTABLE;
975 priv_attrp->ca_flags = UF_IMMUTABLE | UF_HIDDEN;
H A Dhfs_attrlist.c761 if ((cap->ca_flags & UF_IMMUTABLE) && (vfs_context_suser(abp->ab_context) != 0))
H A Dhfs_catalog.c1847 if (attrp->ca_flags & (SF_IMMUTABLE | UF_IMMUTABLE))
2018 if (attrp->ca_flags & (SF_IMMUTABLE | UF_IMMUTABLE))
4421 if ((attrp->ca_flags & (SF_IMMUTABLE | UF_IMMUTABLE)) == 0)
4422 attrp->ca_flags |= UF_IMMUTABLE;
4425 attrp->ca_flags &= ~(SF_IMMUTABLE | UF_IMMUTABLE);
/macosx-10.9.5/smb-697.95.1/kernel/smbfs/
H A Dsmbfs_attrlist.c857 va_flags |= UF_IMMUTABLE;
H A Dsmbfs_vnops.c2182 if (vap->va_flags & ~(SF_ARCHIVED | SF_IMMUTABLE | UF_IMMUTABLE | UF_HIDDEN))
2201 * SMB_EFA_RDONLY ~ UF_IMMUTABLE
2217 if (vap->va_flags & (SF_IMMUTABLE | UF_IMMUTABLE)) {
2228 if (vap->va_flags & (SF_IMMUTABLE | UF_IMMUTABLE)) {
/macosx-10.9.5/webdavfs-352.92.2/mount.tproj/
H A Dwebdav_agent.c1121 require_action(chflags(un.sun_path, UF_IMMUTABLE) == 0, error_exit, error = EINVAL);
/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DStorageManager.cpp1909 if (sb.st_flags & (SF_IMMUTABLE | UF_IMMUTABLE)) {

Completed in 275 milliseconds

12