From: Todd C. Miller Date: Tue, 10 Jan 2012 18:03:49 +0000 (-0500) Subject: For FreeBSD, try the KERN_PROC_PID sysctl() first, falling back on X-Git-Tag: SUDO_1_8_4~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=148bb5ab502eb14781bff5484625304885e1dd31;p=sudo For FreeBSD, try the KERN_PROC_PID sysctl() first, falling back on ttyname() of std{in,out,err}. --HG-- branch : 1.8 --- 148bb5ab502eb14781bff5484625304885e1dd31