Page MenuHomeFreeBSD

D25561.diff
No OneTemporary

D25561.diff

Index: head/tests/sys/audit/file-attribute-modify.c
===================================================================
--- head/tests/sys/audit/file-attribute-modify.c
+++ head/tests/sys/audit/file-attribute-modify.c
@@ -704,7 +704,7 @@
/* File needs to exist to call chflagsat(2) */
ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
FILE *pipefd = setup(fds, auclass);
- ATF_REQUIRE_EQ(0, chflagsat(AT_FDCWD, path, SF_IMMUTABLE, 0));
+ ATF_REQUIRE_EQ(0, chflagsat(AT_FDCWD, path, UF_OFFLINE, 0));
check_audit(fds, successreg, pipefd);
close(filedesc);
}
@@ -726,7 +726,7 @@
{
FILE *pipefd = setup(fds, auclass);
/* Failure reason: file does not exist */
- ATF_REQUIRE_EQ(-1, chflagsat(AT_FDCWD, errpath, SF_IMMUTABLE, 0));
+ ATF_REQUIRE_EQ(-1, chflagsat(AT_FDCWD, errpath, UF_OFFLINE, 0));
check_audit(fds, failurereg, pipefd);
}

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 1, 10:09 AM (7 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34554471
Default Alt Text
D25561.diff (862 B)

Event Timeline