[LTP] [PATCH 1/2] syscalls/setrlimit02.c: Add a test for EFAULT

Cyril Hrubis chrubis@suse.cz
Mon Oct 9 16:23:04 CEST 2017


Hi!
> + * DESCRIPTION
> + *  1) Test for EINVAL when resource is invalid.
> + *  2) Test for EFAULT when rlim points outside the accessible address space.
> + *  3) Test for EPERM when an unprivileged process tried to use setrlimit() to
> + *     increase a soft or hard limit.

We increase only the hard limit here hence this description is
misleading, we should say here that unprivileged process is trying to
increase the hard limit.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list