public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Heiko Carstens <heiko.carstens@de•ibm.com>
To: Arnd Bergmann <arnd@arndb•de>
Cc: dalias@libc•org, linux-ia64@vger•kernel.org,
	linux-sh@vger•kernel.org, benh@kernel•crashing.org,
	will.deacon@arm•com, linux-mips@vger•kernel.org,
	jcmvbkbc@gmail•com, netdev@vger•kernel.org,
	deepa.kernel@gmail•com, hpa@zytor•com,
	sparclinux@vger•kernel.org, linux-arch@vger•kernel.org,
	linux-s390@vger•kernel.org, y2038@lists•linaro.org,
	mpe@ellerman•id.au, deller@gmx•de, x86@kernel•org,
	linux@armlinux•org.uk, mingo@redhat•com, geert@linux-m68k•org,
	catalin.marinas@arm•com, firoz.khan@linaro•org,
	mattst88@gmail•com, fenghua.yu@intel•com,
	linux-fsdevel@vger•kernel.org, linux-m68k@lists•linux-m68k.org,
	luto@kernel•org, tglx@linutronix•de,
	linux-arm-kernel@lists•infradead.org, monstr@monstr•eu,
	tony.luck@intel•com, linux-parisc@vger•kernel.org,
	linux-api@vger•kernel.org, linux-kernel@vger•kernel.org,
	paul.burton@mips•com, ebiederm@xmission•com,
	linux-alpha@vger•kernel.org, schwidefsky@de•ibm.com,
	akpm@linux-foundation•org, linuxppc-dev@lists•ozlabs.org,
	davem@davemloft•net
Subject: Re: [PATCH 07/11] y2038: syscalls: rename y2038 compat syscalls
Date: Thu, 10 Jan 2019 21:55:22 +0100	[thread overview]
Message-ID: <20190110205522.GC3676@osiris> (raw)
In-Reply-To: <20190110172216.313063-8-arnd@arndb.de>

On Thu, Jan 10, 2019 at 06:22:12PM +0100, Arnd Bergmann wrote:
> diff --git a/arch/s390/kernel/syscalls/syscall.tbl b/arch/s390/kernel/syscalls/syscall.tbl
> index f84ea364a302..b3199a744731 100644
> --- a/arch/s390/kernel/syscalls/syscall.tbl
> +++ b/arch/s390/kernel/syscalls/syscall.tbl
> @@ -20,7 +20,7 @@
>  10   common	unlink			sys_unlink			compat_sys_unlink
>  11   common	execve			sys_execve			compat_sys_execve
>  12   common	chdir			sys_chdir			compat_sys_chdir
> -13   32		time			-				compat_sys_time
> +13   32		time			-				sys_time32
>  14   common	mknod			sys_mknod			compat_sys_mknod
>  15   common	chmod			sys_chmod			compat_sys_chmod
>  16   32		lchown			-				compat_sys_s390_lchown16
> @@ -30,11 +30,11 @@
>  22   common	umount			sys_oldumount			compat_sys_oldumount
>  23   32		setuid			-				compat_sys_s390_setuid16
>  24   32		getuid			-				compat_sys_s390_getuid16
> -25   32		stime			-				compat_sys_stime
> +25   32		stime			-				sys_stime32
>  26   common	ptrace			sys_ptrace			compat_sys_ptrace
>  27   common	alarm			sys_alarm			sys_alarm
>  29   common	pause			sys_pause			sys_pause
> -30   common	utime			sys_utime			compat_sys_utime
> +30   common	utime			sys_utime			sys_utime32
...(and more)...

All of them need compat wrappers to clear the uppermost 33 bits of
user space pointers. I assume there is no new *32 system call which
takes u64/s64 arguments; so the pointers should be the only problem.


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      parent reply	other threads:[~2019-01-10 20:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-10 17:22 [PATCH 00/11] y2038: add time64 syscalls Arnd Bergmann
2019-01-10 17:22 ` [PATCH 01/11] time: make adjtime compat handling available for 32 bit Arnd Bergmann
2019-01-10 17:22 ` [PATCH 02/11] time: Add struct __kernel_timex Arnd Bergmann
2019-01-10 17:22 ` [PATCH 03/11] time: fix sys_timer_settime prototype Arnd Bergmann
2019-01-10 17:22 ` [PATCH 04/11] sparc64: add custom adjtimex/clock_adjtime functions Arnd Bergmann
2019-01-10 17:22 ` [PATCH 05/11] timex: use __kernel_timex internally Arnd Bergmann
2019-01-10 17:22 ` [PATCH 06/11] timex: change syscalls to use struct __kernel_timex Arnd Bergmann
2019-01-10 17:22 ` [PATCH 08/11] y2038: use time32 syscall names on 32-bit Arnd Bergmann
2019-01-10 17:22 ` [PATCH 09/11] y2038: remove struct definition redirects Arnd Bergmann
2019-01-10 17:22 ` [PATCH 10/11] y2038: rename old time and utime syscalls Arnd Bergmann
2019-01-10 17:22 ` [PATCH 11/11] y2038: add 64-bit time_t syscalls to all 32-bit architectures Arnd Bergmann
     [not found] ` <20190110172216.313063-8-arnd@arndb.de>
2019-01-10 20:55   ` Heiko Carstens [this message]

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=20190110205522.GC3676@osiris \
    --to=heiko.carstens@de$(echo .)ibm.com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=arnd@arndb$(echo .)de \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=catalin.marinas@arm$(echo .)com \
    --cc=dalias@libc$(echo .)org \
    --cc=davem@davemloft$(echo .)net \
    --cc=deepa.kernel@gmail$(echo .)com \
    --cc=deller@gmx$(echo .)de \
    --cc=ebiederm@xmission$(echo .)com \
    --cc=fenghua.yu@intel$(echo .)com \
    --cc=firoz.khan@linaro$(echo .)org \
    --cc=geert@linux-m68k$(echo .)org \
    --cc=hpa@zytor$(echo .)com \
    --cc=jcmvbkbc@gmail$(echo .)com \
    --cc=linux-alpha@vger$(echo .)kernel.org \
    --cc=linux-api@vger$(echo .)kernel.org \
    --cc=linux-arch@vger$(echo .)kernel.org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-fsdevel@vger$(echo .)kernel.org \
    --cc=linux-ia64@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-m68k@lists$(echo .)linux-m68k.org \
    --cc=linux-mips@vger$(echo .)kernel.org \
    --cc=linux-parisc@vger$(echo .)kernel.org \
    --cc=linux-s390@vger$(echo .)kernel.org \
    --cc=linux-sh@vger$(echo .)kernel.org \
    --cc=linux@armlinux$(echo .)org.uk \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=luto@kernel$(echo .)org \
    --cc=mattst88@gmail$(echo .)com \
    --cc=mingo@redhat$(echo .)com \
    --cc=monstr@monstr$(echo .)eu \
    --cc=mpe@ellerman$(echo .)id.au \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=paul.burton@mips$(echo .)com \
    --cc=schwidefsky@de$(echo .)ibm.com \
    --cc=sparclinux@vger$(echo .)kernel.org \
    --cc=tglx@linutronix$(echo .)de \
    --cc=tony.luck@intel$(echo .)com \
    --cc=will.deacon@arm$(echo .)com \
    --cc=x86@kernel$(echo .)org \
    --cc=y2038@lists$(echo .)linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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