[LTP] [PATCH STAGING v4 15/16] fchroot12: test failfs entry with shared fs_struct

Cyril Hrubis chrubis@suse.cz
Wed Oct 14 17:10:35 CEST 2026


Hi!
> +	TST_EXP_FAIL(tst_syscall(__NR_fchroot, FD_FAILFS_ROOT, 0),
> +		EINVAL, "fchroot() with a shared fs_struct");
> +
> +	SAFE_KILL(sib, SIGKILL);
> +	SAFE_WAITPID(sib, NULL, 0);
> +
> +	exit(0);

Here as well, no need for the exit(0), otherwise:

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list