1352a9d2ce
Move KERN_PROC_PATHNAME sysctl(3) call into its own function and use it where applicable; this further reduces the number of linuxisms in the program. Reported by: portscout