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

12

/macosx-10.10/Libc-1044.1.2/gen/
H A Dstrtofflags.c89 { "nouchg", UF_IMMUTABLE, 0 },
90 { "nouchange", UF_IMMUTABLE, 0 },
91 { "nouimmutable", UF_IMMUTABLE, 0 },
/macosx-10.10/bless-103/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",
140 err = chflags(rsrcpath, sb.st_flags | UF_IMMUTABLE);
143 "Can't set UF_IMMUTABLE on %s: %s\n", rsrcpath,
/macosx-10.10/removefile-35/
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.10/file_cmds-242/rm/
H A Drm.c243 (p->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) &&
246 p->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE)) < 0)
270 (p->fts_statp->st_flags & (UF_APPEND|UF_IMMUTABLE)) &&
273 p->fts_statp->st_flags &= ~(UF_APPEND|UF_IMMUTABLE));
370 (sb.st_flags & (UF_APPEND|UF_IMMUTABLE)) &&
372 rval = chflags(f, sb.st_flags & ~(UF_APPEND|UF_IMMUTABLE));
506 (!(sp->st_flags & (UF_APPEND|UF_IMMUTABLE)) || !uid)))
/macosx-10.10/tcl-105/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.10/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.10/xnu-2782.1.97/bsd/sys/
H A Dstat.h463 #define UF_IMMUTABLE 0x00000002 /* file may not be changed */ macro
503 #define IMMUTABLE (UF_IMMUTABLE | SF_IMMUTABLE)
/macosx-10.10/xar-254/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.10/hfs-285/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.10/libarchive-30/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.10/bootp-298/bootpd.tproj/
H A DmacNC.c157 if (sb_p->st_flags & UF_IMMUTABLE) {
171 if (sb_p->st_flags & UF_IMMUTABLE) {
/macosx-10.10/msdosfs-209.1.1/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))
2822 if ((vap->va_flags & (SF_IMMUTABLE | UF_IMMUTABLE)) != 0)
/macosx-10.10/file_cmds-242/install/
H A Dxinstall.c84 #define NOCHANGEBITS (UF_IMMUTABLE | UF_APPEND | SF_IMMUTABLE | SF_APPEND)
/macosx-10.10/shell_cmds-179/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.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_link.c101 attr.ca_flags = UF_IMMUTABLE;
1008 priv_attrp->ca_flags = UF_IMMUTABLE | UF_HIDDEN;
H A Dhfs_attrlist.c922 if ((cap->ca_flags & UF_IMMUTABLE) && (vfs_context_suser(abp->ab_context) != 0))
1543 if ((cap->ca_flags & UF_IMMUTABLE) && (vfs_context_suser(ctx) != 0))
H A Dhfs_catalog.c1847 if (attrp->ca_flags & (SF_IMMUTABLE | UF_IMMUTABLE))
2018 if (attrp->ca_flags & (SF_IMMUTABLE | UF_IMMUTABLE))
4408 if ((attrp->ca_flags & (SF_IMMUTABLE | UF_IMMUTABLE)) == 0)
4409 attrp->ca_flags |= UF_IMMUTABLE;
4412 attrp->ca_flags &= ~(SF_IMMUTABLE | UF_IMMUTABLE);
/macosx-10.10/webdavfs-367/mount.tproj/
H A Dwebdav_agent.c1032 require_action(chflags(un.sun_path, UF_IMMUTABLE) == 0, error_exit, error = EINVAL);
/macosx-10.10/smb-759.0/kernel/smbfs/
H A Dsmbfs_attrlist.c926 va_flags |= UF_IMMUTABLE;
/macosx-10.10/Security-57031.1.35/Security/include/security_keychain/
H A DStorageManager.cpp1953 if (sb.st_flags & (SF_IMMUTABLE | UF_IMMUTABLE)) {
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DStorageManager.cpp1953 if (sb.st_flags & (SF_IMMUTABLE | UF_IMMUTABLE)) {

Completed in 207 milliseconds

12