From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/9] kernel-yocto: consolidated pull request
Date: Tue, 6 Mar 2018 13:11:08 -0500 [thread overview]
Message-ID: <cover.1520359364.git.bruce.ashfield@windriver.com> (raw)
Hi all,
This is the latest consolidated kernel pull request. It contains -stable updates,
the kernel-devsrc re-work, and a libc-headers version bump.
The -stable updates are routine, and are required to pick up the latest CVE and
bug fixes from korg.
The kernel-devsrc re-structure has already gone through two revisions, and this
v3 of that patch addresses mips + powerpc + ARM issues that were found during
the on target kernel module compilation testing.
There's one minor fix for kernel class handling of crtsaveres.o, and that same fix
was required for kernel-devsrc.
And finally, there is also have a libc-headers version bump to deal with a
regression introduced in the 4.15 kernel uapi headers. This was picked up due
to the breakage of several packages, and has since been nominated for -stable
inclusion. Patching libc-headers is a last resort, so instead I've tracked the
-stable version to pick up the change. All the details are in the patches
commit log:
--->--->--->--->--->--->--->
Subject: [PATCH 2/9] linux-libc-headers: update to 4.15.7
While we don't normally follow all the -stable updates for libc-headers, there
was one userspace header that was broken in the 4.15 cycle, and it has now
been fixed in -stable.
The offending header breaks the build for several packages, so we update to
pick up this change:
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date: Mon Feb 12 23:59:51 2018 +0100
uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define
commit da360299b6734135a5f66d7db458dcc7801c826a upstream.
This fixes a compile problem of some user space applications by not
including linux/libc-compat.h in uapi/if_ether.h.
linux/libc-compat.h checks which "features" the header files, included
from the libc, provide to make the Linux kernel uapi header files only
provide no conflicting structures and enums. If a user application mixes
kernel headers and libc headers it could happen that linux/libc-compat.h
gets included too early where not all other libc headers are included
yet. Then the linux/libc-compat.h would not prevent all the
redefinitions and we run into compile problems.
This patch removes the include of linux/libc-compat.h from
uapi/if_ether.h to fix the recently introduced case, but not all as this
is more or less impossible.
It is no problem to do the check directly in the if_ether.h file and not
in libc-compat.h as this does not need any fancy glibc header detection
as glibc never provided struct ethhdr and should define
__UAPI_DEF_ETHHDR by them self when they will provide this.
The following test program did not compile correctly any more:
#include <linux/if_ether.h>
#include <netinet/in.h>
#include <linux/in.h>
int main(void)
{
return 0;
}
Fixes: 6926e041a892 ("uapi/if_ether.h: prevent redefinition of struct ethhdr")
Reported-by: Guillaume Nault <g.nault@alphalink.fr>
Cc: <stable@vger.kernel.org> # 4.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
We also add a new muslc patch to adjust the ethhdr change in the uapi. As is
suggested in the kernel commit, we can protect musl directly in if_ether itself.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
--->--->--->--->--->--->--->
Cheers,
Bruce
The following changes since commit e5f258cecef6c51a4d7ebeedbaa29d2126e566e3:
util-linux: add taskset to alternatives list (2018-03-06 06:43:11 -0800)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib zedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel
Bruce Ashfield (9):
kernel-devsrc: restructure for out of tree (and on target) module
builds
linux-libc-headers: update to 4.15.7
linux-yocto/4.15: update to v4.15.7
linux-yocto/4.14: update to v4.14.24
linux-yocto/4.12: fix aufs compile warning
linux-yocto/4.12: memleak and build warning fixes
linux-yocto: aufs and systemtap
linux-yocto/4.12: warning: drm/i915/cfl: Coffee Lake works on Kaby
Lake PCH
kernel: make copying of crtsavres.o conditional
meta/classes/kernel.bbclass | 6 +-
...move-muslc-ethhdr-protection-to-uapi-file.patch | 30 ++++
...eaders_4.15.bb => linux-libc-headers_4.15.7.bb} | 6 +-
meta/recipes-kernel/linux/kernel-devsrc.bb | 192 ++++++++++++++++-----
meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb | 4 +-
meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb | 6 +-
meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb | 6 +-
meta/recipes-kernel/linux/linux-yocto-tiny_4.12.bb | 4 +-
meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb | 6 +-
meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb | 6 +-
meta/recipes-kernel/linux/linux-yocto_4.12.bb | 18 +-
meta/recipes-kernel/linux/linux-yocto_4.14.bb | 20 +--
meta/recipes-kernel/linux/linux-yocto_4.15.bb | 20 +--
13 files changed, 235 insertions(+), 89 deletions(-)
create mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers/0001-if_ether-move-muslc-ethhdr-protection-to-uapi-file.patch
rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_4.15.bb => linux-libc-headers_4.15.7.bb} (62%)
--
2.5.0
next reply other threads:[~2018-03-06 18:11 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 18:11 Bruce Ashfield [this message]
2018-03-06 18:11 ` [PATCH 1/9 v3] kernel-devsrc: restructure for out of tree (and on target) module builds Bruce Ashfield
2018-03-07 8:40 ` Burton, Ross
2018-03-07 13:35 ` Bruce Ashfield
2018-03-08 18:51 ` Richard Purdie
2018-03-15 13:45 ` Bruce Ashfield
2018-03-29 13:30 ` Richard Purdie
2018-03-06 18:11 ` [PATCH 2/9] linux-libc-headers: update to 4.15.7 Bruce Ashfield
2018-03-06 18:11 ` [PATCH 3/9] linux-yocto/4.15: update to v4.15.7 Bruce Ashfield
2018-03-06 18:11 ` [PATCH 4/9] linux-yocto/4.14: update to v4.14.24 Bruce Ashfield
2018-03-06 18:11 ` [PATCH 5/9] linux-yocto/4.12: fix aufs compile warning Bruce Ashfield
2018-03-06 18:11 ` [PATCH 6/9] linux-yocto/4.12: memleak and build warning fixes Bruce Ashfield
2018-03-06 18:11 ` [PATCH 7/9] linux-yocto: aufs and systemtap Bruce Ashfield
2018-03-07 8:38 ` Burton, Ross
2018-03-07 13:39 ` Bruce Ashfield
2018-03-07 15:06 ` Bruce Ashfield
2018-03-07 15:35 ` Burton, Ross
2018-03-14 12:41 ` Burton, Ross
2018-03-14 12:46 ` Bruce Ashfield
2018-03-14 12:50 ` Burton, Ross
2018-03-14 15:11 ` Bruce Ashfield
2018-03-06 18:11 ` [PATCH 8/9] linux-yocto/4.12: warning: drm/i915/cfl: Coffee Lake works on Kaby Lake PCH Bruce Ashfield
2018-03-06 18:11 ` [PATCH 9/9] kernel: make copying of crtsavres.o conditional Bruce Ashfield
2018-03-06 18:33 ` ✗ patchtest: failure for kernel-yocto: consolidated pull request Patchwork
-- strict thread matches above, loose matches on Subject: below --
2022-09-19 14:28 [PATCH 0/9] " bruce.ashfield
2022-09-20 9:45 ` Richard Purdie
2022-09-20 12:21 ` Richard Purdie
2022-09-20 12:53 ` Bruce Ashfield
2022-09-20 12:55 ` Richard Purdie
2022-09-20 20:29 ` Bruce Ashfield
2021-05-17 22:16 Bruce Ashfield
2020-02-05 23:12 bruce.ashfield
2020-02-06 9:03 ` Richard Purdie
2020-02-06 13:25 ` Bruce Ashfield
2018-06-07 2:07 Bruce Ashfield
2017-09-14 13:46 Bruce Ashfield
2017-08-21 2:58 Bruce Ashfield
2017-08-21 11:42 ` Richard Purdie
2017-08-21 12:11 ` Bruce Ashfield
2017-08-21 13:01 ` Bruce Ashfield
2017-08-21 15:55 ` Richard Purdie
2017-08-21 15:57 ` Bruce Ashfield
2017-08-21 16:12 ` Bruce Ashfield
2017-08-22 14:24 ` Richard Purdie
2017-08-22 14:54 ` Bruce Ashfield
2017-08-22 15:28 ` Richard Purdie
2017-08-22 15:34 ` Bruce Ashfield
2017-08-22 16:00 ` Richard Purdie
2017-08-22 16:04 ` Bruce Ashfield
2017-08-22 16:07 ` Richard Purdie
2017-08-22 16:20 ` Bruce Ashfield
2017-08-22 17:13 ` Bruce Ashfield
2017-08-22 20:34 ` Bruce Ashfield
2017-08-22 21:56 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1520359364.git.bruce.ashfield@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox