aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-10-21 23:20:21 -0400
committerMike Frysinger <vapier@gentoo.org>2021-10-22 00:15:04 -0400
commit701486a499631955c150344559762ac301147833 (patch)
tree9fb98f74d36da0b6a48f3f20b4e7319f0b9e85d6 /headers.h
parentlibsandbox: use wide readelf output (diff)
downloadsandbox-701486a499631955c150344559762ac301147833.tar.gz
sandbox-701486a499631955c150344559762ac301147833.tar.bz2
sandbox-701486a499631955c150344559762ac301147833.zip
libsandbox: add xattr wrappers #672566
These modify the filesystem, so don't let them do their business. Fixes: https://bugs.gentoo.org/672566 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'headers.h')
-rw-r--r--headers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/headers.h b/headers.h
index 13e005a..605413e 100644
--- a/headers.h
+++ b/headers.h
@@ -143,6 +143,9 @@
#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
+#ifdef HAVE_SYS_XATTR_H
+# include <sys/xattr.h>
+#endif
#ifdef __ia64__ /* what a pos */
# define ia64_fpreg FU_ia64_fpreg