[LTP] [PATCH v5 3/4] syscalls: lchown02: Convert to new API

Cyril Hrubis chrubis@suse.cz
Tue Sep 2 16:20:20 CEST 2025


Hi!
> +	UID16_CHECK((user_id = geteuid()), "lchown");
> +	GID16_CHECK((group_id = getegid()), "lchown");

The test does not change the uid/git during it's run so user_id and
group_id can be checked and initialized once in the test setup. We also
set it to ltpuser ids so we know the value there as well.

Anyways that is very minor so with that fixed:

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

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list