[systemd-devel] [PATCH] missing: add BPF_XOR
lennart at poettering.net
Tue Aug 26 10:31:29 PDT 2014
On Tue, 26.08.14 16:03, Michael Olbrich (m.olbrich at pengutronix.de) wrote:
> On Thu, Aug 21, 2014 at 01:51:50PM +0200, Michal Sekletar wrote:
> > On Thu, Aug 21, 2014 at 12:38:08PM +0200, Michael Olbrich wrote:
> > > BPF_XOR was introduced in kernel 3.7
> > > ---
> > >
> > > This fixes compiling systemd for me. I'm not sure about the implications of
> > > this. I'm not sure what happens if the code using it is executed on a linux
> > > kernel < 3.7
> > I don't think that merging this patch makes sense since we don't really support
> > combination of old kernel and new systemd. Both components are so centric these
> > days that they should be updated in lockstep. Hence allowing people to compile
> > against very old kernels shouldn't be possible really.
> In that case, the README should be modified accordingly. That said, I've
> come across this issue in a cross-compile environment: To generate the
> hwdb.bin I need to build systemd for the build system. This failed on
> debian stable. I think that's a reasonable use-case.
Actually we try to be compatible with kernels from the last 2y, which
would mean 3.5 as minimum version. (though we will make an exception
when we adopt kdbus...)
The README currently even states 3.0 was supported... Maybe we should
drop that claim though, and update it to 3.5.
So I think this patch should go in...
Lennart Poettering, Red Hat
More information about the systemd-devel