Date: Mon, 18 Jun 2018 15:15:29 -0400 From: Ryan Stone <rysto32@gmail.com> To: Dave Cottlehuber <dch@skunkwerks.at> Cc: freebsd-dtrace@freebsd.org Subject: Re: where did FreeBSD 11's syscall::lstat go? where do syscall probes get defined? Message-ID: <CAFMmRNxn7=k3DwictuDJ5oDt9Wn6DDA2CMamw63wDb0%2Bpmyvaw@mail.gmail.com> In-Reply-To: <1529348905.2613088.1412091424.2D14994E@webmail.messagingengine.com> References: <1529348905.2613088.1412091424.2D14994E@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
The syscall probes are automatically defined based off of the syscalls.master file. As a part of ino64, it seems that lstat() was retired as a system call. As you can see in lstat.c, lstat(3) is now implemented in terms of fstatat(2), so that's what new scripts should be used. You can also see that syscalls.master defines a compat11 version of lstat(), as this is necessary to maintain binary compatibility with pre-12.0 binaries.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNxn7=k3DwictuDJ5oDt9Wn6DDA2CMamw63wDb0%2Bpmyvaw>