From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from biznet-home.integral.gnuweeb.org (unknown [182.253.183.184]) by gnuweeb.org (Postfix) with ESMTPSA id B47B47F937; Tue, 17 Jan 2023 23:17:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1673997433; bh=PPaTURbD1g7mkfJxDqc8AFxivfwcGWlKFRRMlZyAylQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tx34+WaqDfs77RMaoY3vxBj7pfSJWKlxMrlLHFUxQ+WdNHM8tX83lJcqVXHXyahYb iqWBx6nxgrZJz7qwR+SdyC5m2oi1Id4Ura5GJ2YFkkpQ3Q20y5pu6NvTpsmTkwwzys n8U+bONK096mJko+uWVtPQQ7jAavbpf2GaoyPaMaiNwO593rALUMBJF4KF9KZ1TLas tDhPd7pn3FRr+H70+SfA2dT7m11zHHNGIV9OYWZRq2K5aFsYXu56KCCiLxdMjYdPQu JqcCTT2DptvQLhrK34egeHcW4XE9x8pm22yuzYFtu6whXYH3uqeNv+btz0nZ3WUUa6 /1pvM0fDuFPoQ== Date: Wed, 18 Jan 2023 06:17:06 +0700 From: Ammar Faizi To: Alviro Iskandar Setiawan Cc: Willy Tarreau , Shuah Khan , "Paul E. McKenney" , Gilang Fachrezy , GNU/Weeb Mailing List , VNLX Kernel Department , Linux Kernel Mailing List , Linux Kselftest Mailing List Subject: Re: [PATCH v3 0/5] nolibc signal handling support Message-ID: References: <20230108135904.851762-1-ammar.faizi@intel.com> <20230108175842.GB18859@1wt.eu> <20230108184930.GC18859@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: 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