check for PR_SET_NAME being defined
commit6ca8d0fd51154c37b571ea74dd0b3e7a60ab847a
authorNathan Froyd <froydnj@codesourcery.com>
Mon, 3 Aug 2009 14:32:12 +0000 (3 07:32 -0700)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 10 Aug 2009 18:11:27 +0000 (10 13:11 -0500)
tree3cf73577a6243e9aab4342f9f755560acfa498c5
parentf6c64e0eea46f4083afd6f7c281cb24a3c1e2021
check for PR_SET_NAME being defined

Depending on what glibc/kernel headers you are compiling against,
PR_SET_NAME may or may not be defined.  Do the right thing if
PR_SET_NAME isn't defined and skip setting the process name.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
vl.c