[LTP] [PATCH] syscalls/fsmount02: fix invalid-flags test failure on Linux 7.1+
Li Wang
li.wang@linux.dev
Thu Apr 30 10:26:13 CEST 2026
Avinesh Kumar via ltp wrote:
> Upstream Linux commit 5e8969bd1927 ("mount: add FSMOUNT_NAMESPACE") [1]
> introduced the `FSMOUNT_NAMESPACE` flag, which maps to `0x02`.
> This causes fsmount02 test failure as `0x02` value is no longer invalid.
>
> fsmount02.c:56: TFAIL: invalid-flags: fsmount() succeeded unexpectedly (index: 1)
>
> Use `0x80000000` as invalid flag value to adapt test for this upstream change.
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5e8969bd1927
> Signed-off-by: Avinesh Kumar <avinesh.kumar@suse.com>
Good catch.
Reviewed-by: Li Wang <li.wang@linux.dev>
--
Regards,
Li Wang
More information about the ltp
mailing list