[systemd-devel] [PATCH] Partially revert "ma-setup: simplify"
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Mon Jun 1 18:49:03 PDT 2015
On Mon, Jun 01, 2015 at 12:36:25PM -0400, Mimi Zohar wrote:
> On Mon, 2015-06-01 at 11:57 -0400, Mimi Zohar wrote:
> > On Mon, 2015-06-01 at 10:36 -0400, Zbigniew Jędrzejewski-Szmek wrote:
> > > ---
> > > OK, that's strange. Because the error message comes from copy_bytes() failing,
> > > and in copy_bytes() EINVAL could only originate in loop_write(), unless
> > > I'm missing something. Can you check the following patch, which essentially
> > > reverts to the old copy method?
> > >
> > > Zbyszek
> >
> > With minor "include" changes to have it apply cleanly, the IMA policy is
> > loaded properly.
OK, thanks for testing. Unfortunately, because of recent attempt at github
migration I lost my write rights. I'll push the patch as soon as I get them
back :)
Zbyszek
> FYI, by commenting out try_sendfile() in copy_bytes, the policy is also
> loaded properly.
More information about the systemd-devel
mailing list