Fix bugs in buflen calculation.
Document difference between overwriting argv and prctl(PR_SET_NAME) on linux.