History log of /freebsd-current/sys/i386/linux/linux_proto.h
Revision Date Author Comments
# bedbaee8 23-May-2024 Warner Losh <imp@FreeBSD.org>

syscalls: Regen for Linux emulator additions


# 5d88a2aa 15-Apr-2024 Brooks Davis <brooks@FreeBSD.org>

sysproto.h: sys/acl.h -> sys/types.h

In sysproto.h, stop including sys/acl.h as syscall defintions now use
__acl* types from sys/_types.h. Add sys/types.h to provide types
previously provided by sys/param.h (via sys/acl.h).

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D44467


# 99abee8b 03-Oct-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for linux_nosys change

MFC after: 1 week


# 28035f67 24-Sep-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen

MFC after: 1 week


# 1f9d71ee 20-Aug-2023 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for writev syscall


# 89d270b2 20-Aug-2023 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for write syscall


# 158b5729 17-Aug-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for sendfile


# b5c0b955 04-Aug-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for ioprio syscalls

MFC after: 1 month


# d9c2dc6b 22-Jul-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for xattr syscalls

MFC after: 1 month


# 9121945d 09-Jun-2023 Warner Losh <imp@FreeBSD.org>

Regenerate sysent stuff after $FreeBSD$ removal

Sponsored by: Netflix


# eb98f779 28-May-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for linux_execve

MFC after: 2 month


# cd0fca82 28-Apr-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for mknod syscall changes


# 023e6884 28-Apr-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for struct l_old_stat changes


# 50111714 04-Apr-2023 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for close_range syscall

MFC after: 2 weeks


# 7b76c79b 09-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for prctl fix.

MFC after: 2 weeks


# e7685767 09-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for prctl syscall.

MFC after: 2 weeks


# 430460d7 06-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for semtimedop syscalls.

MFC after: 2 weeks


# 79695e95 04-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for recvmmsg_time64 syscall.

MFC after: 2 weeks


# ac80ae93 04-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for timerfd_gettime64 syscall.

MFC after: 2 weeks


# f4228fbb 04-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for timerfd_settime64 syscall.

MFC after: 2 weeks


# 9038a0b7 04-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for timer_settime64 syscall.

MFC after: 2 weeks


# 1cccef6d 04-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for timer_gettime64 syscall.

MFC after: 2 weeks


# cdddbb77 04-May-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for sched_rr_get_interval_time64 syscall.

MFC after: 2 weeks


# df377f1f 26-Apr-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for epoll_pwait2 syscall.


# 75e40949 26-Apr-2022 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for rseq syscall.


# 8601fca7 28-Mar-2022 Brooks Davis <brooks@FreeBSD.org>

sysent: regen for syscallarg_t


# 0910a41e 12-Jan-2022 Brooks Davis <brooks@FreeBSD.org>

Revert "syscallarg_t: Add a type for system call arguments"

Missed issues in truss on at least armv7 and powerpcspe need to be
resolved before recommit.

This reverts commit 3889fb8af0b611e3126dc250ebffb01805152104.
This reverts commit 1544e0f5d1f1e3b8c10a64cb899a936976ca7ea4.


# 3889fb8a 12-Jan-2022 Brooks Davis <brooks@FreeBSD.org>

sysent: regen for syscallarg_t


# e6f760f0 08-Dec-2021 Kyle Evans <kevans@FreeBSD.org>

sysent: regenerate


# b7c55487 08-Dec-2021 Konstantin Belousov <kib@FreeBSD.org>

Regen


# b356030e 12-Aug-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for clone3 system call.

MFC after: 2 weeks


# 0c08f34f 12-Aug-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for clone syscall.

MFC after: 2 weeks


# bee191e4 12-Aug-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for faccessat2 system call.

MFC after: 2 weeks


# 8fe8bb7c 21-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for linux_poll system call.

MFC after: 2 weeks


# 89f15b79 10-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for ppoll_time64 system call.

MFC after: 2 weeks


# 981a60f1 10-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for pselect6_time64 system call.

MFC after: 2 weeks


# c0025290 10-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for rt_sigtimedwait_time64 system call.

MFC after: 2 weeks


# 98597880 10-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for futex_time64 system call.

MFC after: 2 weeks


# ee64d982 10-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

linux(4): Regen for futex system call.

MFC after: 2 weeks


# e29ea22f 06-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for ('0f8dab45404f347752470579feccc6d2739b9570') Linux
rt_sigtimedwait system call.

MFC after: 2 weeks


# 56b18700 06-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for ('6501370a7dfb358daf07555136742bc064e68cb7') Linux
clock_nanosleep_time64 system call.

MFC after: 2 weeks


# 773d9153 06-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for ('187715a420237e1ed94dd5aef158eada7dcdc559') Linux
clock_getres_time64 system call.

MFC after: 2 weeks


# 82e38486 06-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for ('19f9a0e4df54f8d1e99234146024422bdcfa09ce') Linux
clock_settime64 system call.

MFC after: 2 weeks


# 9e07ae7a 06-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for ('99b6f430698fa00a33184dd61591d8b6518ed9d3') Linux
clock_gettime64 system call.

MFC after: 2 weeks


# ea7fa558 06-Jun-2021 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for ('e4bffb80bbc6a2e4b3be89aefcbd5bb2c2fc0ba0') Linux
utimensat_time64 syscall.

MFC after: 2 weeks


# c0f17173 28-May-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

Regen after 6d926e850d2.

Sponsored By: EPSRC


# 77eb9841 17-Nov-2020 Conrad Meyer <cem@FreeBSD.org>

'make sysent' for r367773

X-MFC-With: r367773


# 0c5bd5f9 25-Sep-2020 Edward Tomasz Napierala <trasz@FreeBSD.org>

Regen after r366145.

Sponsored by: DARPA


# ed83a561 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

i386: clean up empty lines in .c and .h files


# 3e9a2142 18-Jul-2020 Edward Tomasz Napierala <trasz@FreeBSD.org>

Regen after r363304.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# a39cdcd7 27-Jun-2020 Edward Tomasz Napierala <trasz@FreeBSD.org>

Regen.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# bafd96b8 20-Jun-2020 Edward Tomasz Napierala <trasz@FreeBSD.org>

Regen after r362440.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# 690a8a6a 05-Feb-2020 Ed Maste <emaste@FreeBSD.org>

regen linuxulator sysent after r357577


# da7627d7 31-Dec-2019 Edward Tomasz Napierala <trasz@FreeBSD.org>

Regen after r356229.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# 0cde2b32 14-Dec-2019 Edward Tomasz Napierala <trasz@FreeBSD.org>

Regen after r355752.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D22371


# d19f028e 25-Sep-2019 Kyle Evans <kevans@FreeBSD.org>

sysent: regenerate after r352693


# 65ab1fdd 10-Sep-2019 Ed Maste <emaste@FreeBSD.org>

regen linuxulator sysent after r352208


# 0e26cd44 07-May-2019 Ed Maste <emaste@FreeBSD.org>

make sysent after r347228

Regenerate to add @generated tag in generated files.


# 1f66cb51 24-Mar-2019 Dmitry Chagin <dchagin@FreeBSD.org>

Regen from r345471.

MFC after: 1 month


# d9be8b39 24-Mar-2019 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r345469 (shmat()).

MFC after: 1 month


# c7d0908e 09-Oct-2018 Brooks Davis <brooks@FreeBSD.org>

Regenerated assorted syscall related files after:
- r327895: Implement 'domainset'...
- r329876: Use linux types for linux-specific syscalls

Diff generated with:
find . -name syscalls.conf | xargs dirname | \
xargs -n1 -I DIR make -C DIR sysent

Approved by: re (kib)
Sponsored by: DARPA, AFRL


# 881b1219 06-Mar-2017 Mahdi Mokhtari <mmokhi@FreeBSD.org>

Regenerated Linuxulator syscall tables for r314782

Approved by: dchagin
MFC after: 1 month


# af687395 26-Feb-2017 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r314312 (Linux epoll_pwait).

MFC after: 1 month


# 354aa2dd 26-Feb-2017 Dmitry Chagin <dchagin@FreeBSD.org>

Regen after r314291 (timerfd definition).

MFC after: 1 month


# bb9b7104 10-Feb-2017 John Baldwin <jhb@FreeBSD.org>

Regenerate all the system call tables to drop "created from" lines.

One of the ibcs2 files contains some actual changes (new headers) as
it hasn't been regenerated after older changes to makesyscalls.sh.


# 12bc0fb5 05-Feb-2017 Dmitry Chagin <dchagin@FreeBSD.org>

Regen after r313284.

MFC after: 2 week


# ab231b83 10-Jul-2016 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r302215 (Linux personality).


# f26a190f 21-May-2016 Dmitry Chagin <dchagin@FreeBSD.org>

Regen after r300359 (struct l_sched_param removal).

MFC after: 1 week


# 351cf753 20-Mar-2016 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r297061 (fstatfs64 Linux syscall).

MFC after: 1 week


# de44d808 14-Jan-2016 Gleb Smirnoff <glebius@FreeBSD.org>

Regen after r293907.


# 5c5aac2d 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283492.


# c532a88c 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283488.


# 3ce05165 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283484.


# ca045164 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283480.


# 657100de 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283467.


# 8d939ad4 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283465.


# 274d2df2 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283451.


# 22f3dfdc 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283444.


# 28fb5535 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283441.


# 0a1884d7 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283428.


# b2e0aad9 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283403.


# e7fa9de6 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283401.


# 737325a4 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283399.


# f680d990 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283396.


# e4454275 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283394.


# 18599d43 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283392.


# 64cfe4dc 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283379.


# 37588665 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283375.


# 8c744294 24-May-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r283370.


# 7b15ee61 01-Jan-2015 Dmitry Chagin <dchagin@FreeBSD.org>

Regen after r276508, r276509.


# 581980cf 18-Sep-2014 Bjoern A. Zeeb <bz@FreeBSD.org>

Re-gen after r271743 implementing most of
timer_{create,settime,gettime,getoverrun,delete}.

MFC after: 3 days
Sponsored by: DARPA, AFRL


# 69d912af 18-Sep-2013 Roman Divacky <rdivacky@FreeBSD.org>

Regen.

Approved by: re (delphij)


# 70ccaaf5 18-Sep-2013 Roman Divacky <rdivacky@FreeBSD.org>

Regen.

Approved by: re (delphij)


# bb07b39f 30-Jul-2012 John Baldwin <jhb@FreeBSD.org>

Regen.


# 17b27db0 16-Apr-2012 Jung-uk Kim <jkim@FreeBSD.org>

Regen for r234359.


# 13fa650c 16-Apr-2012 Jung-uk Kim <jkim@FreeBSD.org>

Regen for r234357.


# 28cc85fd 16-Apr-2012 Jung-uk Kim <jkim@FreeBSD.org>

Regen for r234352.


# 2676e679 10-Mar-2012 Alexander Leidinger <netchild@FreeBSD.org>

regen


# 4eda7b08 29-Dec-2011 John Baldwin <jhb@FreeBSD.org>

Regen.


# cf13a585 20-Nov-2011 Lawrence Stewart <lstewart@FreeBSD.org>

- 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)


# 3d402cb5 19-Nov-2011 Ed Schouten <ed@FreeBSD.org>

Regenerate system call tables.


# 51cfb947 18-Nov-2011 Ed Schouten <ed@FreeBSD.org>

Regenerate system call tables.


# 931f0826 26-Mar-2011 Andriy Gapon <avg@FreeBSD.org>

linux compat: add non-dummy capget and capset system calls, regenerate

And drop dummy definitions for those system calls.
This may transiently break the build.

PR: kern/149168
Submitted by: John Wehle <john@feith.com>
Reviewed by: netchild
MFC after: 2 weeks


# d549ef56 12-Mar-2011 Andriy Gapon <avg@FreeBSD.org>

add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls

Regenerate system call and systrace support files.

PR: kern/152822
Submitted by: Artem Belevich <fbsdlist@src.cx>
Reviewed by: jhb (earlier version)
MFC after: 3 weeks


# 9bd9b524 12-Feb-2011 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r218610.


# 77192fdd 30-Jan-2011 Dmitry Chagin <dchagin@FreeBSD.org>

Regen for r218101.

MFC after: 1 Month.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 80c03b8e 10-Sep-2009 Dag-Erling Smørgrav <des@FreeBSD.org>

As jhb@ pointed out to me, r197057 was incorrect, not least because these
are generated files.


# ebb45b06 09-Nov-2008 Ed Schouten <ed@FreeBSD.org>

Regenerate system call tables for r184789.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 7c0cc5f9 13-May-2008 Roman Divacky <rdivacky@FreeBSD.org>

Regen.

Approved by: kib (mentor)


# 01c3b1b2 16-Apr-2008 Jung-uk Kim <jkim@FreeBSD.org>

Regenerate.


# 50ad4fc6 08-Apr-2008 Konstantin Belousov <kib@FreeBSD.org>

Regenerate


# d8653dd9 16-Mar-2008 Roman Divacky <rdivacky@FreeBSD.org>

Regen.


# e4a76144 18-Sep-2007 David Malone <dwmalone@FreeBSD.org>

regen.

Approved by: re (kensmith)


# 3ab85269 18-Sep-2007 David Malone <dwmalone@FreeBSD.org>

The kernel version of Linux statfs64 is actually supposed to take
3 arguments, but we had forgotten the second argument. Also make the
Linux statfs64 struct depend on the architecture because it has an
extra 4 bytes padding on amd64 compared to i386.

The three argument fix is from David Taylor, the struct statfs64
stuff is my fault. With this patch I can install i386 Linux matlab
on an amd64 machine.

Submitted by: David Taylor <davidt_at_yadt.co.uk>
Approved by: re (kensmith)


# 0e6ed4fe 27-Aug-2007 Konstantin Belousov <kib@FreeBSD.org>

Regenerate.

Approved by: re (kensmith)


# 6734f35e 28-Mar-2007 Julian Elischer <julian@FreeBSD.org>

Implement the openat() linux syscall
Submitted by: Roman Divacky (rdivacky@)
MFC after: 2 weeks


# 1441cab7 14-Feb-2007 Jung-uk Kim <jkim@FreeBSD.org>

Regen.


# 99e9dcf0 31-Dec-2006 Alexander Leidinger <netchild@FreeBSD.org>

regen after addition of linux_utimes and linux_rt_sigtimedwait


# 5e448826 20-Dec-2006 Jung-uk Kim <jkim@FreeBSD.org>

Regen (just to fix 'generated from' line from the previous commit).


# 8187e7d7 20-Dec-2006 Jung-uk Kim <jkim@FreeBSD.org>

Add linux_nanosleep() and regen.


# 6aeb05d7 11-Nov-2006 Tom Rhodes <trhodes@FreeBSD.org>

Merge posix4/* into normal kernel hierarchy.

Reviewed by: glanced at by jhb
Approved by: silence on -arch@ and -standards@


# 96ed72ac 29-Oct-2006 Alexander Leidinger <netchild@FreeBSD.org>

regen after linux_io_* backout


# c1ea90bf 28-Oct-2006 Alexander Leidinger <netchild@FreeBSD.org>

regen (prctl addition)


# 95f2da66 15-Oct-2006 Alexander Leidinger <netchild@FreeBSD.org>

regen (linux AIO stuff)


# 827f0e85 21-Sep-2006 Robert Watson <rwatson@FreeBSD.org>

Regenerate.


# 753a5e88 21-Sep-2006 Robert Watson <rwatson@FreeBSD.org>

Regenerate.


# 084556f5 27-Aug-2006 Alexander Leidinger <netchild@FreeBSD.org>

regen


# f8f1f7fb 15-Aug-2006 John Baldwin <jhb@FreeBSD.org>

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


# c1076505 14-Aug-2006 Alexander Leidinger <netchild@FreeBSD.org>

regen


# 91ce2694 28-Jul-2006 John Baldwin <jhb@FreeBSD.org>

Regen for MPSAFE flag removal.


# 3ce72960 21-Jul-2006 John Baldwin <jhb@FreeBSD.org>

Regen.


# 90aff9de 11-Jul-2006 John Baldwin <jhb@FreeBSD.org>

Regen.


# ec982ae7 06-Jul-2006 John Baldwin <jhb@FreeBSD.org>

Regen.


# cec34dbf 27-Jun-2006 John Baldwin <jhb@FreeBSD.org>

Regen.


# 0cceebee 27-Jun-2006 John Baldwin <jhb@FreeBSD.org>

Regen.


# b820787f 26-Jun-2006 John Baldwin <jhb@FreeBSD.org>

Regen.


# aff681d2 20-Jun-2006 Alexander Leidinger <netchild@FreeBSD.org>

regen after change to syscalls.master


# 4946fe7c 13-Jun-2006 Alexander Leidinger <netchild@FreeBSD.org>

regen after MFP4 (soc2006/rdivacky_linuxolator) of syscalls.master

P4-Changes: similar to 98673 and 98675 but regenerated locally
Sponsored by: Google SoC 2006
Submitted by: rdivacky


# ba5bd000 10-May-2006 Alexander Leidinger <netchild@FreeBSD.org>

regen (linux rt_sigpending)


# c85625bf 18-Mar-2006 Alexander Leidinger <netchild@FreeBSD.org>

regen


# 1f7642e0 18-Mar-2006 Alexander Leidinger <netchild@FreeBSD.org>

regen after COMPAT_43 removal


# 3f4b50a4 05-Feb-2006 Robert Watson <rwatson@FreeBSD.org>

Regenerate.


# ac5ee935 13-Jul-2005 John Baldwin <jhb@FreeBSD.org>

Regen.


# ded18ff2 08-Jun-2005 Maxim Sobolev <sobomax@FreeBSD.org>

Regen after addition of linux_getpriority wrapper.

PR: kern/81951
Submitted by: Andriy Gapon <avg@icyb.net.ua>
MFC after: 1 week


# 3984b232 30-May-2005 Robert Watson <rwatson@FreeBSD.org>

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


# ecab0de7 06-Mar-2005 Maxim Sobolev <sobomax@FreeBSD.org>

Regen after addition of linux_nosys handler.


# bd263739 06-Sep-2004 Doug Rabson <dfr@FreeBSD.org>

Regen.


# 8a7aa72d 24-Aug-2004 John Baldwin <jhb@FreeBSD.org>

Regenerate after fcntl() wrappers were marked MP safe.


# cffd5a3e 28-Mar-2004 Bruce M Simpson <bms@FreeBSD.org>

Use the BSD madvise() syscall implementation for Linux binary emulation,
instead of treating it as an unimplemented syscall. This appears to make
StarOffice 7.0 Linux binaries work according to submitter; also tested
with nvidia driver by submitter.

Submitted by: Matthias Schuendehuette


# e5592f4d 15-Mar-2004 John Baldwin <jhb@FreeBSD.org>

Regenerate.


# 0804ed5a 04-Feb-2004 John Baldwin <jhb@FreeBSD.org>

Regen.


# ff7a52b4 22-Dec-2003 Peter Wemm <peter@FreeBSD.org>

Regen (should be a NOP except for rcsid changes)


# d09c47ac 16-Nov-2003 Maxim Sobolev <sobomax@FreeBSD.org>

Pull latest changes from OpenBSD:

- improve sysinfo(2) syscall;
- add dummy fadvise64(2) syscall;
- add dummy *xattr(2) family of syscalls;
- add protos for the syscalls 222-225, 238-249 and 253-267;
- add exit_group(2) syscall, which is currently just wired to exit(2).

Obtained from: OpenBSD
MFC after: 2 weeks


# fab73bc2 07-Nov-2003 John Baldwin <jhb@FreeBSD.org>

Regen.


# 8fcac23f 20-Feb-2003 Tim J. Robbins <tjr@FreeBSD.org>

Regen from syscalls.master 1.50.


# a5ea48d4 15-Feb-2003 Tim J. Robbins <tjr@FreeBSD.org>

Regen from syscalls.master 1.49.


# 044af7c3 24-Sep-2002 Jonathan Mini <mini@FreeBSD.org>

Back out last commit. Linux uses the old 4.3BSD sockaddr format.


# d7f94a7a 23-Sep-2002 Jonathan Mini <mini@FreeBSD.org>

Don't use compatability syscall wrappers in emulation code.
This is needed for the COMPAT_FREEBSD3 option split.

Reviewed by: alfred, jake


# 9ed93e32 18-May-2002 Marcel Moolenaar <marcel@FreeBSD.org>

Regen (linux_ptrace)

PR: 33299


# 89c9a483 20-Mar-2002 Alfred Perlstein <alfred@FreeBSD.org>

Remove __P.


# 4c1e3817 16-Oct-2001 Marcel Moolenaar <marcel@FreeBSD.org>

Implement linux_chown and linux_lchown. The fchown syscall maps
directly to the native syscall, because no filename handling
needs to be done.

Tested by: Martin Blapp <mb@imp.ch>


# 745190dc 27-Sep-2001 Marcel Moolenaar <marcel@FreeBSD.org>

Regen: Stop using linux_getpgid(). Use the native getpgid()
instead.

PR: kern/21402


# b40ce416 12-Sep-2001 Julian Elischer <julian@FreeBSD.org>

KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.

Sorry john! (your next MFC will be a doosie!)

Reviewed by: peter@freebsd.org, dillon@freebsd.org

X-MFC after: ha ha ha ha


# 5002a60f 08-Sep-2001 Marcel Moolenaar <marcel@FreeBSD.org>

Round of cleanups and enhancements. These include (in random order):

o Introduce private types for use in linux syscalls for two reasons:
1. establish type independence for ease in porting and,
2. provide a visual queue as to which syscalls have proper
prototypes to further cleanup the i386/alpha split.
Linuxulator types are prefixed by 'l_'. void and char have not
been "virtualized".

o Provide dummy functions for all syscalls and remove dummy functions
or implementations of truely obsolete syscalls.

o Sanitize the shm*, sem* and msg* syscalls.

o Make a first attempt to implement the linux_sysctl syscall. At this
time it only returns one MIB (KERN_VERSION), but most importantly,
it tells us when we need to add additional sysctls :-)

o Bump the kenel version up to 2.4.2 (this is not the same as the
KERN_VERSION MIB, BTW).

o Implement new syscalls, of which most are specific to i386. Our
syscall table is now up to date with Linux 2.4.2. Some highlights:
- Implement the 32-bit uid_t and gid_t bases syscalls.
- Implement a couple of 64-bit file size/offset bases syscalls.

o Fix or improve numerous syscalls and prototypes.

o Reduce style(9) violations while I'm here. Especially indentation
inconsistencies within the same file are addressed. Re-indenting
did not obfuscate actual changes to the extend that it could not
be combined.

NOTE: I spend some time testing these changes and found that if there
were regressions, they were not caused by these changes AFAICT.
It was observed that installing a RH 7.1 runtime environment
did make matters worse. Hangs and/or reboots have been observed
with and without these changes, so when it failed to make life
better in cases it doesn't look like it made it worse.


# 814c9526 23-Jul-2001 Jim Pirzyk <pirzyk@FreeBSD.org>

Added the linux_sysinfo function to implement sysinfo(2).

PR: kern/27759
Reviewed by: marcel
Approved by: marcel
MFC after: 1 week


# 07be3b5e 31-Mar-2001 Alan Cox <alc@FreeBSD.org>

Regen after adding linux_sched_get_priority_max() and
linux_sched_get_priority_min().


# a25f3493 16-Feb-2001 Jonathan Lemon <jlemon@FreeBSD.org>

Re-gen auto generated files.


# cc6ca9b3 23-Nov-2000 Marcel Moolenaar <marcel@FreeBSD.org>

o Change the argument of linux_sigreturn to be a pointer to a
struct sigframe. We need more than only the signal context.

o Properly convert the signal mask when setting up the signal
frame in linux_sendsig and properly convert it back in
linux_sigreturn.

Do some cleanups and improve style while here.


# ebea8660 10-Nov-2000 Marcel Moolenaar <marcel@FreeBSD.org>

Revert auto-generation. The Alpha port is broken.
Syncing with it is wrong.


# 2da829a0 09-Nov-2000 Marcel Moolenaar <marcel@FreeBSD.org>

Sync with Alpha:
Do not use sysent.c, proto.h and syscall.h in source tree;
use auto-generated versions.


# 21b0b22c 16-Oct-2000 Andrew Gallatin <gallatin@FreeBSD.org>

regen after addition of linux_rt_sigreturn


# 3a285cc8 29-Jul-2000 Peter Wemm <peter@FreeBSD.org>

Regen. (Fix SYS_exit)


# 69065e88 28-Jul-2000 Peter Wemm <peter@FreeBSD.org>

Regenerate with makesyscalls.sh


# d5124417 16-Jul-2000 Marcel Moolenaar <marcel@FreeBSD.org>

Implement pread and pwrite.

PR: 17991
Submitted by: Geoffrey Speicher <geoff@caribbean.sea-incorporated.com>


# 9114579d 09-May-2000 Bruce Evans <bde@FreeBSD.org>

Regenerated (fixed the calculation of sy_nargs in sysent tables).


# edfd2542 28-Jan-2000 Peter Wemm <peter@FreeBSD.org>

Regen after pointing to the real setres[ug]id(). Remove dummy function.
(Note: getres[ug]id is still a dummy as it returns via pointers to a
different sized integer and does need real wrappers.)


# 0484ef81 10-Jan-2000 Marcel Moolenaar <marcel@FreeBSD.org>

Update syscalls to Linux kernel 2.3.38. These syscalls are
implemented as dummies to ease problem solving.


# ec99e322 30-Nov-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Implement linux_sigaltstack.


# 408da119 27-Nov-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Implement linux_ustat.

Reviewed by: bde


# 25e5bdab 26-Nov-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Implement fdatasync in terms of fsync. The regeneration of proto.h,
syscall.h and sysent.h was probably forgotten after the last change
syscalls.master.


# 956d3333 29-Sep-1999 Marcel Moolenaar <marcel@FreeBSD.org>

sigset_t change (part 4 of 5)
-----------------------------

The compatibility code and/or emulators have been updated:

iBCS2 now mostly uses the older syscalls. SVR4 now properly
handles all signals. This has been achieved by using the
new sigset_t throughout the emulator. The Linuxulator has
been severely updated. Internally the new Linux sigset_t is
made the default. These are then mapped to and from the
new FreeBSD sigset_t.

Also, rt_sigsuspend has been implemented in the Linuxulator.
Implementing this syscall basicly caused all this sigset_t
changing in the first place and the syscall has been used
throughout the change as a means for testing. It basicly is
too much work to undo the implementation so that it can
later be added again.

A special note on the use of sv_sigtbl and sv_sigsize in
struct sysentvec:
Every signal larger than sv_sigsize is not translated and is
passed on to the signal handler unmodified. Signals in the
range 1 upto and including sv_sigsize are translated.
The rationale is that only the system defined signals need to
be translated.

The emulators also have been updated so that the translation
tables are only indexed for valid (system defined) signals.
This change also fixes the translation bug already in the
SVR4 emulator.


# f581b15f 22-Sep-1999 Luoqi Chen <luoqi@FreeBSD.org>

Regeneration.


# 21859779 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

Regen after Id->FreeBSD


# 2fdc82e0 25-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Change all UNIMPL syscalls to STD and add them to linux_dummy. Now we always
know if and when an unimplemented or obsoleted syscall is being used. Make the
message more end-user friendly.

And as long as we're here, rename some unimplemeted syscalls (linux_phys ->
linux_umount2, linux_vm86 -> linux_vm86old, linux_new_vm86 -> linux_vm86).

Change prototype for linux_newuname from `struct linux_newuname_t *' into
`struct linux_new_utsname *'. This change is reflected in linux.h and
linux_misc.c.


# 42035021 16-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Implement linux_vfork() syscall by calling vfork(). Analogous to the
linux_fork() implementation.


# a171f5ad 15-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Provide wrappers for sched_{s|g}etscheduler. We need to convert the policy
argument.

PR: 12006
Originator: Jean-Claude MICHOT <jcmichot@teaser.fr>


# 81d960fa 14-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Implementation of the linux_getcwd syscall.


# 06ebbe77 14-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Implementation of linux_rt_sigaction and linux_rt_sigprocmask syscalls. Both
functions use the new sigset_t and sigaction_t which allows support for more
than 32 signals. Only the lower 32 signals are supported for now.

linux_rt_sigaction, linux_sigaction and linux_signal use linux_do_sigaction
to do the actual work. That way unnecessary redundancy is avoided. The same
has been done for linux_rt_sigprocmask and linux_sigprocmask. They call
linux_do_sigprocmask to do the actual work.


# 00d3c516 12-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Use a wrapper for the link syscall that does name translations.

PR: 12749
Submitted by: Boris Nikolaus <boris@cs.tu-berlin.de>


# 175db64b 11-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Do not map {s|g}etrlimit onto FreeBSD syscalls. The arguments don't match.
The linux syscalls translate the arguments first before invoking the
FreeBSD native syscalls.

PR: kern/9591
Originator: John Plevyak <jplevyak@inktomi.com>


# 397e4760 30-Dec-1998 Søren Schmidt <sos@FreeBSD.org>

Commit #2 of

PR: 9235
Submitted by: marcel@scc.nl <Marcel Moolenaar>


# 5b3c7910 22-Dec-1998 Søren Schmidt <sos@FreeBSD.org>

The result of running make linux_sysent.c on the new syscalls.master


# bfc338e0 21-Dec-1998 Søren Schmidt <sos@FreeBSD.org>

The result of running make linux_sysent.c on the new syscall.master file


# 6626c604 18-Dec-1998 Julian Elischer <julian@FreeBSD.org>

Reviewed by: Luoqi Chen, Jordan Hubbard
Submitted by: "Richard Seaman, Jr." <lists@tar.com>
Obtained from: linux :-)

Code to allow Linux Threads to run under FreeBSD.

By default not enabled
This code is dependent on the conditional
COMPAT_LINUX_THREADS (suggested by Garret)
This is not yet a 'real' option but will be within some number of hours.


# d14897d3 10-Jul-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Quick and dirty support for Linux's mremap. Not used by anything
but quake2 AFAIK.

Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>


# 39b14624 08-Jun-1998 Bruce Evans <bde@FreeBSD.org>

Updated generated files.


# 414c93f3 08-Jun-1998 Bruce Evans <bde@FreeBSD.org>

Updated generated files.


# ecbb00a2 07-Jun-1998 Doug Rabson <dfr@FreeBSD.org>

This commit fixes various 64bit portability problems required for
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change brings us
inline with various other BSD versions. Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.

The prototype FreeBSD/alpha machdep will follow in a couple of days
time.


# 00d21a13 29-Mar-1998 Peter Wemm <peter@FreeBSD.org>

regenerate


# 8a6472b7 28-Mar-1998 Peter Dufault <dufault@FreeBSD.org>

Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and
_KPOSIX_PRIORITY_SCHEDULING options to work. Changes:

Change all "posix4" to "p1003_1b". Misnamed files are left
as "posix4" until I'm told if I can simply delete them and add
new ones;

Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux;

Add man pages for _POSIX_PRIORITY_SCHEDULING system calls;

Add options to LINT;

Minor fixes to P1003_1B code during testing.


# 76ef0137 16-Dec-1997 KATO Takenori <kato@FreeBSD.org>

Regenerate (fix argument of linux_nice).


# cb226aaa 06-Nov-1997 Poul-Henning Kamp <phk@FreeBSD.org>

Move the "retval" (3rd) parameter from all syscall functions and put
it in struct proc instead.

This fixes a boatload of compiler warning, and removes a lot of cruft
from the sources.

I have not removed the /*ARGSUSED*/, they will require some looking at.

libkvm, ps and other userland struct proc frobbing programs will need
recompiled.


# 404c835d 29-Oct-1997 KATO Takenori <kato@FreeBSD.org>

Implement linux_iopl and linux_nice.


# fb36e081 09-Apr-1997 Bruce Evans <bde@FreeBSD.org>

Regenerate (removed unused #includes in linux_sysent.c).


# bf07edd9 29-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Renerate (some include files were changed)


# dbc09a63 04-Mar-1996 Peter Wemm <peter@FreeBSD.org>

update linux_times() and linux_utime() emulation,
fix sigsuspend() (actually back out my recent change there)
and regen the syscall tables..


# d66a5066 02-Mar-1996 Peter Wemm <peter@FreeBSD.org>

Mega-commit for Linux emulator update.. This has been stress tested under
netscape-2.0 for Linux running all the Java stuff. The scrollbars are now
working, at least on my machine. (whew! :-)

I'm uncomfortable with the size of this commit, but it's too
inter-dependant to easily seperate out.

The main changes:

COMPAT_LINUX is *GONE*. Most of the code has been moved out of the i386
machine dependent section into the linux emulator itself. The int 0x80
syscall code was almost identical to the lcall 7,0 code and a minor tweak
allows them to both be used with the same C code. All kernels can now
just modload the lkm and it'll DTRT without having to rebuild the kernel
first. Like IBCS2, you can statically compile it in with "options LINUX".

A pile of new syscalls implemented, including getdents(), llseek(),
readv(), writev(), msync(), personality(). The Linux-ELF libraries want
to use some of these.

linux_select() now obeys Linux semantics, ie: returns the time remaining
of the timeout value rather than leaving it the original value.

Quite a few bugs removed, including incorrect arguments being used in
syscalls.. eg: mixups between passing the sigset as an int, vs passing
it as a pointer and doing a copyin(), missing return values, unhandled
cases, SIOC* ioctls, etc.

The build for the code has changed. i386/conf/files now knows how
to build linux_genassym and generate linux_assym.h on the fly.

Supporting changes elsewhere in the kernel:

The user-mode signal trampoline has moved from the U area to immediately
below the top of the stack (below PS_STRINGS). This allows the different
binary emulations to have their own signal trampoline code (which gets rid
of the hardwired syscall 103 (sigreturn on BSD, syslog on Linux)) and so
that the emulator can provide the exact "struct sigcontext *" argument to
the program's signal handlers.

The sigstack's "ss_flags" now uses SS_DISABLE and SS_ONSTACK flags, which
have the same values as the re-used SA_DISABLE and SA_ONSTACK which are
intended for sigaction only. This enables the support of a SA_RESETHAND
flag to sigaction to implement the gross SYSV and Linux SA_ONESHOT signal
semantics where the signal handler is reset when it's triggered.

makesyscalls.sh no longer appends the struct sysentvec on the end of the
generated init_sysent.c code. It's a lot saner to have it in a seperate
file rather than trying to update the structure inside the awk script. :-)

At exec time, the dozen bytes or so of signal trampoline code are copied
to the top of the user's stack, rather than obtaining the trampoline code
the old way by getting a clone of the parent's user area. This allows
Linux and native binaries to freely exec each other without getting
trampolines mixed up.