Date: Sun, 21 Jun 2026 12:19:22 +0000 From: Christos Margiolis <christos@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f6b3bd1f3384 - main - sound tests: Remove trailing PROT_EXEC Message-ID: <6a37d6ca.3121f.7eee33c3@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=f6b3bd1f3384d262b893af123f3fc2df21c5b9ee commit f6b3bd1f3384d262b893af123f3fc2df21c5b9ee Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2026-06-21 12:17:39 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2026-06-21 12:19:14 +0000 sound tests: Remove trailing PROT_EXEC Fixes: 730eaf466493 ("sound tests: Add PROT_EXEC rejection test") Reported by: Oliver Pinter <oliver.pntr@gmail.com> Sponsored by: The FreeBSD Foundation MFC after: 6 days --- tests/sys/sound/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/sound/mmap.c b/tests/sys/sound/mmap.c index e83193db9bc1..6ebfd2f7dec5 100644 --- a/tests/sys/sound/mmap.c +++ b/tests/sys/sound/mmap.c @@ -120,7 +120,7 @@ ATF_TC_BODY(mmap_reject_prot_exec, tc) len = 8; - buf = mmap(NULL, len, PROT_READ | PROT_EXEC | PROT_EXEC, MAP_SHARED, + buf = mmap(NULL, len, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_SHARED, fd, 0); ATF_REQUIRE_MSG(buf == MAP_FAILED, FMT_ERR("mmap"));home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a37d6ca.3121f.7eee33c3>
