Home
last modified time | relevance | path

Searched refs:UF_NODUMP (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/pjdfstest/tests/chflags/
H A D05.t24 expect 0 -u 65534 -g 65534 chflags ${n1}/${n2} UF_NODUMP
25 expect UF_NODUMP -u 65534 -g 65534 stat ${n1}/${n2} flags
28 expect EACCES -u 65534 -g 65534 chflags ${n1}/${n2} UF_NODUMP
30 expect 0 -u 65534 -g 65534 chflags ${n1}/${n2} UF_NODUMP
31 expect UF_NODUMP -u 65534 -g 65534 stat ${n1}/${n2} flags
H A D09.t31 jexpect 1 `pwd` EPERM chflags ${n1} UF_NODUMP
33 jexpect 1 `pwd` EPERM -u 65533 -g 65533 chflags ${n1} UF_NODUMP
35 jexpect 1 `pwd` EPERM -u 65534 -g 65534 chflags ${n1} UF_NODUMP
50 jexpect 1 `pwd` EPERM lchflags ${n1} UF_NODUMP
52 jexpect 1 `pwd` EPERM -u 65533 -g 65533 lchflags ${n1} UF_NODUMP
54 jexpect 1 `pwd` EPERM -u 65534 -g 65534 lchflags ${n1} UF_NODUMP
H A D07.t25 expect EPERM -u 65534 -g 65534 chflags ${n1} UF_NODUMP
28 expect EPERM -u 65533 -g 65533 chflags ${n1} UF_NODUMP
38 expect EPERM -u 65534 -g 65534 lchflags ${n1} UF_NODUMP
41 expect EPERM -u 65533 -g 65533 lchflags ${n1} UF_NODUMP
H A D12.t50 expect 0 chflags /${n0}/${n1} UF_NODUMP
51 expect UF_NODUMP stat /${n0}/${n1} flags
55 expect EROFS chflags /${n0}/${n1} UF_NODUMP
58 expect 0 chflags /${n0}/${n1} UF_NODUMP
59 expect UF_NODUMP stat /${n0}/${n1} flags
H A D08.t28 expect EPERM -u 65533 -g 65533 chflags ${n1} UF_NODUMP
30 expect EPERM -u 65534 -g 65534 chflags ${n1} UF_NODUMP
45 expect EPERM -u 65533 -g 65533 lchflags ${n1} UF_NODUMP
47 expect EPERM -u 65534 -g 65534 lchflags ${n1} UF_NODUMP
H A D13.t14 expect EFAULT chflags NULL UF_NODUMP
15 expect EFAULT chflags DEADCODE UF_NODUMP
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_format_mtree_fflags.c36 #if defined(UF_IMMUTABLE) && defined(UF_NODUMP)
43 { "./f1", UF_IMMUTABLE | UF_NODUMP },
44 { "./f11", UF_IMMUTABLE | UF_NODUMP },
46 { "./f3", UF_NODUMP },
127 #if defined(UF_IMMUTABLE) && defined(UF_NODUMP) in DEFINE_TEST()
H A Dmain.c1903 #if defined(HAVE_STRUCT_STAT_ST_FLAGS) && defined(UF_NODUMP) in assertion_nodump()
1907 r = chflags(pathname, UF_NODUMP); in assertion_nodump()
2142 #if defined(HAVE_STRUCT_STAT_ST_FLAGS) && defined(UF_NODUMP)
2151 if (chflags(path, UF_NODUMP) < 0) in canNodump()
2155 if (sb.st_flags & UF_NODUMP) in canNodump()
/freebsd/tools/regression/priv/
H A Dpriv_vfs_chflags.c107 flags |= UF_NODUMP; in priv_vfs_chflags_froot_uflags()
131 flags |= UF_NODUMP; in priv_vfs_chflags_fowner_uflags()
155 flags |= UF_NODUMP; in priv_vfs_chflags_fother_uflags()
/freebsd/tools/regression/security/cap_test/
H A Dcap_test_capmode.c87 CHECK_CAPMODE(chflags, "/tmp/cap_capmode_chflags", UF_NODUMP); in test_capmode()
130 CHECK_NOT_CAPMODE(fchflags, fd_file, UF_NODUMP); in test_capmode()
H A Dcap_test_capabilities.c289 ret = fchflags(fd_cap, UF_NODUMP); in try_file_ops()
296 ret = chflagsat(dfd_cap, "cap_chflagsat", UF_NODUMP, 0); in try_file_ops()
/freebsd/contrib/mtree/
H A Dmtree.h150 #define UF_MASK ((UF_NODUMP | UF_IMMUTABLE | \
/freebsd/lib/libc/gen/
H A Dstrtofflags.c68 { "nodump", 1, UF_NODUMP },
/freebsd/tools/test/stress2/misc/
H A Ddevfd.sh104 fchflags(fd2[j], UF_NODUMP);
/freebsd/sbin/dump/
H A Dtraverse.c125 #ifdef UF_NODUMP
128 (nonodump || (DIP(dp, di_flags) & UF_NODUMP) != UF_NODUMP))
215 (DIP(dp, di_flags) & UF_NODUMP)) in mapfiles()
/freebsd/sys/fs/ext2fs/
H A Dext2_inode_cnv.c205 ip->i_flags |= (ei_flags_host & EXT2_NODUMP) ? UF_NODUMP : 0; in ext2_ei2i()
289 ei->e2di_flags |= htole32((ip->i_flags & UF_NODUMP) ? EXT2_NODUMP : 0); in ext2_i2ei()
/freebsd/tests/sys/fs/tarfs/
H A Dmktar.c137 chflags(SPARSEFILENAME, UF_NODUMP); in mktar()
/freebsd/sys/sys/
H A Dstat.h310 #define UF_NODUMP 0x00000001 /* do not dump file */
309 #define UF_NODUMP global() macro
/freebsd/tests/sys/file/
H A Dpath_test.c121 ATF_REQUIRE_ERRNO(EBADF, fchflags(pathfd, UF_NODUMP) == -1); in ATF_TC_BODY()
409 ATF_REQUIRE_MSG(chflagsat(pathfd, "", UF_NODUMP, AT_EMPTY_PATH) == 0, in ATF_TC_BODY()
440 chflagsat(pathfd, "", UF_NODUMP, AT_EMPTY_PATH) == -1); in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_stat.c71 ATF_REQUIRE(chflags(path, UF_NODUMP) == 0); in ATF_TC_BODY()
/freebsd/contrib/capsicum-test/
H A Dcapmode.cc73 EXPECT_CAPMODE(chflags(TmpFile("cap_capmode_chflags"), UF_NODUMP)); in FORK_TEST_F()
138 rc = fchflags(fd_file_, UF_NODUMP); in FORK_TEST_F()
/freebsd/sbin/tunefs/
H A Dtunefs.c982 SF_IMMUTABLE | SF_NOUNLINK | UF_NODUMP; in journal_alloc()
992 SF_IMMUTABLE | SF_NOUNLINK | UF_NODUMP; in journal_alloc()
/freebsd/usr.bin/du/
H A Ddu.c557 if (nodumpflag && (ent->fts_statp->st_flags & UF_NODUMP)) in ignorep()
/freebsd/contrib/libarchive/test_utils/
H A Dtest_main.c2207 #if defined(HAVE_STRUCT_STAT_ST_FLAGS) && defined(UF_NODUMP) in assertion_compare_fflags()
2300 #if defined(HAVE_STRUCT_STAT_ST_FLAGS) && defined(UF_NODUMP) in assertion_set_nodump()
2304 r = chflags(pathname, UF_NODUMP); in assertion_set_nodump()
2689 #if defined(HAVE_STRUCT_STAT_ST_FLAGS) && defined(UF_NODUMP) in canNodump()
2694 if (chflags(path, UF_NODUMP) < 0) in canNodump()
2698 if (sb.st_flags & UF_NODUMP) in canNodump()
/freebsd/contrib/pjdfstest/
H A Dpjdfstest.c334 #ifdef UF_NODUMP
335 { UF_NODUMP, "UF_NODUMP" },

12