Skip to content

Commit f89ea8b

Browse files
Revert "libsepol: add memfd_class capability"
This reverts commit 70366a9 ("libsepol: add memfd_class capability"). The corresponding kernel patch was reverted from selinux/dev so we need to follow suit in case the upstream policy capability number changes upon upstream merge. Signed-off-by: Stephen Smalley <[email protected]>
1 parent 70366a9 commit f89ea8b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

libsepol/include/sepol/policydb/polcaps.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ enum {
2020
POLICYDB_CAP_NETIF_WILDCARD,
2121
POLICYDB_CAP_GENFS_SECLABEL_WILDCARD,
2222
POLICYDB_CAP_FUNCTIONFS_SECLABEL,
23-
POLICYDB_CAP_MEMFD_CLASS,
2423
__POLICYDB_CAP_MAX
2524
};
2625
#define POLICYDB_CAP_MAX (__POLICYDB_CAP_MAX - 1)

libsepol/src/polcaps.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ static const char * const polcap_names[POLICYDB_CAP_MAX + 1] = {
1919
[POLICYDB_CAP_NETIF_WILDCARD] = "netif_wildcard",
2020
[POLICYDB_CAP_GENFS_SECLABEL_WILDCARD] = "genfs_seclabel_wildcard",
2121
[POLICYDB_CAP_FUNCTIONFS_SECLABEL] = "functionfs_seclabel",
22-
[POLICYDB_CAP_MEMFD_CLASS] = "memfd_class",
2322
};
2423

2524
int sepol_polcap_getnum(const char *name)

0 commit comments

Comments
 (0)