Nicholas Marriott <nicholas.marri...@gmail.com> writes: > I think you can probably use sysctl KERN_FILE, KERN_FILE_BYPID and look > for KERN_FILE_CDIR in fd_fd on OpenBSD at least.
Ah indeed, that's how fstat(1) does it. And it's even more permissive than on Linux because my non-privileged user can see the wd of all processes, even root's. But it will require linking tmux with -lkvm on OpenBSD. Is that okay? > I don't think we need a new option, why not make default-path default to > "" and override the automatic inheriting if it's changed to something > else? Works for me. So, if linking with -lkvm is acceptable I'll add support for OpenBSD and send an updated patch. Thanks, -- Romain Francoise <rfranco...@debian.org> http://people.debian.org/~rfrancoise/ ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users