* [PATCH] Revert "mips: fix shmctl/semctl/msgctl syscall for o32"
@ 2025-01-30 10:48 Thomas Bogendoerfer
2025-01-31 9:32 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Bogendoerfer @ 2025-01-30 10:48 UTC (permalink / raw)
To: linux-mips, linux-kernel
This reverts commit bc7584e009c39375294794f7ca751a6b2622c425.
The split IPC system calls for o32 have been introduced with modern
version only. Changing this breaks ABI.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---
arch/mips/kernel/syscalls/syscall_o32.tbl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/mips/kernel/syscalls/syscall_o32.tbl b/arch/mips/kernel/syscalls/syscall_o32.tbl
index e8a57c206758..349b8aad1159 100644
--- a/arch/mips/kernel/syscalls/syscall_o32.tbl
+++ b/arch/mips/kernel/syscalls/syscall_o32.tbl
@@ -382,15 +382,15 @@
368 o32 io_pgetevents sys_io_pgetevents_time32 compat_sys_io_pgetevents
# room for arch specific calls
393 o32 semget sys_semget
-394 o32 semctl sys_old_semctl compat_sys_old_semctl
+394 o32 semctl sys_semctl compat_sys_semctl
395 o32 shmget sys_shmget
-396 o32 shmctl sys_old_shmctl compat_sys_old_shmctl
+396 o32 shmctl sys_shmctl compat_sys_shmctl
397 o32 shmat sys_shmat compat_sys_shmat
398 o32 shmdt sys_shmdt
399 o32 msgget sys_msgget
400 o32 msgsnd sys_msgsnd compat_sys_msgsnd
401 o32 msgrcv sys_msgrcv compat_sys_msgrcv
-402 o32 msgctl sys_old_msgctl compat_sys_old_msgctl
+402 o32 msgctl sys_msgctl compat_sys_msgctl
403 o32 clock_gettime64 sys_clock_gettime sys_clock_gettime
404 o32 clock_settime64 sys_clock_settime sys_clock_settime
405 o32 clock_adjtime64 sys_clock_adjtime sys_clock_adjtime
--
2.35.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Revert "mips: fix shmctl/semctl/msgctl syscall for o32"
2025-01-30 10:48 [PATCH] Revert "mips: fix shmctl/semctl/msgctl syscall for o32" Thomas Bogendoerfer
@ 2025-01-31 9:32 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2025-01-31 9:32 UTC (permalink / raw)
To: linux-mips, linux-kernel
On Thu, Jan 30, 2025 at 11:48:56AM +0100, Thomas Bogendoerfer wrote:
> This reverts commit bc7584e009c39375294794f7ca751a6b2622c425.
>
> The split IPC system calls for o32 have been introduced with modern
> version only. Changing this breaks ABI.
>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> ---
> arch/mips/kernel/syscalls/syscall_o32.tbl | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/mips/kernel/syscalls/syscall_o32.tbl b/arch/mips/kernel/syscalls/syscall_o32.tbl
> index e8a57c206758..349b8aad1159 100644
> --- a/arch/mips/kernel/syscalls/syscall_o32.tbl
> +++ b/arch/mips/kernel/syscalls/syscall_o32.tbl
> @@ -382,15 +382,15 @@
> 368 o32 io_pgetevents sys_io_pgetevents_time32 compat_sys_io_pgetevents
> # room for arch specific calls
> 393 o32 semget sys_semget
> -394 o32 semctl sys_old_semctl compat_sys_old_semctl
> +394 o32 semctl sys_semctl compat_sys_semctl
> 395 o32 shmget sys_shmget
> -396 o32 shmctl sys_old_shmctl compat_sys_old_shmctl
> +396 o32 shmctl sys_shmctl compat_sys_shmctl
> 397 o32 shmat sys_shmat compat_sys_shmat
> 398 o32 shmdt sys_shmdt
> 399 o32 msgget sys_msgget
> 400 o32 msgsnd sys_msgsnd compat_sys_msgsnd
> 401 o32 msgrcv sys_msgrcv compat_sys_msgrcv
> -402 o32 msgctl sys_old_msgctl compat_sys_old_msgctl
> +402 o32 msgctl sys_msgctl compat_sys_msgctl
> 403 o32 clock_gettime64 sys_clock_gettime sys_clock_gettime
> 404 o32 clock_settime64 sys_clock_settime sys_clock_settime
> 405 o32 clock_adjtime64 sys_clock_adjtime sys_clock_adjtime
> --
> 2.35.3
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-31 9:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-30 10:48 [PATCH] Revert "mips: fix shmctl/semctl/msgctl syscall for o32" Thomas Bogendoerfer
2025-01-31 9:32 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®