Home | History | Annotate | Download | only in common
History log of /src/sys/compat/linux/common/linux_ipccall.c
RevisionDateAuthorComments
 1.34  23-Sep-2021  ryo add support COMPAT_LINUX for aarch64
 1.33  27-Dec-2013  njoly Rename ipcall/socketcall specific defines to avoid conflict with
syscalls definitions. No functional changes.
 1.32  18-Aug-2009  drochner branches: 1.32.12; 1.32.22; 1.32.26;
remove some "inline" from functions which are defined in a .c file
but used elsewhere -- gcc-4.4.1 doesn't like it and I doubt it
had any effect
 1.31  28-Apr-2008  martin branches: 1.31.2;
Remove clause 3 and 4 from TNF licenses
 1.30  20-Dec-2007  dsl branches: 1.30.6; 1.30.8; 1.30.10;
Convert all the system call entry points from:
int foo(struct lwp *l, void *v, register_t *retval)
to:
int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.
 1.29  08-Dec-2007  dsl branches: 1.29.4;
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
 1.28  04-Mar-2007  christos branches: 1.28.14; 1.28.16; 1.28.24;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.27  09-Feb-2007  ad branches: 1.27.2;
Merge newlock2 to head.
 1.26  11-Dec-2005  christos branches: 1.26.20;
merge ktrace-lwp.
 1.25  26-Feb-2005  perry branches: 1.25.4;
nuke trailing whitespace
 1.24  28-Sep-2004  jdolecek branches: 1.24.4; 1.24.6;
add flag for shmget(2) to specify that later shmat(2) for the shared memory
segment should succeed even if the segment would be marked removed; use this
to implement the Linux-compatible semantics of shmat(2)

this fixes the old Linux VMware3 graphics problem with local display,
and possibly other local Linux X clients using MIT-SHM
 1.23  18-Jan-2003  thorpej branches: 1.23.2; 1.23.4;
Merge the nathanw_sa branch.
 1.22  15-Nov-2001  lukem don't need <sys/types.h> when including <sys/param.h>
 1.21  13-Nov-2001  lukem add RCSIDs (including regeneration of files as appropriate)
 1.20  30-May-2001  mrg branches: 1.20.2;
use _KERNEL_OPT.
 1.19  10-Jan-1999  tron branches: 1.19.20;
Revert last changes:
Because "linux_ipccall.h" cannot be included before "sys/shm.h" and
"sys/shm.h" needs to be included after "opt_sysv.h" include "opt_sysv.h"
in "linux_ipccall.c" again.
 1.18  03-Jan-1999  erh Moved sysv opt include to header file.
 1.17  22-Nov-1998  drochner include missing SYSV option header - PR kern/6479 by Urban Boquist
 1.16  04-Oct-1998  fvdl Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.
 1.15  03-Oct-1998  christos Attempt to fix the mess.
 1.14  01-Oct-1998  erh Split compat/linux/linux_ipc.c into common and multi-architechture parts. The IPC multiplexer and associated functions are now in linux_ipccall.c
 1.13  22-Jan-1998  mycroft Clean this up a bit.
 1.12  08-May-1997  kleink Fixed copyin() argument botch in shmctl() IPC_STAT handling.
 1.11  15-Nov-1996  fvdl Avoid compiler warnings when none of the SYSV* options is defined.
 1.10  05-Apr-1996  christos Prototyping changes.
 1.9  08-Oct-1995  fvdl Avoid unnecessary copyin() of shmid_ds struct for shmctl(IPC_RMID)
 1.8  07-Oct-1995  mycroft Prefix names of system call implementation functions with `sys_'.
 1.7  19-Sep-1995  thorpej Make system calls conform to a standard prototype and bring those
prototypes into scope.
 1.6  15-Aug-1995  fvdl Implement the rest of the sysv ipc calls ({sem,msg}*())
 1.5  14-Aug-1995  mycroft Rearrange #includes.
 1.4  24-Jun-1995  christos Use compat_util.[ch].
 1.3  22-Jun-1995  fvdl * Changed to use generic ELF code from kern/exec_elf.c (which was taken
from the svr4 exec code plus the linux compat mods)
* Include file change
* Add multicast sockopts (from John Brezak)
 1.2  08-Mar-1995  fvdl Add missing structure conversion for IPC_RMID.
 1.1  28-Feb-1995  fvdl Added Linux compat code.
 1.19.20.5  29-May-2002  nathanw #include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)
 1.19.20.4  08-Jan-2002  nathanw Catch up to -current.
 1.19.20.3  14-Nov-2001  nathanw Catch up to -current.
 1.19.20.2  21-Jun-2001  nathanw Catch up to -current.
 1.19.20.1  05-Mar-2001  nathanw Initial commit of scheduler activations and lightweight process support.
 1.20.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.23.4.1  04-Oct-2004  jmc Pullup rev 1.24 (requested by jdolecek in ticket #884)

Fix linux handling of SysV-style shared memory. Fixed Linux VMware display
problems.
 1.23.2.2  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.23.2.1  19-Oct-2004  skrll Sync with HEAD
 1.24.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.24.4.1  29-Apr-2005  kent sync with -current
 1.25.4.3  21-Jan-2008  yamt sync with head
 1.25.4.2  03-Sep-2007  yamt sync with head.
 1.25.4.1  26-Feb-2007  yamt sync with head.
 1.26.20.1  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.27.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.28.24.1  26-Dec-2007  ad Sync with head.
 1.28.16.1  09-Jan-2008  matt sync with HEAD
 1.28.14.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.29.4.1  02-Jan-2008  bouyer Sync with HEAD
 1.30.10.2  19-Aug-2009  yamt sync with head.
 1.30.10.1  16-May-2008  yamt sync with head.
 1.30.8.1  18-May-2008  yamt sync with head.
 1.30.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.31.2.2  14-May-2008  wrstuden Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.
 1.31.2.1  10-May-2008  wrstuden Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
 1.32.26.1  18-May-2014  rmind sync with head
 1.32.22.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.32.12.1  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")

RSS XML Feed