From: Laura Abbott <labbott@redhat.com>
To: Arnd Bergmann <arnd@arndb.de>, y2038@lists.linaro.org
Cc: John Stultz <john.stultz@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
Dominik Brodowski <linux@dominikbrodowski.net>,
linux-api@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ipc: Fix building compat mode without sysvipc
Date: Wed, 6 Mar 2019 06:44:51 -0800 [thread overview]
Message-ID: <3614a6b8-0c2f-747c-ce60-b58e79c5cec5@redhat.com> (raw)
In-Reply-To: <20190306142944.834167-1-arnd@arndb.de>
On 3/6/19 6:29 AM, Arnd Bergmann wrote:
> As John Stultz noticed, my y2038 syscall series caused a link
> failure when CONFIG_SYSVIPC is enabled but CONFIG_COMPAT is
> enabled:
>
is this supposed to be "CONFIG_SYSVIPC is disabled" to match the
subject?
> arch/arm64/kernel/sys32.o:(.rodata+0x960): undefined reference to `__arm64_compat_sys_old_semctl'
> arch/arm64/kernel/sys32.o:(.rodata+0x980): undefined reference to `__arm64_compat_sys_old_msgctl'
> arch/arm64/kernel/sys32.o:(.rodata+0x9a0): undefined reference to `__arm64_compat_sys_old_shmctl'
>
> Add the missing entries in kernel/sys_ni.c for the new system
> calls.
>
> Cc: Laura Abbott <labbott@redhat.com>
> Cc: John Stultz <john.stultz@linaro.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> I'm about to send off my pull requests for arm-soc, so I'd just
> send another one with just this common from my y2038 tree.
> ---
> kernel/sys_ni.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c
> index 85e5ccec0955..62a6c8707799 100644
> --- a/kernel/sys_ni.c
> +++ b/kernel/sys_ni.c
> @@ -202,6 +202,7 @@ COND_SYSCALL(msgget);
> COND_SYSCALL(old_msgctl);
> COND_SYSCALL(msgctl);
> COND_SYSCALL_COMPAT(msgctl);
> +COND_SYSCALL_COMPAT(old_msgctl);
> COND_SYSCALL(msgrcv);
> COND_SYSCALL_COMPAT(msgrcv);
> COND_SYSCALL(msgsnd);
> @@ -212,6 +213,7 @@ COND_SYSCALL(semget);
> COND_SYSCALL(old_semctl);
> COND_SYSCALL(semctl);
> COND_SYSCALL_COMPAT(semctl);
> +COND_SYSCALL_COMPAT(old_semctl);
> COND_SYSCALL(semtimedop);
> COND_SYSCALL(semtimedop_time32);
> COND_SYSCALL(semop);
> @@ -221,6 +223,7 @@ COND_SYSCALL(shmget);
> COND_SYSCALL(old_shmctl);
> COND_SYSCALL(shmctl);
> COND_SYSCALL_COMPAT(shmctl);
> +COND_SYSCALL_COMPAT(old_shmctl);
> COND_SYSCALL(shmat);
> COND_SYSCALL_COMPAT(shmat);
> COND_SYSCALL(shmdt);
>
next prev parent reply other threads:[~2019-03-06 14:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-06 14:29 [PATCH] ipc: Fix building compat mode without sysvipc Arnd Bergmann
2019-03-06 14:44 ` Laura Abbott [this message]
2019-03-06 15:00 ` Arnd Bergmann
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=3614a6b8-0c2f-747c-ce60-b58e79c5cec5@redhat.com \
--to=labbott@redhat.com \
--cc=arnd@arndb.de \
--cc=john.stultz@linaro.org \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@dominikbrodowski.net \
--cc=tglx@linutronix.de \
--cc=y2038@lists.linaro.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;
as well as URLs for NNTP newsgroup(s).