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 3AEDC386EC28 for ; Wed, 26 Aug 2020 21:02:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3AEDC386EC28 Received: by mail-qk1-x741.google.com with SMTP id d139so3696156qke.11 for ; Wed, 26 Aug 2020 14:02:58 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=zDf35ftmWnQHdDpL4gr4MLeV0Vgn85TgSVHGQjyAc88=; b=QgohJMuTtJ06Sr9/L8JO3JXzMHpRl4Ughko2OvzlIh7i21oiwvPHK0cQM9SArbFgmQ IZDxtJGzXoIKwsg1ra0ZliPEtaiAz9B5hxnWh5LfnyVOR2oUVAv2VxaS+9RXYx88BqiP nwvB4hRUgllbd6Am/eYDYGtp0Er9/JF+WvSWf8+XQTgPWBt7XOUPRRDKZYJ9TXj9SJe+ zjeQ+Uam1E4xie6vDkFkJpR6bjatYQvVG9p5Tq7Y3fQpq5g+jbqhNmR7ewNiaTiDIJut 9mZKouE3KWWv8LlpDs5rdvNq6YGlo4jj9N8UjLOKXy/VdV1dWN/B1IdM9I2i9waY1Auu ybNw== X-Gm-Message-State: AOAM530Pk7j3DivioiYengXzja3v6A/6+QZz8qpFNymrfpf4fqp3D/hy b6i2GkiBOCkPHHLjiHdaxl3b6Lt2wy52u13o X-Google-Smtp-Source: ABdhPJytHs4PCW8CFOZvYc474zfY3aZCl3OZOUnjqgF3q9S0yDOW414sHzGFV+qZkyD+vbyZV5Umeg== X-Received: by 2002:a37:a93:: with SMTP id 141mr12496539qkk.107.1598475772440; Wed, 26 Aug 2020 14:02:52 -0700 (PDT) Received: from localhost.localdomain ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id k5sm153837qtu.2.2020.08.26.14.02.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 14:02:52 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 2/4] linux: Remove __ASSUME_ATFCTS Date: Wed, 26 Aug 2020 18:02:44 -0300 Message-Id: <20200826210246.2830973-2-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200826210246.2830973-1-adhemerval.zanella@linaro.org> References: <20200826210246.2830973-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 21:02:59 -0000 The __have_atfcts is not used anywhere. Checked on x86_64-linux-gnu. --- io/openat.c | 5 ----- sysdeps/unix/sysv/linux/kernel-features.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/io/openat.c b/io/openat.c index a7ce65bee2..2f5a9f04de 100644 --- a/io/openat.c +++ b/io/openat.c @@ -23,11 +23,6 @@ #include #include -/* Some mostly-generic code (e.g. sysdeps/posix/getcwd.c) uses this variable - if __ASSUME_ATFCTS is not defined. */ -#ifndef __ASSUME_ATFCTS -int __have_atfcts; -#endif /* Open FILE with access OFLAG. Interpret relative paths relative to the directory associated with FD. If O_CREAT or O_TMPFILE is in OFLAG, a diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index a6bbc3c94e..e648eecc0d 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -49,10 +49,6 @@ SH this appeared first in 2.6.19-rc1, on ia64 in 2.6.22-rc1. */ #define __ASSUME_PSELECT 1 -/* The *at syscalls were introduced just after 2.6.16-rc1. On PPC - they were introduced in 2.6.17-rc1, on SH in 2.6.19-rc1. */ -#define __ASSUME_ATFCTS 1 - /* Support for inter-process robust mutexes was added in 2.6.17 (but some architectures lack futex_atomic_cmpxchg_inatomic in some configurations). */ -- 2.25.1