[systemd-devel] [PATCH] Partially revert "ma-setup: simplify"

Mimi Zohar zohar at linux.vnet.ibm.com
Mon Jun 1 09:36:25 PDT 2015


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.

FYI, by commenting out try_sendfile() in copy_bytes, the policy is also
loaded properly.

Mimi



More information about the systemd-devel mailing list