From 39deac3020ad0990fae44b8fba7c14c538136c1b Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Mon, 23 Jul 2018 08:23:18 -0700 Subject: [PATCH] Linux v4.18-rc6 --- aio-don-t-expose-__aio_sigset-in-uapi.patch | 79 --------------------- kernel.spec | 10 +-- sources | 3 +- 3 files changed, 6 insertions(+), 86 deletions(-) delete mode 100644 aio-don-t-expose-__aio_sigset-in-uapi.patch diff --git a/aio-don-t-expose-__aio_sigset-in-uapi.patch b/aio-don-t-expose-__aio_sigset-in-uapi.patch deleted file mode 100644 index 606a7d391..000000000 --- a/aio-don-t-expose-__aio_sigset-in-uapi.patch +++ /dev/null @@ -1,79 +0,0 @@ -From patchwork Wed Jul 11 13:48:46 2018 -Content-Type: text/plain; charset="utf-8" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Subject: aio: don't expose __aio_sigset in uapi -From: Christoph Hellwig -X-Patchwork-Id: 10519793 -Message-Id: <20180711134846.18944-1-hch@lst.de> -To: viro@zeniv.linux.org.uk -Cc: linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, - adrian@lisas.de, smueller@chronox.de, avagin@virtuozzo.com -Date: Wed, 11 Jul 2018 15:48:46 +0200 - -glibc uses a different defintion of sigset_t than the kernel does, -and the current version would pull in both. To fix this just do not -expose the type at all - this somewhat mirrors pselect() where we -do not even have a type for the magic sigmask argument, but just -use pointer arithmetics. - -Fixes: 7a074e96 ("aio: implement io_pgetevents") -Signed-off-by: Christoph Hellwig -Reported-by: Adrian Reber ---- - fs/aio.c | 5 +++++ - include/linux/syscalls.h | 1 + - include/uapi/linux/aio_abi.h | 6 ------ - 3 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/fs/aio.c b/fs/aio.c -index 210df9da1283..27454594e37a 100644 ---- a/fs/aio.c -+++ b/fs/aio.c -@@ -1896,6 +1896,11 @@ SYSCALL_DEFINE5(io_getevents, aio_context_t, ctx_id, - return ret; - } - -+struct __aio_sigset { -+ const sigset_t __user *sigmask; -+ size_t sigsetsize; -+}; -+ - SYSCALL_DEFINE6(io_pgetevents, - aio_context_t, ctx_id, - long, min_nr, -diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h -index a368a68cb667..5c1a0933768e 100644 ---- a/include/linux/syscalls.h -+++ b/include/linux/syscalls.h -@@ -11,6 +11,7 @@ - #ifndef _LINUX_SYSCALLS_H - #define _LINUX_SYSCALLS_H - -+struct __aio_sigset; - struct epoll_event; - struct iattr; - struct inode; -diff --git a/include/uapi/linux/aio_abi.h b/include/uapi/linux/aio_abi.h -index 3c5038b587ba..d4593a6062ef 100644 ---- a/include/uapi/linux/aio_abi.h -+++ b/include/uapi/linux/aio_abi.h -@@ -29,7 +29,6 @@ - - #include - #include --#include - #include - - typedef __kernel_ulong_t aio_context_t; -@@ -110,10 +109,5 @@ struct iocb { - #undef IFBIG - #undef IFLITTLE - --struct __aio_sigset { -- const sigset_t __user *sigmask; -- size_t sigsetsize; --}; -- - #endif /* __LINUX__AIO_ABI_H */ - diff --git a/kernel.spec b/kernel.spec index 4d95da944..f18fb3649 100644 --- a/kernel.spec +++ b/kernel.spec @@ -67,9 +67,9 @@ Summary: The Linux kernel # The next upstream release sublevel (base_sublevel+1) %define upstream_sublevel %(echo $((%{base_sublevel} + 1))) # The rc snapshot level -%global rcrev 5 +%global rcrev 6 # The git snapshot level -%define gitrev 4 +%define gitrev 0 # Set rpm version accordingly %define rpmversion 4.%{upstream_sublevel}.0 %endif @@ -619,9 +619,6 @@ Patch514: 0005-treewide-Rename-HOSTLDFLAGS-to-KBUILD_HOSTLDFLAGS.patch Patch515: 0006-treewide-Rename-HOST_LOADLIBES-to-KBUILD_HOSTLDLIBS.patch Patch516: 0007-Kbuild-Use-HOST-FLAGS-options-from-the-command-line.patch -# rhbz 1601529 -Patch517: aio-don-t-expose-__aio_sigset-in-uapi.patch - # END OF PATCH DEFINITIONS %endif @@ -1875,6 +1872,9 @@ fi # # %changelog +* Mon Jul 23 2018 Laura Abbott - 4.18.0-0.rc6.git0.1 +- Linux v4.18-rc6 + * Mon Jul 23 2018 Laura Abbott - Disable debugging options. diff --git a/sources b/sources index 24cedc564..39d9329a1 100644 --- a/sources +++ b/sources @@ -1,3 +1,2 @@ SHA512 (linux-4.17.tar.xz) = 4d9de340a26155a89ea8773131c76220cc2057f2b5d031b467b60e8b14c1842518e2d60a863d8c695f0f7640f3f18d43826201984a238dade857b6cef79837db -SHA512 (patch-4.18-rc5.xz) = 238685483f0eb95d95678dd4ddd83c044d3888bd4ccc6966c6f9e8209a21aea86c18ba4a8e10c9e0d78037bc4809a93196f44ee23e8f9463641a16ca1ea97574 -SHA512 (patch-4.18-rc5-git4.xz) = 2cc23a53a29200a4d8b50e4f81cd731ca282a4d5d8c96fb6b57a62abbd6cf6bd2be7af83d95d9009289e9b839674feb12285caeafd7eeb1938b52d6145c1f166 +SHA512 (patch-4.18-rc6.xz) = ac2983a05b10138fbe2a254c56110ef0e31e6d8868c363959d7b219902b7f84e02cc321e9176161be654fddab1765a448b32c4afa4b30ce3f85a5a10b6fc12c2