lkml.org 
[lkml]   [2020]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [git pull] misc uaccess stuff
On Wed, Jun 03, 2020 at 09:53:32PM +0100, Al Viro wrote:
> On Wed, Jun 03, 2020 at 01:44:39PM -0700, Nathan Chancellor wrote:
> > > ----------------------------------------------------------------
> > > Al Viro (9):
> > > pselect6() and friends: take handling the combined 6th/7th args into helper
> > > binfmt_elf: don't bother with __{put,copy_to}_user()
> > > binfmt_elf_fdpic: don't use __... uaccess primitives
> >
> > This patch breaks arm32:
> >
> > $ make -sj"$(nproc)" ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- allyesconfig fs/binfmt_elf_fdpic.o
> > ...
> > In file included from ./include/linux/sched/task.h:11,
> > from ./include/linux/sched/signal.h:9,
> > from ./include/linux/rcuwait.h:6,
> > from ./include/linux/percpu-rwsem.h:7,
> > from ./include/linux/fs.h:34,
> > from fs/binfmt_elf_fdpic.c:11:
> > ./include/linux/uaccess.h:149:1: note: declared here
> > 149 | copy_to_user(void __user *to, const void *from, unsigned long n)
> > | ^~~~~~~~~~~~
> > fs/binfmt_elf_fdpic.c:612:7: error: too few arguments to function 'copy_to_user'
> > 612 | if (copy_to_user(ent + nr, &v)) \
> > | ^~~~~~~~~~~~
> > fs/binfmt_elf_fdpic.c:659:2: note: in expansion of macro 'NEW_AUX_ENT'
> > 659 | NEW_AUX_ENT(AT_EXECFN, bprm->exec);
> > | ^~~~~~~~~~~
>
> Linus, consider that pull request withdrawn for now, please. My apologies -
> I'll push a fixed variant and resend after a week of having it sit in -next.

for-next regenerated and pushed; let's have it sit there for a week.

\
 
 \ /
  Last update: 2020-06-03 23:03    [W:0.029 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site