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: 1143053 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-104199-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="Sq8AUtjg"; 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 4636Vl5VZKz9sNF for ; Wed, 7 Aug 2019 07:01:03 +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:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=aPxUKKIAO6cCWfNt/Sg8+hSbg9O9B JKRLVUpqt+iblgRQGCb6yA8nbPDVub1NjZkH36p9LOEzWsaWN3Y5Lja+TVD8xjus /nhjupU90AvZG6fqIqZW1PHyLWRUh0BpIn85CF0RJUaNUBbfZ82oXC/2oLXobFrH +RM7TreiQIl+yU= 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:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=shpu/zwXMSIDP1M9zvcbe3YzBmw=; b=Sq8 AUtjg3+BC1iankEVuFImhNkMzyrtB9bb0tRR7KLEiOktAf2roIcwCUik83ROOW8X T0sRtzkAwBo9Fk1MXGHgYsD9e+oOxuo6/Oo39gHM39PWrCuW3P3LYsylSVBaZ9wO m3G2eWYQ+nHn6JNagv5sjYpfmHbyJO/clc+Ogjqo= 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 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. */