From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-2.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,URIBL_SBL, URIBL_SBL_A shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id DD2221F454 for ; Sat, 9 Nov 2019 11:52:43 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type :content-transfer-encoding; q=dns; s=default; b=uN+QJv3XzyIVwbUX Rdh/+7ctZ7vwPOv05lTukLAMyLJnXKM3Vj9Ovv19zSPbXK6okkCanUpEmcyQA83s UpF8sFltP04ndYvenG9WgFKEFyItTcTWekiWaWnZnV6gK+qNQvZv/Bn6eFRsMEme WvrQq6ss/0EgLE4ftJRizJxUCkI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type :content-transfer-encoding; s=default; bh=kWR3qwDVtslIBreUPwRQ5W Z8aF8=; b=FLeGAJedC0M1sSnqxfcDaGpTwQPIlihcWNo/PXkVHvFk03wzm1bbis hUJOQBTQ6pV4j71HaC3XCs7xnXtuk7kCS5dXi5C/FMkOmiPUaZxOf9YeGg60/xJQ Gmoafsz0NHdh5gd+EjtQEDPHNLnnSDtTo0LLXQkAZMFp6AJhaEBrM= Received: (qmail 127587 invoked by alias); 9 Nov 2019 11:52:41 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 127574 invoked by uid 89); 9 Nov 2019 11:52:41 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-lf1-f65.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=xi6duH3pBBVubrdx2RiTwNtljwfoO/cyvowXG2Qx18U=; b=o8CqLajkWNFhR3uhVNiDxjadE5ILz5wPV6y6dpceqE0oYlpns2eB0UzxAbraWdpDVF xl9+bUsCkAfUkrVCfNTX2c8DVOqrUWrR0dk6mXikmWnxhWVtpuEqDwCsy232gusIWiE8 huycSUzxmhtxszusXyyqC/9DqjTHBkw5gQfu9Ik01QP6EtHOlsKzK15mdKigeZxz8mF/ eW8BXZ9+KfgaPg7pPt+cQTKI/RYxnD9fBoMfxFOOEiNLJge1wk11K+/nUNaXbCLQPnyX Dx5eHk25FLJoRXEK+s3hVuhYmlxfibSzVUjFJNnOc0Nmmo8MPwde4Pdf7h9sIQz8nOcP uDMg== MIME-Version: 1.0 References: <04EB5627-FD42-4397-995B-FDF051CFCFB5@brauner.io> In-Reply-To: <04EB5627-FD42-4397-995B-FDF051CFCFB5@brauner.io> From: Elichai Turkel Date: Sat, 9 Nov 2019 13:52:11 +0200 Message-ID: Subject: Re: Missing size_t declaration in UAPI To: Christian Brauner Cc: linux-api@vger.kernel.org, libc-alpha Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I'm proposing to move `linux/tools/include/nolibc/nolibc.h` to the UAPI interface. It would then be included in `linux/types.h` Would love feedback before I work on a patch. Thanks. Elichai. On Fri, Nov 8, 2019 at 11:43 PM Christian Brauner wr= ote: > > On November 8, 2019 10:25:09 PM GMT+01:00, Elichai Turkel wrote: >> >> Hi, >> Currently compiling the following program fails: >> ``` >> #include "linux/signal.h" >> void main(void){} >> ``` >> Because of `./asm/signal.h:127:2: error: unknown type name =E2=80=98size= _t=E2=80=99`. >> >> I tried patching with `#include ` but there's a local file >> with the same name overriding the include. >> >> How can this be fixed? the `drm` headers seems to work with `uint_*`. >> >> Right now the `linux/signal.h` header isn't usable without wrapping it >> with another header to include/define size_t. >> >> Thanks, >> Elichai. > > > I think it might make sense to always cc the libc mailing list too for th= ese things. --=20 PGP: 5607C93B5F86650C