[LTP] [PATCH 6/11] mmap/mmap12: Testcase failed when no root user run it

Cyril Hrubis chrubis@suse.cz
Thu Oct 29 12:57:46 CET 2015


Hi!
> Add tst_require_root() to testcase for open /proc/self/pagemap file.

On my machines the /proc/self/pagemap is readable by the process (it's
owned by the user that has started the program).

What is output of ls -l /proc/self/pagemap on your machine?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the Ltp mailing list