Richard W.M. Jones
2016-May-23 09:27 UTC
Re: [Libguestfs] [PATCH] umask: Use /proc/<PID>/status to read umask in Linux >= 4.7.
On Mon, May 23, 2016 at 12:12:21PM +0300, Roman Kagan wrote:> 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"?Hmm indeed why not :-( I will fix it ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Apparently Analagous Threads
- [PATCH] umask: Use /proc/<PID>/status to read umask in Linux >= 4.7.
- Re: [PATCH v2 02/17] v2v: factor out opening input VM
- Re: Fwd: [PATCH] v2v: virtio-win: include *.dll too
- Re: [PATCH v2 01/17] v2v: debug gc via at_exit hook
- Re: [PATCH 3/6] v2v:test:win: actually check the eventual layout