public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ondrej Mosnacek <omosnace@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: kernel/selinux-testsuite: bump upstream ref
Date: Fri, 11 Sep 2026 13:17:55 GMT [thread overview]
Message-ID: <178913267599.1.5447365015625597996.tests-selinux-382ea52b682d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 382ea52b682de59fd86590be40b39b53b0059a8e
Author : Ondrej Mosnacek <omosnace@redhat.com>
Date : 2020-04-16T23:51:32+02:00
Stats : +1/-10 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/382ea52b682de59fd86590be40b39b53b0059a8e?branch=pr775-checkpolicy-revdeps
Log:
kernel/selinux-testsuite: bump upstream ref
...and remove a workaround that is now obsoleted by an upstream patch.
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
---
diff --git a/kernel/selinux-testsuite/runtest.sh b/kernel/selinux-testsuite/runtest.sh
index 283c993..090c34d 100755
--- a/kernel/selinux-testsuite/runtest.sh
+++ b/kernel/selinux-testsuite/runtest.sh
@@ -35,7 +35,7 @@ PACKAGE="selinux-policy"
# This should be updated as needed after verifying that the new version
# doesn't break testing and after applying all necessary tweaks in the TC.
# Run with GIT_BRANCH=master to run the latest upstream version.
-DEFAULT_COMMIT="e95fe950381682a18c93a0952b995eb975cb5c2e"
+DEFAULT_COMMIT="04fb49b946b9cb48ff75d770d4c16338463b1814"
# Default pull requests to merge before running the test.
# If non-empty, then after checking out GIT_BRANCH the listed upstream pull
# requests (by number) are merged, creating a new temporary local branch.
@@ -361,15 +361,6 @@ rlJournalStart
rlRun "cat >>policy/test_mmap.te <<<'allow_map(test_no_execmem_t, tmpfs_t, file)'"
fi
- if [ -f /proc/sys/kernel/unprivileged_bpf_disabled ] &&
- [ "$(cat /proc/sys/kernel/unprivileged_bpf_disabled)" -eq 1 ] ||
- [ "$(rlGetPrimaryArch)" != x86_64 ]
- then
- rlLog "Unprivileged BPF disabled => add CAP_SYS_ADMIN to BPF domains"
- rlRun "echo 'allow bpfdomain self:capability { sys_admin };' >>policy/test_bpf.te"
- rlRun "echo 'allow fdreceivebpfdomain self:capability { sys_admin };' >>policy/test_fdreceive_bpf.te"
- fi
-
# CKI mainline kernels don't ship with module build infrastructure
# just yet. Also, RHEL-8 CKI kernel-devel programs are
# cross-compiled badly for alt arches, so try executing one of them.
next reply other threads:[~2026-09-11 13:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-11 13:17 Ondrej Mosnacek [this message]
2026-09-11 13:18 [tests/selinux] pr775-checkpolicy-revdeps: kernel/selinux-testsuite: bump upstream ref Ondrej Mosnacek
2026-09-11 13:18 [tests/selinux] pr775-checkpolicy-revdeps: kernel/selinux-testsuite: Bump " Ondrej Mosnacek
2026-09-11 13:19 [tests/selinux] pr775-checkpolicy-revdeps: kernel/selinux-testsuite: bump " Ondrej Mosnacek
2026-09-11 13:19 Ondrej Mosnacek
2026-09-11 13:23 Ondrej Mosnacek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178913267599.1.5447365015625597996.tests-selinux-382ea52b682d@fedoraproject.org \
--to=omosnace@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox