From patchwork Fri May 31 12:13:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1108329 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-102383-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="pcV0LC6K"; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 45Fjyd2Qc0z9s4V for ; Fri, 31 May 2019 22:13:12 +1000 (AEST) 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:mime-version :content-type; q=dns; s=default; b=mSdiSzwXW0t4qDqdFOsqKA0VCjRQ3 RlqLEpPRpyrx7byD7ZQzPkcOnBvrNjzv3HypBpXfeGd8oEIOeqAanq6X1+4JC2qC WHNN/TPa5sArG75UFTVGVw1S1XZlmzlOWHZxP1Qx9jkeDzmPYpsiLm0E2Btov0dR ZARrVFkuAb/9So= 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:mime-version :content-type; s=default; bh=33FzB0f4Ev0GfM9/gBqjvzMDKJ0=; b=pcV 0LC6KI2d0oX/w9LeO98kNgb4d5HYKxKyLpkcYmnvek7Rg/hp6QGODREU2z2/r85r /wbb2bEp1WZ4BHPceTXJo6SHRhmrF6PPPnxONQqOvX8/6Ue+td3UGnLIbibYn2F+ Hw3cs9IJ3DY6M9h0g7lHdTIFcnSEYENTkTh94yas= Received: (qmail 79355 invoked by alias); 31 May 2019 12:13:06 -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 79340 invoked by uid 89); 31 May 2019 12:13:06 -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, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=1407, HX-Languages-Length:1522 X-HELO: mx1.redhat.com From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH] Linux: Add oddly-named arm syscalls to syscall-names.list Date: Fri, 31 May 2019 14:13:02 +0200 Message-ID: <87o93ilt4h.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 (Zack suggested I should post this separately.) on arm defines the following macros: #define __ARM_NR_breakpoint (__ARM_NR_BASE+1) #define __ARM_NR_cacheflush (__ARM_NR_BASE+2) #define __ARM_NR_usr26 (__ARM_NR_BASE+3) #define __ARM_NR_usr32 (__ARM_NR_BASE+4) #define __ARM_NR_set_tls (__ARM_NR_BASE+5) #define __ARM_NR_get_tls (__ARM_NR_BASE+6) These do not follow the regular __NR_* naming convention and have so far been ignored by the syscall-names.list consistency checks. This commit adds these names to the file, preparing for the availability of these names in the regular __NR_* namespace. 2019-05-31 Florian Weimer * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named system calls for the arm architecture: breakpoint, get_tls, set_tls, usr26, usr32. diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list index 2d0354b8b3..ae8adabb70 100644 --- a/sysdeps/unix/sysv/linux/syscall-names.list +++ b/sysdeps/unix/sysv/linux/syscall-names.list @@ -52,6 +52,7 @@ bdflush bind bpf break +breakpoint brk cachectl cacheflush @@ -139,6 +140,7 @@ get_kernel_syms get_mempolicy get_robust_list get_thread_area +get_tls getcpu getcwd getdents @@ -499,6 +501,7 @@ set_mempolicy set_robust_list set_thread_area set_tid_address +set_tls setdomainname setfsgid setfsgid32 @@ -611,6 +614,8 @@ unlinkat unshare uselib userfaultfd +usr26 +usr32 ustat utime utimensat