Date: Thu, 6 Nov 2014 11:21:34 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Tiwei Bie <btw@mail.ustc.edu.cn> Cc: freebsd-hackers@freebsd.org, Mateusz Guzik <mjguzik@gmail.com> Subject: Re: [PATCH] Finish the task 'sysctl reporting current working directory' Message-ID: <20141106092134.GL53947@kib.kiev.ua> In-Reply-To: <20141106085750.GA52132@freebsd> References: <1414987325-23280-1-git-send-email-btw@mail.ustc.edu.cn> <20141103051908.GC29497@dft-labs.eu> <20141103064052.GA1739@freebsd> <20141103080526.GE29497@dft-labs.eu> <20141103085235.GA85851@freebsd> <20141106081330.GA12284@dft-labs.eu> <20141106085750.GA52132@freebsd>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 06, 2014 at 04:57:50PM +0800, Tiwei Bie wrote: > On Thu, Nov 06, 2014 at 09:13:31AM +0100, Mateusz Guzik wrote: > > On Mon, Nov 03, 2014 at 04:52:35PM +0800, Tiwei Bie wrote: > > > > kernel changes got in in r274167 > > > > Please submit tmux patch to bugzilla. > > > > Thanks! I have submitted the tmux patch to bugzilla [1]. > > [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194858 This is incorrect way to use kern_proc_cwd. You should try the new sysctl, and on ENOENT fall back to the kern_proc_file. Expecting that the binary is run on the same machine where it was build is wrong.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141106092134.GL53947>