From patchwork Tue Aug 6 21:00:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 33985 Received: (qmail 95530 invoked by alias); 6 Aug 2019 21:00:57 -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 95516 invoked by uid 89); 6 Aug 2019 21:00:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:827 X-HELO: esa4.mentor.iphmx.com IronPort-SDR: qiPPjF/aWzomO5X3ZASIhsgI8sHIxsUMPwpiExBENeRhQZDsH7THEnV686I9kh5n0SSE/vL1af 55Y0hi6DG6Lsc5ZMnhSSYlnYCaEm9ePkh5wzniNmly1IpfxiIQ/d/aagcaahiVp9RVpRRuAwv2 VFh2UzDLIIrWNITlMd7tBEXPc1vfv2RDrA3a8Kl7UYPK7MOmPBbesVvgxk+vOGxMejkaJv80cg aHKb4IaMa4umEU7WSZ6r26o7Qb5/E9XlCGJb6s/p5PduP9ao6t9dFtURR9klG7AcGaxzNpoeqn sTM= IronPort-SDR: sR9CRHeSjhLR8uAP7lmJGai4JhnZk1WUvhWEB4mb1DCh4bB9j914ryKe4CwxUkYkDlq/kA8gd8 ptQWfbl+fHi+0h8rCjTur4ZA0o+1TA8563zKtRzACx3NUeziFL2/5QO28ozj6OgbNnn5p5shWr MJ8jcDqmycejdP/U+HXrlTmTnomLY+tm2znTQooPnRtVzYLHJNjhl0nrBChrS2vnLmGEVsPUxC UYyM3+kZIwci/9VrtjRlg6hVu9Bo4wzevuJuc2uiXeg1OO+5j1yD56GLp7VmupKT9vTB7JsuFm 1eE= Date: Tue, 6 Aug 2019 21:00:49 +0000 From: Joseph Myers To: Subject: Add AT_RECURSIVE from Linux 5.2 to fcntl.h Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Return-Path: joseph@codesourcery.com This patch adds the AT_RECURSIVE constant from Linux 5.2 to glibc's fcntl.h. (Existing practice in glibc is that the AT_* constants go directly in io/fcntl.h rather than somewhere OS-specific.) Tested for x86_64. 2019-08-06 Joseph Myers * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro. diff --git a/io/fcntl.h b/io/fcntl.h index 7af8dfba69..1043d27ad9 100644 --- a/io/fcntl.h +++ b/io/fcntl.h @@ -161,6 +161,7 @@ typedef __pid_t pid_t; # define AT_STATX_SYNC_AS_STAT 0x0000 # define AT_STATX_FORCE_SYNC 0x2000 # define AT_STATX_DONT_SYNC 0x4000 +# define AT_RECURSIVE 0x8000 /* Apply to the entire subtree. */ # endif # define AT_EACCESS 0x200 /* Test access permitted for effective IDs, not real IDs. */