From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 695B6138334 for ; Wed, 28 Nov 2018 21:35:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97674E0831; Wed, 28 Nov 2018 21:35:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71A2CE0831 for ; Wed, 28 Nov 2018 21:35:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 21869335C58 for ; Wed, 28 Nov 2018 21:35:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8EB954B5 for ; Wed, 28 Nov 2018 21:34:58 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1543440792.abeac3adcbfa4b853b9a7d727f5c6b134fad6fe5.blueness@gentoo> Subject: [gentoo-commits] proj/elfix:master commit in: src/, scripts/, / X-VCS-Repository: proj/elfix X-VCS-Files: configure.ac scripts/paxmodule.c src/paxctl-ng.c X-VCS-Directories: scripts/ / src/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: abeac3adcbfa4b853b9a7d727f5c6b134fad6fe5 X-VCS-Branch: master Date: Wed, 28 Nov 2018 21:34:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0413cf6a-ccc2-445d-baf8-fe153fc03ebb X-Archives-Hash: 81dfad4b9e07cbac398de088422e8120 commit: abeac3adcbfa4b853b9a7d727f5c6b134fad6fe5 Author: Lars Wendler gentoo org> AuthorDate: Tue May 15 07:33:40 2018 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Wed Nov 28 21:33:12 2018 +0000 URL: https://gitweb.gentoo.org/proj/elfix.git/commit/?id=abeac3ad attr/xattr.h is deprecated. Use sys/xattr.h instead Signed-off-by: Anthony G. Basile gentoo.org> configure.ac | 4 ++-- scripts/paxmodule.c | 2 +- src/paxctl-ng.c | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 208d566..84ef48d 100644 --- a/configure.ac +++ b/configure.ac @@ -114,9 +114,9 @@ AS_IF( [test "x$enable_xtpax" != "xno"], [ AC_CHECK_HEADERS( - [attr/xattr.h], + [sys/xattr.h], [], - [AC_MSG_ERROR(["Missing necessary attr/xattr.h"])] + [AC_MSG_ERROR(["Missing necessary sys/xattr.h"])] ) AC_CHECK_LIB( [attr], diff --git a/scripts/paxmodule.c b/scripts/paxmodule.c index 1355f86..6a93420 100644 --- a/scripts/paxmodule.c +++ b/scripts/paxmodule.c @@ -45,7 +45,7 @@ #endif #ifdef XTPAX - #include + #include #define PAX_NAMESPACE "user.pax.flags" #endif diff --git a/src/paxctl-ng.c b/src/paxctl-ng.c index d340a43..25396d4 100644 --- a/src/paxctl-ng.c +++ b/src/paxctl-ng.c @@ -49,7 +49,10 @@ #endif #ifdef XTPAX - #include + #include + #ifndef ENOATTR + #define ENOATTR ENODATA + #endif #define PAX_NAMESPACE "user.pax.flags" #define CREATE_XT_FLAGS_SECURE 1 #define CREATE_XT_FLAGS_DEFAULT 2