/freebsd/contrib/pjdfstest/tests/chflags/ |
H A D | 05.t | 24 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 D | 09.t | 31 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 D | 07.t | 25 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 D | 12.t | 50 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 D | 08.t | 28 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 D | 13.t | 14 expect EFAULT chflags NULL UF_NODUMP 15 expect EFAULT chflags DEADCODE UF_NODUMP
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_mtree_fflags.c | 36 #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 D | main.c | 1903 #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 D | priv_vfs_chflags.c | 107 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 D | cap_test_capmode.c | 87 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 D | cap_test_capabilities.c | 289 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 D | mtree.h | 150 #define UF_MASK ((UF_NODUMP | UF_IMMUTABLE | \
|
/freebsd/lib/libc/gen/ |
H A D | strtofflags.c | 68 { "nodump", 1, UF_NODUMP },
|
/freebsd/tools/test/stress2/misc/ |
H A D | devfd.sh | 104 fchflags(fd2[j], UF_NODUMP);
|
/freebsd/sbin/dump/ |
H A D | traverse.c | 125 #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 D | ext2_inode_cnv.c | 205 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 D | mktar.c | 137 chflags(SPARSEFILENAME, UF_NODUMP); in mktar()
|
/freebsd/sys/sys/ |
H A D | stat.h | 310 #define UF_NODUMP 0x00000001 /* do not dump file */ 309 #define UF_NODUMP global() macro
|
/freebsd/tests/sys/file/ |
H A D | path_test.c | 121 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 D | t_stat.c | 71 ATF_REQUIRE(chflags(path, UF_NODUMP) == 0); in ATF_TC_BODY()
|
/freebsd/contrib/capsicum-test/ |
H A D | capmode.cc | 73 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 D | tunefs.c | 982 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 D | du.c | 557 if (nodumpflag && (ent->fts_statp->st_flags & UF_NODUMP)) in ignorep()
|
/freebsd/contrib/libarchive/test_utils/ |
H A D | test_main.c | 2207 #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 D | pjdfstest.c | 334 #ifdef UF_NODUMP 335 { UF_NODUMP, "UF_NODUMP" },
|