❦ 23 janvier 2015 22:16 +1100, Craig Small <csm...@debian.org> :

>> /proc/1/smaps. The test is expecting to see the process PID and name as
>> the first line. I can't see why the test would have worked at some
> You mean like this?
> $ pmap -X 1
> 1:   /sbin/init

I get:

$ pmap -X 1
$ echo $?
1

>> if a user is able to open /proc/1/smaps.
> $ ls -l /proc/1/smaps
> -r--r--r-- 1 root root 0 Jan 23 22:12 /proc/1/smaps
>
> So, do you have a different set of permissions?

Same, but:

$ cat /proc/1/smaps
cat: /proc/1/smaps: Permission denied
$ uname -r
3.18.0-trunk-amd64
-- 
Let us endeavor so to live that when we come to die even the undertaker will be
sorry.
                -- Mark Twain, "Pudd'nhead Wilson's Calendar"

Attachment: signature.asc
Description: PGP signature

Reply via email to