gnu linux update question

Genes MailLists lists at sapience.com
Thu Jun 30 02:51:08 UTC 2011


On 06/29/2011 08:35 PM, Patrick O'Callaghan wrote:

>>
>>   From this we see:
>>
>>
>> $ ls -l /proc/1/smaps
>> 0 -r--r--r--. 1 root root 0 Jun 28 13:25 /proc/1/smaps
>>
>> $ cat /proc/1/smaps
>> cat: /proc/1/smaps: Permission denied
>>
>> So that is the source of the problem - tho it probably should not give up.
> 
> But the mode bits allow reading, and on my system "cat /proc/1/smaps"
> succeeds (though it's empty). I don't think those files have extended
> attributes so that wouldn't be it.
> 
> Curiouser and curiouser, as Alice said.
> 
> poc
> 

  I'm using 3.0 kernel from rawhide - which had a new procps as a
requirement - so its possible things have changed in /proc ... also this
is systemd's area - its possible some capabilities are needed now which
were not in the past ? Clearly the regular unix permissions bits are
fine ...



More information about the users mailing list