[ovs-dev] [PATCH 1/3] Fix parent_pid on NetBSD
Ben Pfaff
blp at ovn.org
Tue Oct 18 16:46:12 UTC 2016
On Tue, Oct 18, 2016 at 09:25:24PM +0900, YAMAMOTO Takashi wrote:
> Fix recently introduced parent_pid macro on NetBSD 7.0.
> On NetBSD, procfs status file looks like the following.
>
> n7% cat /proc/$$/status
> zsh 18509 12970 18509 18509 5,8 ctty,sldr 1476344459,639266 0,15575 0,15575 pause 1000 100,100,0
> n7%
>
> Signed-off-by: YAMAMOTO Takashi <yamamoto at ovn.org>
Thank you for the fix. Would you mind updating the comment as well?
Perhaps you could add a sentence like "We check the format of the status
file to avoid the NetBSD file with the same name but different
contents."
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the dev
mailing list