postprocess: Also pick up user.pax.flags
This is in use by [PaX](https://en.wikipedia.org/wiki/PaX); see also the [Arch Linux wiki](https://wiki.archlinux.org/index.php/PaX). Closes: #412 Closes: #414 Approved by: copumpkin
This commit is contained in:
parent
b3c3c029f0
commit
c9c1483f58
@ -1711,8 +1711,11 @@ read_xattrs_cb (OstreeRepo *repo,
|
||||
gpointer user_data)
|
||||
{
|
||||
int rootfs_fd = GPOINTER_TO_INT (user_data);
|
||||
/* Hardcoded at the moment, we're only taking file caps */
|
||||
static const char *accepted_xattrs[] = { "security.capability" };
|
||||
/* If you have a use case for something else, file an issue */
|
||||
static const char *accepted_xattrs[] =
|
||||
{ "security.capability", /* https://lwn.net/Articles/211883/ */
|
||||
"user.pax.flags" /* https://github.com/projectatomic/rpm-ostree/issues/412 */
|
||||
};
|
||||
guint i;
|
||||
g_autoptr(GVariant) existing_xattrs = NULL;
|
||||
gs_free_variant_iter GVariantIter *viter = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user