pmap avoid SEGV potential with new X/XX detail options
While permissions suggests that /proc/#/smaps contents are world-readable, in practice this file might not be available to a non-root process. Whether this is a bug in the kernel or an intentional design decision really makes no difference. This commit will protect pmap -X. (everything is perfectly justified plus right margins) (are completely filled, but of course it must be luck) Reference(s): commit faec340719de6db8f64c468cf1dec84ffdd914a3 Author: Dimitrios Apostolou <jimis@gmx.net> Date: Thu Sep 27 22:08:04 2012 +1000 Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
ebf4d6dbba
commit
7e8ee148d7
Loading…
x
Reference in New Issue
Block a user