History log of /freebsd-10.0-release/sys/compat/freebsd32/freebsd32_sysent.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 255709 19-Sep-2013 jhb

Regen.

Approved by: re (delphij)


# 255658 17-Sep-2013 jilles

Regenerate for freebsd32_cap_enter().

Approved by: re (hrs)


# 255220 04-Sep-2013 pjd

Regenerate after r255219.

Sponsored by: The FreeBSD Foundation


# 254492 18-Aug-2013 pjd

Regenerate after r254491.


# 254482 18-Aug-2013 pjd

Regenerate after r254481.


# 254448 17-Aug-2013 pjd

Regenerate after r254447.

Sponsored by: The FreeBSD Foundation


# 253531 21-Jul-2013 kib

Regenerate.


# 253495 20-Jul-2013 kib

Regenerate


# 251527 08-Jun-2013 glebius

aio_mlock() added:
- Regen for r251526.
- Bump __FreeBSD_version.


# 250854 21-May-2013 kib

Regenerate.


# 250160 01-May-2013 jilles

Regenerate files for pipe2().


# 250155 01-May-2013 jilles

Regenerate files for accept4().


# 248996 02-Apr-2013 mdf

Regen.

MFC after: 1 week


# 248600 21-Mar-2013 pjd

Regenerate after r248599.

Sponsored by: The FreeBSD Foundation


# 247668 02-Mar-2013 pjd

Regen after r247667.


# 247604 01-Mar-2013 pjd

Regen after r247602.


# 242959 13-Nov-2012 kib

Regen


# 239349 17-Aug-2012 davidxu

regen.


# 239347 17-Aug-2012 davidxu

Implement syscall clock_getcpuclockid2, so we can get a clock id
for process, thread or others we want to support.
Use the syscall to implement POSIX API clock_getcpuclock and
pthread_getcpuclockid.

PR: 168417


# 239297 15-Aug-2012 kib

Regenerate.


# 239249 14-Aug-2012 kib

Regenerate.


# 236027 25-May-2012 ed

Regenerate system call tables.


# 232449 03-Mar-2012 jmallett

o) Add COMPAT_FREEBSD32 support for MIPS kernels using the n64 ABI with userlands
using the o32 ABI. This mostly follows nwhitehorn's lead in implementing
COMPAT_FREEBSD32 on powerpc64.
o) Add a new type to the freebsd32 compat layer, time32_t, which is time_t in the
32-bit ABI being used. Since the MIPS port is relatively-new, even the 32-bit
ABIs use a 64-bit time_t.
o) Because time{spec,val}32 has the same size and layout as time{spec,val} on MIPS
with 32-bit compatibility, then, disable some code which assumes otherwise
wrongly when built for MIPS. A more general macro to check in this case would
seem like a good idea eventually. If someone adds support for using n32
userland with n64 kernels on MIPS, then they will have to add a variety of
flags related to each piece of the ABI that can vary. That's probably the
right time to generalize further.
o) Add MIPS to the list of architectures which use PAD64_REQUIRED in the
freebsd32 compat code. Probably this should be generalized at some point.

Reviewed by: gonzo


# 227776 20-Nov-2011 lstewart

- Add the ffclock_getcounter(), ffclock_getestimate() and ffclock_setestimate()
system calls to provide feed-forward clock management capabilities to
userspace processes. ffclock_getcounter() returns the current value of the
kernel's feed-forward clock counter. ffclock_getestimate() returns the current
feed-forward clock parameter estimates and ffclock_setestimate() updates the
feed-forward clock parameter estimates.

- Document the syscalls in the ffclock.2 man page.

- Regenerate the script-derived syscall related files.

Committed on behalf of Julien Ridoux and Darryl Veitch from the University of
Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward
Clock Synchronization Algorithms" project.

For more information, see http://www.synclab.org/radclock/

Submitted by: Julien Ridoux (jridoux at unimelb edu au)


# 227692 19-Nov-2011 ed

Regenerate system call tables.


# 227071 04-Nov-2011 jhb

Regen.


# 226365 14-Oct-2011 jhb

Regen.


# 226349 13-Oct-2011 marcel

Wrap mprotect(2) so that we can add execute permissions when read
permissions are requested. This is needed on amd64 and ia64 for
JDK 1.4.x


# 225618 16-Sep-2011 kmacy

Auto-generated code from sys_ prefixing makesyscalls.sh change

Approved by: re(bz)


# 224067 15-Jul-2011 jonathan

Auto-generated system call code with cap_new(), cap_getrights().

Approved by: mentor (rwatson), re (Capsicum blanket)
Sponsored by: Google Inc


# 223167 16-Jun-2011 kib

Regen.


# 220792 18-Apr-2011 mdf

Regen.


# 220239 01-Apr-2011 kib

Regen


# 220164 30-Mar-2011 trasz

Regenerate.


# 220159 30-Mar-2011 kib

Regen.


# 219305 05-Mar-2011 trasz

Regenerate.


# 219132 01-Mar-2011 rwatson

Regenerate system call files following addition of cap_enter(2),
cap_getmode(2), and capabilities.conf.

Reviewed by: anderson
Discussed with: benl, kris, pjd
Obtained from: Capsicum Project
Sponsored by: Google, Inc.
MFC after: 3 months


# 209581 28-Jun-2010 kib

Regenerate


# 205328 19-Mar-2010 kib

Regen


# 205016 11-Mar-2010 nwhitehorn

Regen after big endian compatibility import.


# 205014 11-Mar-2010 nwhitehorn

Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

Reviewed by: kib, jhb


# 200112 04-Dec-2009 kib

Regenerate.


# 198512 27-Oct-2009 kib

Regenerate


# 197637 30-Sep-2009 rwatson

Regenerate system call files following r197636.


# 195469 08-Jul-2009 trasz

Regen the freebsd32 parts.

Approved by: re (kib)


# 194919 24-Jun-2009 jhb

Regen.


# 194647 22-Jun-2009 jhb

Regen.


# 194392 17-Jun-2009 jhb

Regen.


# 194263 15-Jun-2009 jhb

Regen.


# 193917 10-Jun-2009 kib

Regenerate


# 193235 01-Jun-2009 rwatson

Regenerate generated syscall files following changes to struct sysent in
r193234.


# 191675 29-Apr-2009 jamie

Regen for new jail system calls in r191673.

Approved by: bz (mentor)


# 190622 01-Apr-2009 kib

Regen


# 185879 10-Dec-2008 jhb

Regen.


# 185436 29-Nov-2008 bz

Regen after jail support was added in r185435.


# 184790 09-Nov-2008 ed

Regenerate system call tables for r184789.


# 184589 03-Nov-2008 dfr

Regen.


# 184184 22-Oct-2008 jhb

Regen for freebsd32_getdirentries().


# 183362 25-Sep-2008 jhb

Regen.


# 183271 22-Sep-2008 obrien

Regenerate for r183270.


# 183189 19-Sep-2008 obrien

Regenerate for r183188.


# 183043 15-Sep-2008 obrien

Regenerate for r183042.


# 182124 24-Aug-2008 rwatson

Regenerate following r182123.


# 181906 20-Aug-2008 ed

Update system call tables.

The previous commit also included changes to all the system call lists,
but it is a tradition to update these lists in a second commit, so rerun
make sysent to update the $FreeBSD$ tags inside these files to refer to
the latest version of syscalls.master.

Requested by: rwatson


# 181905 20-Aug-2008 ed

Integrate the new MPSAFE TTY layer to the FreeBSD operating system.

The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:

- Improved driver model:

The old TTY layer has a driver model that is not abstract enough to
make it friendly to use. A good example is the output path, where the
device drivers directly access the output buffers. This means that an
in-kernel PPP implementation must always convert network buffers into
TTY buffers.

If a PPP implementation would be built on top of the new TTY layer
(still needs a hooks layer, though), it would allow the PPP
implementation to directly hand the data to the TTY driver.

- Improved hotplugging:

With the old TTY layer, it isn't entirely safe to destroy TTY's from
the system. This implementation has a two-step destructing design,
where the driver first abandons the TTY. After all threads have left
the TTY, the TTY layer calls a routine in the driver, which can be
used to free resources (unit numbers, etc).

The pts(4) driver also implements this feature, which means
posix_openpt() will now return PTY's that are created on the fly.

- Improved performance:

One of the major improvements is the per-TTY mutex, which is expected
to improve scalability when compared to the old Giant locking.
Another change is the unbuffered copying to userspace, which is both
used on TTY device nodes and PTY masters.

Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.

Obtained from: //depot/projects/mpsafetty/...
Approved by: philip (ex-mentor)
Discussed: on the lists, at BSDCan, at the DevSummit
Sponsored by: Snow B.V., the Netherlands
dcons(4) fixed by: kan


# 180434 10-Jul-2008 brooks

Regen


# 177790 31-Mar-2008 kib

Regen


# 177634 26-Mar-2008 dfr

Regen.


# 177613 25-Mar-2008 jhb

Regen.


# 177091 12-Mar-2008 jeff

Remove kernel support for M:N threading.

While the KSE project was quite successful in bringing threading to
FreeBSD, the M:N approach taken by the kse library was never developed
to its full potential. Backwards compatibility will be provided via
libmap.conf for dynamically linked binaries and static binaries will
be broken.


# 176216 12-Feb-2008 ru

Regenerate for readlink(2).


# 175518 20-Jan-2008 rwatson

Regenerate.


# 175165 08-Jan-2008 jhb

Regen for shm_open(2) and shm_unlink(2).


# 174383 06-Dec-2007 jhb

Regen.


# 171861 16-Aug-2007 davidxu

Regenerate.

Approved by: re(kensmith)


# 171214 04-Jul-2007 peter

Regenerate after mmap/lseek/etc syscall changes

Approved by: re (kensmith)


# 165406 20-Dec-2006 jkim

Regen.


# 164199 11-Nov-2006 ru

Regen.

Forgotten by: trhodes


# 163961 03-Nov-2006 ru

Regen.


# 163956 03-Nov-2006 rrs

This commits the remake in kern/ make sysent to get
the correct syscalls.master's $FreeBSD$ tag record and
a make sysent in sys/compat/freebsd32. Thanks Ruslan
for pointing out the steps I missed :-0
Approved by: gnn


# 163664 24-Oct-2006 sobomax

Regen.


# 163658 24-Oct-2006 rwatson

Regenerate.


# 163451 17-Oct-2006 davidxu

Regenerate.


# 163047 06-Oct-2006 davidxu

Regenerate.


# 163020 04-Oct-2006 davidxu

Regenerate.


# 162993 03-Oct-2006 rwatson

Regenerate.


# 162566 22-Sep-2006 davidxu

Regenerate.


# 162552 22-Sep-2006 davidxu

Regenerate.


# 162537 21-Sep-2006 davidxu

Regenerate.


# 162502 21-Sep-2006 davidxu

Regenerate.


# 162374 17-Sep-2006 rwatson

Regenerate.


# 162167 08-Sep-2006 davidxu

The following functions need not to be reimplemented, reuse 64bit
syscalls instead:
sigqueue, thr_set_name, thr_setscheduler, thr_getscheduler,
thr_setschedparam.


# 161960 03-Sep-2006 rwatson

Regenerate.


# 161948 03-Sep-2006 rwatson

Regenerate. Looks like someone missed doing this previously as more than
just the audit event change appears in the diff.


# 161330 15-Aug-2006 jhb

Regen to propogate <prefix>_AUE_<mumble> changes as well as the earlier
systrace changes.


# 160799 28-Jul-2006 jhb

Regen for MPSAFE flag removal.


# 159983 27-Jun-2006 jhb

Regen.


# 159961 26-Jun-2006 jhb

Regen.


# 157286 30-Mar-2006 ps

regen for 32bit System V shared memory


# 156115 28-Feb-2006 ps

regen for 32bit sendfile


# 155295 04-Feb-2006 rwatson

Regenerate.


# 154587 20-Jan-2006 ambrisko

Regen.


# 153692 23-Dec-2005 ru

Regen.


# 153681 23-Dec-2005 phk

Regenerate sysent with new abort2 system call.

Implement abort2(const char *reason, int narg, void **args);

Submitted by: "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>


# 153248 08-Dec-2005 ambrisko

Regen for futimes.


# 151721 26-Oct-2005 peter

Regenerate (with the correct #ifdef COMPAT_43 tests now)


# 151583 23-Oct-2005 ps

regen


# 151360 15-Oct-2005 ps

regen after recvmsg, recvfrom, sendmsg


# 151358 15-Oct-2005 ps

regen for clock_gettime, clock_settime, clock_getres


# 151356 15-Oct-2005 ps

regen


# 150632 27-Sep-2005 peter

Regenerate


# 147975 13-Jul-2005 jhb

Regen.


# 147814 07-Jul-2005 jhb

Regenerate.

Approved by: re (scottl)


# 146807 30-May-2005 rwatson

Rebuild generated system call definition files following the addition of
the audit event field to the syscalls.master file format.

Submitted by: wsalamon
Obtained from: TrustedBSD Project


# 142874 01-Mar-2005 ps

Correct the freebsd32_kevent prototype.


# 142390 24-Feb-2005 jhb

Regen.


# 140482 19-Jan-2005 ps

Add a 32bit syscall wrapper for modstat

Obtained from: Yahoo!


# 140481 19-Jan-2005 ps

- rename nanosleep1 to kern_nanosleep
- Add a 32bit syscall entry for nanosleep

Reviewed by: peter
Obtained from: Yahoo!


# 139682 04-Jan-2005 jhb

Regenerate.


# 137877 18-Nov-2004 marks

Rebuild from compat/freebsd32/syscalls.master:1.43

Reviewed by: imp, phk, njl, peter
Approved by: njl


# 136834 23-Oct-2004 rwatson

Rebuild from FreeBSD32 syscalls.master:1.42.


# 136192 06-Oct-2004 mtm

Close a race between a thread exiting and the freeing of it's stack.
After some discussion the best option seems to be to signal the thread's
death from within the kernel. This requires that thr_exit() take an
argument.

Discussed with: davidxu, deischen, marcel
MFC after: 3 days


# 132127 13-Jul-2004 peter

Regen


# 132117 13-Jul-2004 phk

Give kldunload a -f(orce) argument.

Add a MOD_QUIESCE event for modules. This should return error (EBUSY)
of the module is in use.

MOD_UNLOAD should now only fail if it is impossible (as opposed to
inconvenient) to unload the module. Valid reasons are memory references
into the module which cannot be tracked down and eliminated.

When kldunloading, we abandon if MOD_UNLOAD fails, and if -force is
not given, MOD_QUIESCE failing will also prevent the unload.

For backwards compatibility, we treat EOPNOTSUPP from MOD_QUIESCE as
success.

Document that modules should return EOPNOTSUPP for unknown events.


# 131430 01-Jul-2004 marcel

Regen.


# 128261 14-Apr-2004 peter

Regen


# 127891 05-Apr-2004 dfr

Regen.


# 127484 27-Mar-2004 mtm

Regen for libthr thread synchronization syscalls.


# 126093 21-Feb-2004 peter

Regen (FWIW)


# 125371 03-Feb-2004 deischen

Regen.


# 125171 28-Jan-2004 peter

Regen


# 123756 23-Dec-2003 peter

Regen (should be a NOP except for rcsid)


# 123748 23-Dec-2003 peter

Regen


# 123745 23-Dec-2003 peter

Regen


# 123427 11-Dec-2003 peter

regen


# 123417 10-Dec-2003 peter

Regen


# 122302 08-Nov-2003 peter

Regen


# 122245 07-Nov-2003 jhb

Regen.


# 119332 22-Aug-2003 peter

Regen


# 119194 21-Aug-2003 peter

Regen


# 114988 14-May-2003 peter

Regen

Approved by: re (amd64 blanket)


# 114017 25-Apr-2003 jhb

Regen.


# 113989 24-Apr-2003 jhb

Regen.


# 107923 15-Dec-2002 marcel

Regen: swapoff


# 106993 16-Nov-2002 deischen

Regenerate after adding syscalls.


# 104741 09-Oct-2002 peter

re-regen. Sigh.


# 104739 09-Oct-2002 peter

regenerate. sendfile stuff and other recently picked up stubs.


# 104379 02-Oct-2002 archie

Let kse_wakeup() take a KSE mailbox pointer argument.

Reviewed by: julian


# 103972 25-Sep-2002 archie

Make the following name changes to KSE related functions, etc., to better
represent their purpose and minimize namespace conflicts:

kse_fn_t -> kse_func_t
struct thread_mailbox -> struct kse_thr_mailbox
thread_interrupt() -> kse_thr_interrupt()
kse_yield() -> kse_release()
kse_new() -> kse_create()

Add missing declaration of kse_thr_interrupt() to <sys/kse.h>.
Regenerate the various generated syscall files. Minor style fixes.

Reviewed by: julian


# 100385 20-Jul-2002 peter

Regenerate


# 94380 10-Apr-2002 dfr

Initial support for executing IA-32 binaries. This will not compile
without a few patches for the rest of the kernel to allow the image
activator to override exec_copyout_strings and setregs.

None of the syscall argument translation has been done. Possibly, this
translation layer can be shared with any platform that wants to support
running ILP32 binaries on an LP64 host (e.g. sparc32 binaries?)