Message ID | 1450214678-13816-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
On Tuesday 15 December 2015 13:24:38 Kamal Mostafa wrote: > This is a note to let you know that I have just added a patch titled > > arm64: fix building without CONFIG_UID16 > > to the linux-3.19.y-queue branch of the 3.19.y-ckt extended stable tree > which can be found at: > > http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.19.y-queue > > This patch is scheduled to be released in version 3.19.8-ckt12. > > If you, or anyone else, feels it should not be added to this tree, please > reply to this email. > > For more information about the 3.19.y-ckt tree, see > https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable > Note that this patch has caused regressions on one or two rarely used architectures that only define CONFIG_UID16 but not CONFIG_HAVE_UID16. I think it's safer to not backport it. Arnd
On Tue, 2015-12-15 at 22:47 +0100, Arnd Bergmann wrote: > On Tuesday 15 December 2015 13:24:38 Kamal Mostafa wrote: > > This is a note to let you know that I have just added a patch titled > > > > arm64: fix building without CONFIG_UID16 > > > > to the linux-3.19.y-queue branch of the 3.19.y-ckt extended stable tree > > which can be found at: > > > > http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.19.y-queue > > > > This patch is scheduled to be released in version 3.19.8-ckt12. > > > > If you, or anyone else, feels it should not be added to this tree, please > > reply to this email. > > > > For more information about the 3.19.y-ckt tree, see > > https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable > > > > > Note that this patch has caused regressions on one or two rarely used architectures > that only define CONFIG_UID16 but not CONFIG_HAVE_UID16. > > I think it's safer to not backport it. > > Arnd > Thanks very much Arnd. Dropped from 3.19-stable. -Kamal
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 85893d7..ef311a7 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -520,7 +520,7 @@ asmlinkage long sys_chown(const char __user *filename, asmlinkage long sys_lchown(const char __user *filename, uid_t user, gid_t group); asmlinkage long sys_fchown(unsigned int fd, uid_t user, gid_t group); -#ifdef CONFIG_UID16 +#ifdef CONFIG_HAVE_UID16 asmlinkage long sys_chown16(const char __user *filename, old_uid_t user, old_gid_t group); asmlinkage long sys_lchown16(const char __user *filename, diff --git a/include/linux/types.h b/include/linux/types.h index 20d8fb6..8be096f 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -35,7 +35,7 @@ typedef __kernel_gid16_t gid16_t; typedef unsigned long uintptr_t; -#ifdef CONFIG_UID16 +#ifdef CONFIG_HAVE_UID16 /* This is defined by include/asm-{arch}/posix_types.h */ typedef __kernel_old_uid_t old_uid_t; typedef __kernel_old_gid_t old_gid_t;