Skip to content

fs: backport mnt_idmap type

Ian Kent requested to merge raven-au/centos-stream-9:idmapping-update into main

JIRA: https://issues.redhat.com/browse/RHEL-33888

This MR back ports idmapping changes to sync. our RHEL-9 kernel with the upstream kernel to version 6.3.

Our current kernel has idmapped mounts support but there have been many changes since this initial implementation in the base kernel. In particular we need the type safety changes and we have seen difficulty back porting other requested changes on more than one occassion.

The Jira this MR has been raised for is arother example of such a request.

It is needed for a back port of a BPF feature to RHEL 9 which allows BPF programs to do file verification with LSM and fsverity. To satisfy this request changes made in the upstream 6.3 kernel are needed which is the reason we have chosen upstream 6.3 as the target release for the MR.

The first fix has been omitted because it appears to be the same as 24b5308cf5ee ("selftests/filesystems: grant executable permission to run_fat_tests.sh"). In any case the requirement is to make the path tools/testing/selftests/filesystems/fat/run_fat_tests.sh executable which is done.

The second and third Omitted patches are a straight apply and revert leaving the source unchanged.

Omitted-Fix: 1d4beeb4edc7 ("selftests/filesystems: grant executable permission to run_fat_tests.sh")

Omitted-Fix: 4a47c6385bb4 ovl: turn of SB_POSIXACL with idmapped layers temporarily

Omitted-Fix: 7c4d37c269ac Revert "ovl: turn of SB_POSIXACL with idmapped layers temporarily"

Signed-off-by: Ian Kent ikent@redhat.com

Edited by Ian Kent

Merge request reports