From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by sourceware.org (Postfix) with ESMTPS id 564F33945050 for ; Tue, 10 Mar 2020 13:35:02 +0000 (GMT) Received: by mail-qk1-x741.google.com with SMTP id p62so12697368qkb.0 for ; Tue, 10 Mar 2020 06:35:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=z1lsvgWPlWgS350DDyK12CGU9y/FKBd4PSAgN7gFptY=; b=quMRUWx3ecW9c/UTeADnzBpLGHTBcJdTL6j/LF59APNoql9BlC2NhrJIyMr5wMAs9x GeLFG5uRvuGkwgx398lj1f/b8nB4zi1ophrRI5rk89ykOSb7+o6A15TQmWR3uyWiX7US pZcQvDcI+jIG88Vd51ktUB1nBrzAiaWv3KimzlTYraYaCY6Hs3JsEBXQvgtakxy7xjVI Wocii0cXwUvydCp5Y9rBkYglOoaseo6sddBpamhsaxM1Wp6W/OOnf7Rs+/ZkpytSKwtl PCM6k931PZqAqK0AoVfbZgFZompjw3nhbBGOPQzpX1R14O9o2G4YUowAn8a5LydIMNLS NKSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=z1lsvgWPlWgS350DDyK12CGU9y/FKBd4PSAgN7gFptY=; b=Nv2Odm9yZsMHsIC5lpSGdVvPlJGhifctykHpve+TxX3+jzENhNBppiAnANZ72/Zp6O gCtFmSfMpukpGmz6tpkHqpamYJfCBeS/j1pPQylC5byWzwFjuz2bDqWmsKBc1iXthmIK X5UHjeEETfx8b2D8fTJ7NfYoAXfl8R9nsCEhmtmxMaeopiu+i2u32mQjC1OpkQrculzp P1VIiav4ykNagsD5/8sYCVxAKfqoo1ff7daTwjjZyWqNJDB4qhdbRdYZ7LF+EWtygPqG M+JCLgP45CvZA40z/lRCH6+cG8yXJ4vyzwLjDgOaSoOQNFAfm4pBeFYarzYWYdOnkOrJ E+XQ== X-Gm-Message-State: ANhLgQ1UB7Hs3S8YvxhN11oLYP1vbtOCu0klMQ/lxvmFLTHTYCgYm5/G Pd4vNbILia0KmUJXGUBg/hWmTVTapzw= X-Google-Smtp-Source: ADFU+vtG1xyfOrMGZXB7u4OV6EAtqRgyf0lrN+lmm8XswYp5sorNMMQIkmUkg6i/atY7Qaan3nA5zg== X-Received: by 2002:a37:2c47:: with SMTP id s68mr10998698qkh.452.1583847301619; Tue, 10 Mar 2020 06:35:01 -0700 (PDT) Received: from localhost.localdomain ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id g2sm23674070qkb.27.2020.03.10.06.35.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 06:35:01 -0700 (PDT) From: Adhemerval Zanella To: libc-stable@sourceware.org Subject: [2.31 COMMITTED] linux/sysipc: Include linux/posix_types.h for __kernel_mode_t Date: Tue, 10 Mar 2020 10:34:52 -0300 Message-Id: <20200310133454.20821-3-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200310133454.20821-1-adhemerval.zanella@linaro.org> References: <20200310133454.20821-1-adhemerval.zanella@linaro.org> X-Spam-Status: No, score=-27.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-stable@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-stable mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2020 13:35:03 -0000 The posix_types.h (where __kernel_mode_t is defined) is included implicitly, which might not happen on older kernels. (cherry picked from commit 7aec9f4e5e0313772d123ba4daa96ea921a50aec) --- 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(+) 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 -- 2.17.1