[Bug 257685] security/base-audit: patch to allow ignored jails

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 Aug 2021 16:16:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257685

            Bug ID: 257685
           Summary: security/base-audit: patch to allow ignored jails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dvl@FreeBSD.org
                CC: 000.fbsd@quip.cz
             Flags: maintainer-feedback?(000.fbsd@quip.cz)
                CC: 000.fbsd@quip.cz

Created attachment 227018
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227018&action=edit
patch for security_status_baseaudit_jails_ignore

security_status_baseaudit_jails_ignore is a space delimited list of jails
to ignore.

If non-empty, the code iterates over security_status_baseaudit_jails_ignore
to avoid partial matches (i.e. ignore foo.bar, but not foo). If there is a
better way to do that without looping, please let me know.


Example use case: I have jails which purposely are older vulnerable versions
for testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.