From patchwork Sun Feb 9 20:21:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 37825 X-Patchwork-Delegate: carlos@redhat.com Received: (qmail 27720 invoked by alias); 9 Feb 2020 20:21:19 -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 27634 invoked by uid 89); 9 Feb 2020 20:21:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581279675; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ts5NWJ52Q4FaiXQzfJDEE1y7hxkJgHihwl9yehiE868=; b=ddtttlhn9cuPrcbyuqBU5bp6u+lk9KLvwb9JSGs59pnP5fp3eeqGkMwmE8+aF3RrhV3maK DsnIxlnHJyEWix+aT3OzkYf+D6674CikFKrWNcy0Xlwj/nU4GzGkwj2DEFzLXOJDUNX0jF bY8TdBIGglNCnjwhiTaF3Yraef3DgBg= From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 21/26] Linux: open_by_handle_at syscall number is always available In-Reply-To: References: X-From-Line: 81d33619b5b5e9e6e62700968393407b5a5aa347 Mon Sep 17 00:00:00 2001 Message-Id: <81d33619b5b5e9e6e62700968393407b5a5aa347.1581279333.git.fweimer@redhat.com> Date: Sun, 09 Feb 2020 21:21:10 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Due to the built-in tables, __NR_open_by_handle_at is always defined. Reviewed-by: Adhemerval Zanella --- sysdeps/unix/sysv/linux/open_by_handle_at.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/sysdeps/unix/sysv/linux/open_by_handle_at.c b/sysdeps/unix/sysv/linux/open_by_handle_at.c index f682d8cfe4..6c9c53291a 100644 --- a/sysdeps/unix/sysv/linux/open_by_handle_at.c +++ b/sysdeps/unix/sysv/linux/open_by_handle_at.c @@ -24,14 +24,5 @@ int open_by_handle_at (int mount_fd, struct file_handle *handle, int flags) { -#ifdef __NR_open_by_handle_at return SYSCALL_CANCEL (open_by_handle_at, mount_fd, handle, flags); -#else - __set_errno (ENOSYS); - return -1; -#endif } - -#ifndef __NR_open_by_handle_at -stub_warning (open_by_handle_at) -#endif