[LTP] [PATCH STAGING v2 06/16] fchroot03: test fchroot() permission checks

Cyril Hrubis chrubis@suse.cz
Thu Aug 20 16:19:38 CEST 2026


Hi!
> Verify that with a regular directory fd the kernel first checks the
> execute permission on the directory and then CAP_SYS_CHROOT: an
> unprivileged process with an accessible directory fails with EPERM and
> a process without execute permission fails with EACCES.

Here as well, the order of the checks is subject to change.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list