Home | History | Annotate | Download | only in amd64
History log of /src/sys/compat/linux32/arch/amd64/linux32_syscall.h
RevisionDateAuthorComments
 1.87  02-Dec-2021  ryo regen
 1.86  27-Nov-2021  ryo regen
 1.85  20-Sep-2021  thorpej Regen for preadv(2) / pwritev(2).
 1.84  20-Sep-2021  thorpej Regen for eventfd.
 1.83  19-Sep-2021  thorpej Regen for timerfd.
 1.82  19-Sep-2021  thorpej Regen for POSIX timer syscalls.
 1.81  26-Apr-2020  thorpej branches: 1.81.2;
Regen for native futex calls.
 1.80  09-Nov-2019  jdolecek regen
 1.79  10-Aug-2018  pgoyette Regen
 1.78  10-May-2017  riastradh branches: 1.78.8; 1.78.10;
regen
 1.77  16-Jan-2017  christos branches: 1.77.4;
descend and regen
 1.76  13-Jan-2017  christos branches: 1.76.2;
regen
 1.75  08-Mar-2015  christos branches: 1.75.2;
regen
 1.74  07-Mar-2015  christos regen
 1.73  22-Nov-2014  njoly branches: 1.73.2;
Regen for ppoll(2)
 1.72  29-May-2014  njoly Regen for utimes(2).
 1.71  04-May-2014  njoly Regen for pread/pwrite 64bit offset argument.
 1.70  18-Nov-2013  christos branches: 1.70.2;
Regen
 1.69  18-Nov-2013  chs regen
 1.68  07-Nov-2013  njoly Regen for dup/dup2/dup3 argument types fix.
 1.67  13-Jul-2012  christos branches: 1.67.2; 1.67.4;
regen
 1.66  10-May-2012  christos regen
 1.65  18-Nov-2011  christos branches: 1.65.4; 1.65.6;
regen
 1.64  18-Nov-2011  christos add sigtimedwait support
 1.63  30-May-2011  alnsn branches: 1.63.4;
Regenerate files to pick up correct RCS Ids. Suggested by Chris Badura.
 1.62  30-May-2011  alnsn Add fadvise64 and fadvise64_64 syscalls to compat_linux and compat_linux32.
 1.61  10-Apr-2011  christos Regen: XXX: produces errors because of rump changes!
 1.60  02-Nov-2010  chs branches: 1.60.2;
regen
 1.59  07-Jul-2010  chs regen
 1.58  24-Nov-2009  njoly branches: 1.58.2; 1.58.4;
Regen for personality(2) update.
 1.57  08-Jun-2009  njoly Regen for rt_queueinfo addition.
 1.56  05-Jun-2009  njoly Regen for fstatfs.
 1.55  04-Jun-2009  njoly Regen for stat/lstat/fstat syscalls.
 1.54  02-Jun-2009  njoly Regen for siggetmask/sigsetmask.
 1.53  30-Jan-2009  njoly branches: 1.53.2;
Regen for mincore(2).
 1.52  20-Jan-2009  njoly Regen for personality(2) addition.
 1.51  17-Jan-2009  njoly Regen for wait4 update.
 1.50  16-Jan-2009  njoly Regen for compat 50 update.
 1.49  13-Jan-2009  pooka Regen to prove I didn't screw up the conversion: purely RCSID changes.
 1.48  11-Jan-2009  christos merge christos-time_t
 1.47  12-Dec-2008  njoly branches: 1.47.2;
Regen for clock_nanosleep.
 1.46  06-Dec-2008  njoly Regen for netbsd32_caddr_t removal.
 1.45  05-Dec-2008  njoly Regen for getres{uid,gid} syscalls.
 1.44  01-Dec-2008  njoly Regen for sched_get_priority_{min,max}.
 1.43  19-Nov-2008  ad Regen.
 1.42  12-Nov-2008  njoly Regen for nanosleep(2) fix.
 1.41  06-Oct-2008  njoly branches: 1.41.2; 1.41.4;
Regen.
 1.40  22-Sep-2008  njoly Regen after cleanup.
 1.39  24-Jul-2008  njoly Regen for rt_sigpending.
 1.38  16-Jun-2008  christos branches: 1.38.2;
regen
 1.37  20-May-2008  njoly branches: 1.37.2;
Regen for ipc(2) syscall support.
 1.36  17-Apr-2008  njoly branches: 1.36.2; 1.36.4; 1.36.6;
Regen for sys_clock_{getres,gettime,settime} syscalls.
 1.35  04-Apr-2008  njoly Regen for msync(2) support.
 1.34  20-Feb-2008  njoly branches: 1.34.6;
Regen for mlock/munlock syscalls
 1.33  17-Feb-2008  njoly Regen for pread/pwrite fixes.
 1.32  04-Feb-2008  dsl Regen for merging fcntl() and fcntl64().
 1.31  02-Feb-2008  dsl Regen for pread and pwrite
 1.30  15-Jan-2008  njoly Regen.
 1.29  07-Jan-2008  njoly Regen.
 1.28  26-Dec-2007  njoly Regen for readdir syscall.
 1.27  24-Dec-2007  njoly Regen for old_uname syscall.
 1.26  24-Dec-2007  njoly Regen for getpgid.
 1.25  21-Dec-2007  njoly Regen for getfsuid/setfsgid syscall exchange.
 1.24  20-Dec-2007  dsl regen
 1.23  16-Nov-2007  njoly branches: 1.23.2; 1.23.6;
Regen.
 1.22  11-Nov-2007  christos regen
 1.21  07-Nov-2007  njoly Regen for 64-bit linux syscalls removal.
 1.20  31-Oct-2007  dsl branches: 1.20.2;
regen
 1.19  31-Oct-2007  njoly Regen for syscalls cleanup.
 1.18  27-Oct-2007  njoly Regen for chown additions.
 1.17  20-Apr-2007  njoly branches: 1.17.6; 1.17.8; 1.17.12;
Regen (ftruncate fix).
 1.16  11-Apr-2007  njoly Regen (statfs support).
 1.15  05-Mar-2007  christos branches: 1.15.2; 1.15.4;
fix caddr_t lossage.
 1.14  04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.13  16-Feb-2007  njoly branches: 1.13.2;
Regen.
 1.12  08-Feb-2007  njoly Regen (aliases cleanup).
 1.11  07-Feb-2007  njoly Regen (poll argument fix).
 1.10  13-Sep-2006  manu branches: 1.10.4;
Jumbo COMPAT_LINUX/COMPAT_LINUX32 bugfix, with the help of Nicolas Joly
- Fix shmat return value on amd64: it uses no black magic with retval[0]
- Fix integer overflows in sysinfo
- Implement sysinfo, mmap2, sched_getparam, sched_getscheduler, mremap,
and madvise in COMPAT_LINUX32
- Fix improper types used in setgroups16/getgroups16
- Implement mmap2 for COMPAT_LINUX32
- Ifdef debug messages by DEBUG_LINUX
 1.9  06-Sep-2006  manu branches: 1.9.2; 1.9.4;
Implement Linux's fdatasync, patch from Nicolas Joly
 1.8  06-Sep-2006  manu Fix linux32_sys_setres{uid|gid}: -1 does not means the same thing on i386
and amd64...
 1.7  05-Sep-2006  manu typo
 1.6  01-Sep-2006  matt Regen.
 1.5  25-Jun-2006  manu Regen
 1.4  25-Jun-2006  manu - Complete exit_group() implementation. We now maintain a list of Linux
threads in a processes and kill them properly. The code is a bit too
complicated, but I could not find a simplier way of dealing with it

- Change getpid() and getppid() semantics to match what Linux does,
and implement gettid(). In the Linux kernel, threads are implemnted
as plain old processes. A thread group is just a set of processes,
with the parent called leader. Thread ID, which are returned by gettid(),
are just the PID of the plain old processes, and getpid() returns the
PID of the thread group leader.

- Remove struct linux32_emuldata. COMPAT_LINUX32 uses a lot of COMPAT_LINUX
code, where a struct linux_emuldata is assumed. By having distinct emuldata
structure with different sizes and layouts, we caused kernel memory
corruptions.

- Fix setprioriry() and getpriority()

Thanks to Nicolas Joly for tracking down the problem and providing me the
hardware to fix them.
 1.3  15-Feb-2006  manu branches: 1.3.2; 1.3.4; 1.3.10; 1.3.14; 1.3.16;
Add getcwd (for real this time), fix dup and dup2
 1.2  15-Feb-2006  manu - Move the BSD to Linux and Linux to BSD termio/termios conversion functions
to a header where they can be shared between COMPAT_LINUX and COMPAT_LINUX32
- Add termios ioctl emulation to COMPAT_LINUX32
- Add the getcwd system call to COMPAT_LINUX32/amd64

That makes Linux's bash working with COMPAT_LINUX32.
 1.1  09-Feb-2006  manu Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

While I'm here, add SysV IPC to COMPAT_LINUX/amd64
 1.3.16.12  27-Feb-2008  yamt sync with head.
 1.3.16.11  11-Feb-2008  yamt sync with head.
 1.3.16.10  04-Feb-2008  yamt sync with head.
 1.3.16.9  21-Jan-2008  yamt sync with head
 1.3.16.8  07-Dec-2007  yamt sync with head
 1.3.16.7  15-Nov-2007  yamt sync with head.
 1.3.16.6  27-Oct-2007  yamt sync with head.
 1.3.16.5  03-Sep-2007  yamt sync with head.
 1.3.16.4  26-Feb-2007  yamt sync with head.
 1.3.16.3  30-Dec-2006  yamt sync with head.
 1.3.16.2  21-Jun-2006  yamt sync with head.
 1.3.16.1  15-Feb-2006  yamt file linux32_syscall.h was added on branch yamt-lazymbuf on 2006-06-21 14:59:27 +0000
 1.3.14.1  13-Jul-2006  gdamore Merge from HEAD.
 1.3.10.2  22-Apr-2006  simonb Sync with head.
 1.3.10.1  15-Feb-2006  simonb file linux32_syscall.h was added on branch simonb-timecounters on 2006-04-22 11:38:14 +0000
 1.3.4.2  14-Sep-2006  yamt sync with head.
 1.3.4.1  26-Jun-2006  yamt sync with head.
 1.3.2.2  18-Feb-2006  yamt sync with head.
 1.3.2.1  15-Feb-2006  yamt file linux32_syscall.h was added on branch yamt-uio_vmspace on 2006-02-18 15:38:59 +0000
 1.9.4.2  09-Sep-2006  rpaulo sync with head
 1.9.4.1  06-Sep-2006  rpaulo file linux32_syscall.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:45:52 +0000
 1.9.2.2  09-Feb-2007  ad Sync with HEAD.
 1.9.2.1  18-Nov-2006  ad Sync with head.
 1.10.4.2  20-Apr-2007  bouyer regen for ticket #582
 1.10.4.1  02-Apr-2007  bouyer Regen for ticket #544
 1.13.2.3  07-May-2007  yamt sync with head.
 1.13.2.2  15-Apr-2007  yamt sync with head.
 1.13.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.15.4.1  11-Jul-2007  mjf Sync with head.
 1.15.2.1  27-May-2007  ad Sync with head.
 1.17.12.2  18-Nov-2007  bouyer Sync with HEAD
 1.17.12.1  13-Nov-2007  bouyer Sync with HEAD
 1.17.8.4  23-Mar-2008  matt sync with HEAD
 1.17.8.3  09-Jan-2008  matt sync with HEAD
 1.17.8.2  08-Nov-2007  matt sync with -HEAD
 1.17.8.1  06-Nov-2007  matt sync with HEAD
 1.17.6.6  21-Nov-2007  joerg Sync with HEAD.
 1.17.6.5  14-Nov-2007  joerg Sync with HEAD.
 1.17.6.4  11-Nov-2007  joerg Sync with HEAD.
 1.17.6.3  04-Nov-2007  jmcneill Sync with HEAD.
 1.17.6.2  31-Oct-2007  joerg Sync with HEAD.
 1.17.6.1  28-Oct-2007  joerg Sync with HEAD.
 1.20.2.3  18-Feb-2008  mjf Sync with HEAD.
 1.20.2.2  27-Dec-2007  mjf Sync with HEAD.
 1.20.2.1  19-Nov-2007  mjf Sync with HEAD.
 1.23.6.3  19-Jan-2008  bouyer Sync with HEAD
 1.23.6.2  08-Jan-2008  bouyer Sync with HEAD
 1.23.6.1  02-Jan-2008  bouyer Sync with HEAD
 1.23.2.1  26-Dec-2007  ad Sync with head.
 1.34.6.4  17-Jan-2009  mjf Sync with HEAD.
 1.34.6.3  28-Sep-2008  mjf Sync with HEAD.
 1.34.6.2  29-Jun-2008  mjf Sync with HEAD.
 1.34.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.36.6.3  10-Oct-2008  skrll Sync with HEAD.
 1.36.6.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.36.6.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.36.4.4  11-Aug-2010  yamt sync with head.
 1.36.4.3  11-Mar-2010  yamt sync with head
 1.36.4.2  20-Jun-2009  yamt sync with head
 1.36.4.1  04-May-2009  yamt sync with head.
 1.36.2.2  17-Jun-2008  yamt sync with head.
 1.36.2.1  04-Jun-2008  yamt sync with head
 1.37.2.2  28-Jul-2008  simonb Sync with head.
 1.37.2.1  18-Jun-2008  simonb Sync with head.
 1.38.2.2  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.38.2.1  19-Oct-2008  haad Sync with HEAD.
 1.41.4.2  18-Mar-2015  snj regen for ticket 1149
 1.41.4.1  20-Nov-2008  snj Regen for ticket 81.
 1.41.2.2  03-Mar-2009  skrll Sync with HEAD.
 1.41.2.1  19-Jan-2009  skrll Sync with HEAD.
 1.47.2.2  04-Jan-2009  christos use compat_50 syscalls where appropriate.
 1.47.2.1  12-Dec-2008  christos file linux32_syscall.h was added on branch christos-time_t on 2009-01-04 01:58:39 +0000
 1.53.2.1  23-Jul-2009  jym Sync with HEAD.
 1.58.4.3  31-May-2011  rmind sync with head
 1.58.4.2  21-Apr-2011  rmind sync with head
 1.58.4.1  05-Mar-2011  rmind sync with head
 1.58.2.2  06-Nov-2010  uebayasi Sync with HEAD.
 1.58.2.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.60.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.63.4.4  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.63.4.3  30-Oct-2012  yamt sync with head
 1.63.4.2  23-May-2012  yamt sync with head.
 1.63.4.1  17-Apr-2012  yamt sync with head
 1.65.6.2  20-Jul-2012  riz Pull up following revision(s) (requested by christos in ticket #424):
sys/compat/linux32/arch/amd64/linux32_syscallargs.h: revision 1.67
sys/compat/linux32/arch/amd64/syscalls.master: revision 1.62
sys/compat/linux32/arch/amd64/linux32_syscall.h: revision 1.67
sys/compat/linux32/arch/amd64/linux32_sysent.c: revision 1.67
sys/compat/linux32/arch/amd64/linux32_syscalls.c: revision 1.67
add xattr stubs
regen
 1.65.6.1  19-May-2012  riz Pull up following revision(s) (requested by christos in ticket #263):
sys/compat/linux32/arch/amd64/linux32_syscallargs.h: revision 1.66
sys/compat/linux32/arch/amd64/syscalls.master: revision 1.61
sys/compat/linux32/common/linux32_signal.c: revision 1.16
sys/compat/linux32/arch/amd64/linux32_syscall.h: revision 1.66
sys/compat/linux32/arch/amd64/linux32_sysent.c: revision 1.66
sys/compat/linux32/arch/amd64/linux32_syscalls.c: revision 1.66
regen
Fix rt_sigtimedwait():
It is wishful thinking that:
1. declaring a 32 bit syscall with 64 bit pointers
2. passing a struct with 32 bit pointers to a 64 bit function
is going to work.
 1.65.4.1  02-Jun-2012  mrg sync to latest -current.
 1.67.4.1  18-May-2014  rmind sync with head
 1.67.2.2  03-Dec-2017  jdolecek update from HEAD
 1.67.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.70.2.1  10-Aug-2014  tls Rebase.
 1.73.2.1  06-Apr-2015  skrll Sync with HEAD
 1.75.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.76.2.1  21-Apr-2017  bouyer Sync with HEAD
 1.77.4.1  11-May-2017  pgoyette Sync with HEAD
 1.78.10.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.78.10.1  10-Jun-2019  christos Sync with HEAD
 1.78.8.1  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.81.2.3  03-Jan-2021  thorpej Regen for preadv(2) and pwritev(2).
 1.81.2.2  17-Dec-2020  thorpej Regen for POSIX timers and timerfd.
 1.81.2.1  16-Dec-2020  thorpej Regen for eventfd.

RSS XML Feed