All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ima-evm-utils: attr/xattr.h is deprecated. Use sys/xattr.h instead
@ 2018-05-24 14:04 Lars Wendler
  2018-06-06 19:57 ` Mimi Zohar
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Wendler @ 2018-05-24 14:04 UTC (permalink / raw)
  To: linux-integrity; +Cc: Lars Wendler

See also:
http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38
---
 configure.ac | 2 +-
 src/evmctl.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0497eb7..1f017e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,7 +30,7 @@ AC_SUBST(OPENSSL_LIBS)
 AC_CHECK_HEADER(unistd.h)
 AC_CHECK_HEADERS(openssl/conf.h)
 
-AC_CHECK_HEADERS(attr/xattr.h, , [AC_MSG_ERROR([attr/xattr.h header not found. You need the libattr development package.])])
+AC_CHECK_HEADERS(sys/xattr.h, , [AC_MSG_ERROR([sys/xattr.h header not found.])])
 AC_CHECK_HEADERS(keyutils.h, , [AC_MSG_ERROR([keyutils.h header not found. You need the libkeyutils development package.])])
 
 #debug support - yes for a while
diff --git a/src/evmctl.c b/src/evmctl.c
index 2ffee78..3fbcd33 100644
--- a/src/evmctl.c
+++ b/src/evmctl.c
@@ -49,7 +49,7 @@
 #include <stdint.h>
 #include <string.h>
 #include <dirent.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
 #include <linux/xattr.h>
 #include <getopt.h>
 #include <keyutils.h>
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ima-evm-utils: attr/xattr.h is deprecated. Use sys/xattr.h instead
  2018-05-24 14:04 [PATCH] ima-evm-utils: attr/xattr.h is deprecated. Use sys/xattr.h instead Lars Wendler
@ 2018-06-06 19:57 ` Mimi Zohar
  0 siblings, 0 replies; 2+ messages in thread
From: Mimi Zohar @ 2018-06-06 19:57 UTC (permalink / raw)
  To: Lars Wendler, André Draszik; +Cc: linux-integrity

Hi Lars, Andre,

On Thu, 2018-05-24 at 16:04 +0200, Lars Wendler wrote:
> See also:
> http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38

I'm so sorry, but Andre Draszik's previously posted a patch[1] was
never upstreamed.  Could you review/ack his patch please?

Mimi

[1] https://sourceforge.net/p/linux-ima/mailman/linux-ima-devel/thread/20161017114532.1936-1-git%40andred.net/
> ---
>  configure.ac | 2 +-
>  src/evmctl.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 0497eb7..1f017e2 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -30,7 +30,7 @@ AC_SUBST(OPENSSL_LIBS)
>  AC_CHECK_HEADER(unistd.h)
>  AC_CHECK_HEADERS(openssl/conf.h)
> 
> -AC_CHECK_HEADERS(attr/xattr.h, , [AC_MSG_ERROR([attr/xattr.h header not found. You need the libattr development package.])])
> +AC_CHECK_HEADERS(sys/xattr.h, , [AC_MSG_ERROR([sys/xattr.h header not found.])])
>  AC_CHECK_HEADERS(keyutils.h, , [AC_MSG_ERROR([keyutils.h header not found. You need the libkeyutils development package.])])
> 
>  #debug support - yes for a while
> diff --git a/src/evmctl.c b/src/evmctl.c
> index 2ffee78..3fbcd33 100644
> --- a/src/evmctl.c
> +++ b/src/evmctl.c
> @@ -49,7 +49,7 @@
>  #include <stdint.h>
>  #include <string.h>
>  #include <dirent.h>
> -#include <attr/xattr.h>
> +#include <sys/xattr.h>
>  #include <linux/xattr.h>
>  #include <getopt.h>
>  #include <keyutils.h>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-06 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-24 14:04 [PATCH] ima-evm-utils: attr/xattr.h is deprecated. Use sys/xattr.h instead Lars Wendler
2018-06-06 19:57 ` Mimi Zohar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.