Home | History | Annotate | Download | only in freebsd
History log of /src/sys/compat/freebsd/freebsd_syscall.c
RevisionDateAuthorComments
 1.7  05-Oct-2023  ad Arrange to update cached LWP credentials in userret() rather than during
syscall/trap entry, eliminating a test+branch on every syscall/trap.

This wasn't possible in the 3.99.x timeframe when l->l_cred came about
because there wasn't a reliable/timely way to force an ONPROC LWP running on
a remote CPU into the kernel (which is just about the only new thing in
this scheme).
 1.6  06-Apr-2019  kre Revert previous (1.5) and return to the one before that (1.4), and
just allow things to be broken if this is used on a system where
register_t is int (32 bits) and long is 64 bits. Badly broken...
 1.5  06-Apr-2019  kre Revert previous. Instead change ufetch_long() to ufetch_int() in
both calls (and also remove the cast on the earlier).

These replaced fuword, to fetch a register_t (ie: int).
 1.4  06-Apr-2019  kre If using a cast for &code to make it a u_long * is acceptable a
few lines earlier, it should work here too.
 1.3  06-Apr-2019  thorpej Overhaul the API used to fetch and store individual memory cells in
userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms. The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.
 1.2  08-Aug-2017  maxv branches: 1.2.2; 1.2.4; 1.2.8;
Move freebsd_machdep.h into sys/compat/freebsd, and don't install it. Now,
the compat_freebsd files are all contained in sys/compat/freebsd.
 1.1  01-Aug-2017  maxv Move arch/i386/i386/freebsd_* into compat/freebsd/. COMPAT_FREEBSD is
i386-specific.
 1.2.8.1  10-Jun-2019  christos Sync with HEAD
 1.2.4.2  03-Dec-2017  jdolecek update from HEAD
 1.2.4.1  08-Aug-2017  jdolecek file freebsd_syscall.c was added on branch tls-maxphys on 2017-12-03 11:36:53 +0000
 1.2.2.2  28-Aug-2017  skrll Sync with HEAD
 1.2.2.1  08-Aug-2017  skrll file freebsd_syscall.c was added on branch nick-nhusb on 2017-08-28 17:51:58 +0000

RSS XML Feed