[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220515200103.1408370-1-mussitantesmortem@gmail.com>
Date: Sun, 15 May 2022 23:01:02 +0300
From: Maxim Zhukov <crazycdeveloper@...il.com>
To: chi.minghao@....com.cn, varad.gautam@...e.com, arnd@...db.de
Cc: akpm@...ux-foundation.org, shakeelb@...gle.com,
vasily.averin@...ux.dev, manfred@...orfullife.com, dbueso@...e.de,
linux-kernel@...r.kernel.org,
Maxim Zhukov <mussitantesmortem@...il.com>
Subject: [RFC PATCH 0/1] Fix handling semctl on x86-32 kernels
I'm not sure about this patch. Maybe there is a better way to solve this problem:
all libc sends with cmd IPC_64 flag[1][2][3], but x86-32 kernel does not have compat
syscall layer to handle correctly semctl command.
[1]: https://elixir.bootlin.com/uclibc-ng/v1.0.40/source/libc/misc/sysvipc/sem.c#L58
[2]: https://elixir.bootlin.com/musl/v1.2.3/source/src/ipc/semctl.c#L48 -> https://elixir.bootlin.com/musl/v1.2.3/source/src/ipc/ipc.h#L22
[3]: https://elixir.bootlin.com/glibc/glibc-2.35/source/sysdeps/unix/sysv/linux/semctl.c#L124
Maxim Zhukov (1):
ipc, sem: fix backward compatibility with x86-32 kernels
ipc/sem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.36.1
Powered by blists - more mailing lists