Skip to contentSkip to conversation

defconfig: add FAT and GRE config options

PATCH Applied Stephen Smalley 2 participants 2 messages Mar 10, 2023 – Mar 13, 2023 SELinux security module

lore
Share & tools
lore

Stephen Smalley

author maintainer
#0 lore raw

PATCH 1/1 defconfig: add FAT and GRE config options

These are required for some of the fat filesystem and sctp tests to run.

---
 defconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
defconfig +8 -0
index ca7a877..2783c01 100644
@@ -42,6 +42,13 @@ CONFIG_IP_SCTP=m
 CONFIG_BT=m
 CONFIG_CRYPTO_USER_API=m
 
+# Network protocol implementations.
+# These are enabled to run sctp ASCONF tests using a GRE tunnel
+CONFIG_NET_IPGRE_DEMUX=m
+CONFIG_NET_IPGRE=m
+CONFIG_NET_IPGRE_BROADCAST=y
+CONFIG_IPV6_GRE=m
+
 # Netlink protocol implementations.
 # These are enabled to test the netlink socket controls in
 # tests/netlink_socket; they are not required for SELinux operation itself.
@@ -112,6 +119,7 @@ CONFIG_NFSD_V4_SECURITY_LABEL=y
 CONFIG_XFS_FS=m
 CONFIG_XFS_QUOTA=y
 CONFIG_VFAT_FS=m
+CONFIG_FAT_DEFAULT_IOCHARSET="ascii"
 
 # watch_queue for key changes.
 # They are not required for SELinux operation itself.
Signature · 1 line
2.39.2
#1 lore raw
Quoted 35 lines · Stephen Smalley

These are required for some of the fat filesystem and sctp tests to run.

---
 defconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
defconfig +8 -1
index ca7a877..2783c01 100644
@@ -42,6 +42,13 @@ CONFIG_IP_SCTP=m
 CONFIG_BT=m
 CONFIG_CRYPTO_USER_API=m
 
+# Network protocol implementations.
+# These are enabled to run sctp ASCONF tests using a GRE tunnel
+CONFIG_NET_IPGRE_DEMUX=m
+CONFIG_NET_IPGRE=m
+CONFIG_NET_IPGRE_BROADCAST=y
+CONFIG_IPV6_GRE=m
+
 # Netlink protocol implementations.
 # These are enabled to test the netlink socket controls in
 # tests/netlink_socket; they are not required for SELinux operation itself.
@@ -112,6 +119,7 @@ CONFIG_NFSD_V4_SECURITY_LABEL=y
 CONFIG_XFS_FS=m
 CONFIG_XFS_QUOTA=y
 CONFIG_VFAT_FS=m
+CONFIG_FAT_DEFAULT_IOCHARSET="ascii"
 
 # watch_queue for key changes.
 # They are not required for SELinux operation itself.
--
Quoted 1 line

2.39.2

Applied, thanks!
https://github.com/SELinuxProject/selinux-testsuite/commit/1c0b28e34eb7763190e3a87966cab82d9fcb50fa

Signature · 3 lines
Ondrej Mosnacek
Senior Software Engineer, Linux Security - SELinux kernel
Red Hat, Inc.