From patchwork Fri Mar 6 13:00:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 184285 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp7393001ile; Fri, 6 Mar 2020 05:00:51 -0800 (PST) X-Google-Smtp-Source: ADFU+vtt6Bqs3odvRLIcFlR0p5fUnBd6Ay6CTXmKgh9q+tNYIzxACwfQxnDcBermSJ4Ew9oCXTK8 X-Received: by 2002:a05:6830:1081:: with SMTP id y1mr2290243oto.367.1583499651256; Fri, 06 Mar 2020 05:00:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583499651; cv=none; d=google.com; s=arc-20160816; b=lZPB23HtUPsX9RvzfDWwrnHsQ8PowxmNCaAGqpETfROKQq09a3aColyhBz8HVJcuM7 aAp8XKUswUpWJuFjj+/amXI9e5cxlmtLkuuHfiaThTEKRW6zQ13XyjDpfBrPvqXGEtIU MwRu7u43kPvN5tXcm3LkqT1yvzKAUFFXT/JWJpgV9Jih1uozGt7xYbPVC01HtQdtt+pQ chJNSU+Fth5eh0YR67aeW9U0mmf0rrAOiByly4IgeFebJZXPnN7dPuODcolYoeCXnLGM gA1jgy5VGEwI3TXqtZIm9iJZw2JrK1vDHI1AUKYkunLZFoDumgUxRVyQqbP7AbDjKtXk GmGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:to:from:dkim-signature:delivered-to:sender :list-help:list-post:list-archive:list-subscribe:list-unsubscribe :list-id:precedence:mailing-list:dkim-signature:domainkey-signature; bh=SxcKzJYgigZa91lz9CjEAdGlzqicHPGyKaGpXGaISQk=; b=ezGiKqgQBsZ706LGBt7f4Hg0VUGU5KDV4grZPQctuv5/AD0TgEYKBjUZ2LbQr72u7h RTxelQH+f8pn3RcJt5RMz5Ab8aYVw6U6/bl40IULu8cOXOnkO4FfMwCapqizWwO8x+kW /a6Tm6LOopZypR8M4JbtnwWfJ5vwQH8f8zUwrHlRo+PT7BMFoKznWcl8cKzSNAxft4+c QdD+bLqiI3FwR2TuxbbmsRX4eAGQm9YZGtzwGL63fdPQY8rBSI+GehExczi1PbIo9jHU 2TibWUXi5F3XzXor2EYFdUhmeJX5aHs2UvykgAA87vhdyLqn86HekBtevswdA8Tz61h0 I59A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=tUgdY+f4; dkim=pass header.i=@linaro.org header.s=google header.b=CSgrpLit; spf=pass (google.com: domain of libc-alpha-return-110343-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-110343-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id x79si1411780oif.180.2020.03.06.05.00.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Mar 2020 05:00:51 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-return-110343-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=tUgdY+f4; dkim=pass header.i=@linaro.org header.s=google header.b=CSgrpLit; spf=pass (google.com: domain of libc-alpha-return-110343-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-110343-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=tjzSq+1eVcl8fRSY33ojVLitRXI7MMcqXKwoaqY+Y9NYSfAOIRDdY bpBN//uX0c/0EGcBwefMr6sFRxPcmUkSI8m48PbCOcXR/p/oszMC1x09lHihrXku HYuVDXK11U8vGdFmpdaMIl8peAcuevrWnv5dgUBkEcoOAgssyvCqkE= 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:from:to:subject:date:message-id; s=default; bh=WRDH0/UAqN9iUYrH9/yNAgdTyN8=; b=tUgdY+f4GrmHoF1vgUH/kFCyPOBw BEvRFI91yjEbKqTCxD5wYO5BLhGqujztse1+fF3wFuU7yKVUKK4c4a4wjQNAinYd aBk+DLTnLKdhgOYwsMYqfIvm70HB7Y6Wg2RBN1UpFJh/26uLEBUi3ANkeMiNP+Yu iIV08MPtDbhxZSI= Received: (qmail 93486 invoked by alias); 6 Mar 2020 13:00:40 -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 Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 93316 invoked by uid 89); 6 Mar 2020 13:00:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=kernels X-HELO: mail-qt1-f179.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=SxcKzJYgigZa91lz9CjEAdGlzqicHPGyKaGpXGaISQk=; b=CSgrpLit1Hz1Xd63wzRkv5+B0anZSAK0A84JwlosFqRitbIQZyei5CTGTas1x8j5le df35CwjmKkWYhPjr4+00TQlv9BA7vD/dZSWYdHtZ+zK/Poa4GMEY3v0P3tQZP7bae4pX +iJxnlH5tHXcBxd2dtZZMHbTJpWgxV83vNL/TniVFPvTmmm79xMUv7+NcWp6eQmUwO+f OgIqb/7lsRa1ZqS8Dvgn72YirpRa3QhKbSVGXnGA2AJh5H89fxZRONSossTLjWrqMCKn C5HAA7lF2QtNmKSIKNARVUxZh/Oilm2BITUIwhTBw3/BgTqDFeXoI9AiBmQ0LM0f9Y/3 GzEg== Return-Path: From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [COMMITTED] linux/sysipc: Include linux/posix_types.h for __kernel_mode_t Date: Fri, 6 Mar 2020 10:00:08 -0300 Message-Id: <20200306130008.9178-1-adhemerval.zanella@linaro.org> The posix_types.h (where __kernel_mode_t is defined) is included implicitly, which might not happen on older kernels. --- sysdeps/unix/sysv/linux/msgctl.c | 1 + sysdeps/unix/sysv/linux/semctl.c | 1 + sysdeps/unix/sysv/linux/shmctl.c | 1 + 3 files changed, 3 insertions(+) -- 2.17.1 diff --git a/sysdeps/unix/sysv/linux/msgctl.c b/sysdeps/unix/sysv/linux/msgctl.c index eb28835b3a..fd46aec1a0 100644 --- a/sysdeps/unix/sysv/linux/msgctl.c +++ b/sysdeps/unix/sysv/linux/msgctl.c @@ -21,6 +21,7 @@ #include #include #include +#include /* For __kernel_mode_t. */ #ifndef DEFAULT_VERSION # ifndef __ASSUME_SYSVIPC_BROKEN_MODE_T diff --git a/sysdeps/unix/sysv/linux/semctl.c b/sysdeps/unix/sysv/linux/semctl.c index 0a79e8e4f5..30571af49f 100644 --- a/sysdeps/unix/sysv/linux/semctl.c +++ b/sysdeps/unix/sysv/linux/semctl.c @@ -22,6 +22,7 @@ #include #include #include +#include /* For __kernel_mode_t. */ /* Define a `union semun' suitable for Linux here. */ union semun diff --git a/sysdeps/unix/sysv/linux/shmctl.c b/sysdeps/unix/sysv/linux/shmctl.c index aed9e5260e..f41b359b8b 100644 --- a/sysdeps/unix/sysv/linux/shmctl.c +++ b/sysdeps/unix/sysv/linux/shmctl.c @@ -22,6 +22,7 @@ #include #include #include +#include /* For __kernel_mode_t. */ #ifndef DEFAULT_VERSION # ifndef __ASSUME_SYSVIPC_BROKEN_MODE_T