aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2023-10-10 15:27:56 +0200
committerDavid Sterba <dsterba@suse.com>2023-10-10 15:27:56 +0200
commit54f67decddeb47680f08c720c94b4d4f67181442 (patch)
tree3b76a53c0c3164fc103aaa1e4a1e1f70731e1a12 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parente36f94914021e58ee88a8856c7fdf35adf9c7ee1 (diff)
Revert "btrfs: reject unknown mount options early"
This reverts commit 5f521494cc73520ffac18ede0758883b9aedd018. The patch breaks mounts with security mount options like $ mount -o context=system_u:object_r:root_t:s0 /dev/sdX /mn mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdX, missing codepage or helper program, ... We cannot reject all unknown options in btrfs_parse_subvol_options() as intended, the security options can be present at this point and it's not possible to enumerate them in a future proof way. This means unknown mount options are silently accepted like before when the filesystem is mounted with either -o subvol=/path or as followup mounts of the same device. Reported-by: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions