[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y8cscp3BOdAqgkAq@biznet-home.integral.gnuweeb.org>
Date: Wed, 18 Jan 2023 06:17:06 +0700
From: Ammar Faizi <ammarfaizi2@...weeb.org>
To: Alviro Iskandar Setiawan <alviro.iskandar@...weeb.org>
Cc: Willy Tarreau <w@....eu>, Shuah Khan <shuah@...nel.org>,
"Paul E. McKenney" <paulmck@...nel.org>,
Gilang Fachrezy <gilang4321@...il.com>,
GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
VNLX Kernel Department <kernel@...x.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Kselftest Mailing List
<linux-kselftest@...r.kernel.org>
Subject: Re: [PATCH v3 0/5] nolibc signal handling support
On Mon, Jan 16, 2023 at 12:06:44AM +0700, Alviro Iskandar Setiawan wrote:
> Read the glibc sigaction implementation, it has different struct
> sigaction definitions for user and kernel too.
>
> https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/libc_sigaction.c;h=3cbf241a5fa28296c910fa40a41b09d2b6113b05;hb=7e31d166510ac4adbf53d5e8144c709a37dd8c7a
>
> Since nolibc compiles everything in a single translation unit, you
> can't have a different sigset_t definition. You need to copy the
> definition to nolibc header and change the type name to something else
> for internal use only.
I'll give it a try.
--
Ammar Faizi
Powered by blists - more mailing lists