HEADS UP: caution required with updates using custom kernels
Konstantin Belousov
kostikbel at gmail.com
Sat Jun 25 07:02:48 UTC 2016
On Fri, Jun 24, 2016 at 10:50:34PM +0000, Brooks Davis wrote:
> pipe(2) had an unnecessarily odd calling convention (ignoring the
> argument the user thought they were passing and returning the two file
> descriptors via the two return registers). This required machine
> dependent assembly for every target and special handling in tracing
> tools (ktrace, dtrace, etc). On 64-bit platforms, pipe(2)'s
> implementation is the only reason the two-register return model needs to
> exist at all (on 32-bit platforms it allows off_t to be returned from
> lseek).
getpid() is another instance.
More information about the freebsd-current
mailing list