[Libguestfs] [PATCH] umask: Use /proc/<PID>/status to read umask in Linux >= 4.7.

Roman Kagan rkagan at virtuozzo.com
Mon May 23 09:12:21 UTC 2016


On Sat, May 21, 2016 at 01:14:40PM +0100, Richard W.M. Jones wrote:
> +  path = safe_asprintf (g, "/proc/%d/status", getpid ());

Why not "/proc/self/status"?

Roman.




More information about the Libguestfs mailing list