[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHC9VhT015tz4qZZ=vM6FowsUXLv-RYeBrH4C8d6jvg=XHumHA@mail.gmail.com>
Date: Thu, 25 Oct 2018 16:36:41 -0400
From: Paul Moore <paul@...l-moore.com>
To: david.abdurachmanov@...il.com
Cc: palmer@...ive.com, linux-riscv@...ts.infradead.org,
aou@...s.berkeley.edu, Eric Paris <eparis@...hat.com>,
keescook@...omium.org, luto@...capital.net, wad@...omium.org,
wesley@...ive.com, dhowells@...hat.com, tglx@...utronix.de,
pombredanne@...b.com, gregkh@...uxfoundation.org,
kstewart@...uxfoundation.org, linux-kernel@...r.kernel.org,
linux-audit@...hat.com
Subject: Re: [PATCH 2/2] RISC-V: Add support for SECCOMP
On Thu, Oct 25, 2018 at 2:31 PM David Abdurachmanov
<david.abdurachmanov@...il.com> wrote:
> On Wed, Oct 24, 2018 at 10:40 PM Palmer Dabbelt <palmer@...ive.com> wrote:
> > From: "Wesley W. Terpstra" <wesley@...ive.com>
...
> Palmer,
>
> Half of the patch seems to touch audit parts. I started working on audit
> support this morning, and I can boot Fedora with audit traces.
>
> [root@...ora-riscv ~]# dmesg | grep audit
> [ 0.312000] audit: initializing netlink subsys (disabled)
> [ 0.316000] audit: type=2000 audit(0.316:1): state=initialized
> audit_enabled=0 res=1
> [ 7.288000] audit: type=1130 audit(1529665913.772:2): pid=1 uid=0
> auid=4294967295 ses=4294967295 msg='unit=systemd-remount-fs
> comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=?
> terminal=? res=success'
> [ 7.684000] audit: type=1130 audit(1529665914.176:3): pid=1 uid=0
> auid=4294967295 ses=4294967295 msg='unit=systemd-sysctl comm="systemd"
> exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
> res=success'
> [..]
>
> I am still working on audit user-space support for better testing.
>
> I suggest we first implement audit and then seccomp.
FYI, while small and far from comprehensive, we do have a test suite
we use for basic validation of the audit kernel bits which may be
helpful while you're working on the audit enablement:
* https://github.com/linux-audit/audit-testsuite
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists