Home | History | Annotate | Download | only in aoutm68k
History log of /src/sys/compat/aoutm68k/aoutm68k_stat.c
RevisionDateAuthorComments
 1.24  28-Apr-2008  martin branches: 1.24.2;
Remove clause 3 and 4 from TNF licenses
 1.23  23-Mar-2008  ad branches: 1.23.2; 1.23.4;
Make this build again. From isaki@.
 1.22  20-Dec-2007  dsl branches: 1.22.6;
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.21  08-Dec-2007  dsl branches: 1.21.4;
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
 1.20  30-Apr-2007  dsl branches: 1.20.6; 1.20.8; 1.20.16;
Rework compat stat() and statvfs() code so that it no longer uses the stackgap.
 1.19  22-Apr-2007  dsl Change the way that emulations locate files within the emulation root to
avoid having to allocate space in the 'stackgap'
- which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
search for absolute pathnames in the emulation root, if that fails it will
retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
the real root is returned instead (matching the behaviour of emul_lookup,
but being a cheap comparison here) so that programs that scan "../.."
looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.
 1.18  10-Mar-2007  dsl branches: 1.18.2;
Update all the compat stuff to not use the 'stackgap' for processing
sys_stat() and friends, instead use do_sys_stat() and do_sys_fstat()
that write the answer into a kernel buffer (on stack) that can be
converted to the correct form and written the userspace.
I've test compiled a few kernels, and tested i386 netbsd1.6 ls.
Given I think I've fixed some bugs, it might be 50-50 with new ones.
 1.17  04-Mar-2007  christos branches: 1.17.2;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.16  09-Feb-2007  ad branches: 1.16.2;
Merge newlock2 to head.
 1.15  01-Aug-2006  martin branches: 1.15.4;
Adapt to latest fhandle_t changes.
Pointed out by Havard Eidnes.
 1.14  05-May-2006  tsutsui Update for fhstat(2) versioning.
 1.13  11-Dec-2005  christos branches: 1.13.4; 1.13.6; 1.13.8; 1.13.10; 1.13.12;
merge ktrace-lwp.
 1.12  14-Sep-2005  he This file now needs <compat/sys/stat.h> to build.
 1.11  22-Aug-2005  he Change from using sys___{,f,l}stat13() to sys___{,f,l}stat30() and
associated data structures, following the change to 64-bit inodes.
 1.10  29-Jun-2003  fvdl branches: 1.10.2; 1.10.18;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.9  28-Jun-2003  darrenr Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
 1.8  02-Apr-2003  he Fill the target st_qspare array with 0, the source field has been reclaimed
for other use by the UFS2 merge, and this is just a filler anyway.
 1.7  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.6  16-Mar-2002  christos make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc *
in, instead of using curproc). While there add an optional size argument to
stackgap_init.
 1.5  13-Nov-2001  lukem add RCSIDs (including regeneration of files as appropriate)
 1.4  30-May-2001  mrg branches: 1.4.2;
use _KERNEL_OPT.
 1.3  07-Apr-2001  tsutsui Allow enabling/disabling /emul/aout alternate path search
on COMPAT_AOUT_M68K environment by options COMPAT_AOUT_ALTPATH.
 1.2  06-Dec-2000  jdolecek branches: 1.2.2; 1.2.4;
make LKM safe
 1.1  02-Dec-2000  scw Initial cut of COMPAT_AOUT_M68K.
This gets most existing m68k a.out binaries working with m68k ELF
kernels.

There are still some remaining ABI issues to track down; most notably,
some ioctl(2) calls are affected by the change.
 1.2.4.8  12-Jul-2002  nathanw No longer need to pull in lwp.h; proc.h pulls it in for us.
 1.2.4.7  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.2.4.6  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.4.5  18-Nov-2001  scw CHECK_ALT_EXISTS() takes a proc *, not an lwp *.
 1.2.4.4  17-Nov-2001  scw Add set/get_context syscall entries and regenerate sources from
syscalls.master.
Also s/proc/lwp/ where appropriate.
 1.2.4.3  14-Nov-2001  nathanw Catch up to -current.
 1.2.4.2  21-Jun-2001  nathanw Catch up to -current.
 1.2.4.1  09-Apr-2001  nathanw Catch up with -current.
 1.2.2.3  21-Apr-2001  bouyer Sync with HEAD
 1.2.2.2  08-Jan-2001  bouyer Files added on trunk.
 1.2.2.1  06-Dec-2000  bouyer file aoutm68k_stat.c was added on branch thorpej_scsipi on 2001-01-08 14:56:47 +0000
 1.4.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.18.6  24-Mar-2008  yamt sync with head.
 1.10.18.5  21-Jan-2008  yamt sync with head
 1.10.18.4  03-Sep-2007  yamt sync with head.
 1.10.18.3  26-Feb-2007  yamt sync with head.
 1.10.18.2  30-Dec-2006  yamt sync with head.
 1.10.18.1  21-Jun-2006  yamt sync with head.
 1.10.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.10.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.10.2.1  02-Jul-2003  darrenr Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
 1.13.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.13.10.1  11-May-2006  elad sync with head
 1.13.8.2  11-Aug-2006  yamt sync with head
 1.13.8.1  24-May-2006  yamt sync with head.
 1.13.6.1  01-Jun-2006  kardel Sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.15.4.1  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.16.2.2  07-May-2007  yamt sync with head.
 1.16.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.17.2.2  27-May-2007  ad Sync with head.
 1.17.2.1  13-Mar-2007  ad Sync with head.
 1.18.2.1  11-Jul-2007  mjf Sync with head.
 1.20.16.1  26-Dec-2007  ad Sync with head.
 1.20.8.1  09-Jan-2008  matt sync with HEAD
 1.20.6.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.21.4.1  02-Jan-2008  bouyer Sync with HEAD
 1.22.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.22.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.23.4.1  16-May-2008  yamt sync with head.
 1.23.2.1  18-May-2008  yamt sync with head.
 1.24.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.24.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.

RSS XML Feed