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

Cyril Hrubis <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
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
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.