Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 1995 16:47:28 -0700
From:      Steven Wallace <swallace>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/kern kern_exit.c uipc_syscalls.c
Message-ID:  <199510072347.QAA02214@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
swallace    95/10/07 16:47:27

  Modified:    sys/kern  kern_exit.c uipc_syscalls.c
  Log:
  Remove compat_43 psuedo-argument hack, and replace with a better hack.
  Instead of using a fake "compat" argument, pass a real compat int to function
  if COMPAT_43 is defined.  Functions involved: wait4, accept, recvfrom,
  getsockname.
  
  With the compat psuedo-argument, this introduces an argument structure
  that can have two possible sizes depending on compat options.
  This makes life difficult for lkm modules like ibcs2, which would
  have to guess what size used in kernel when compiled.  Also,
  the prototype generator for these structures cannot generate proper sizes.
  
  Now there is only one fixed structure and makes everybody happy.
  
  I recommend these changes be introduced to 2.1 so that ibcs2, linux
  lkm's generated for 2.2 can still run on a 2.1 kernel.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510072347.QAA02214>