Home | History | Annotate | Download | only in freebsd
History log of /src/sys/compat/freebsd/freebsd_ptrace.c
RevisionDateAuthorComments
 1.21  08-Aug-2017  maxv Move freebsd_machdep.h into sys/compat/freebsd, and don't install it. Now,
the compat_freebsd files are all contained in sys/compat/freebsd.
 1.20  19-Jan-2014  dsl branches: 1.20.6;
Rip out the code that might once have supported the freebsd ptrace
system calls.
Removes some very dodgy conversions of FP register layouts.
Most of it has been disabled since 2007 when I removed the stackgap.
 1.19  23-Nov-2009  rmind branches: 1.19.12; 1.19.22; 1.19.26;
Use lwp_getpcb() in compat code, clean from struct user.
 1.18  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.17  20-Dec-2007  dsl branches: 1.17.6; 1.17.10; 1.17.12; 1.17.16; 1.17.18;
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.16  08-Dec-2007  dsl branches: 1.16.4;
ANSIfy most of the function definitions in sys/compat (but not ndis).
All by the magic of sed ...
 1.15  23-Jun-2007  dsl branches: 1.15.6; 1.15.8; 1.15.16;
Comment out support for FREEBSD_PT_READ_U and FREEBSD_PT_WRITE_U.
It all looks like a rather broken hack.
If nothing else it accesses userspace without copyin/out.
 1.14  04-Mar-2007  christos branches: 1.14.2; 1.14.4;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.13  09-Feb-2007  ad branches: 1.13.2;
Merge newlock2 to head.
 1.12  01-Sep-2006  matt branches: 1.12.2;
When calling PTRACE from an LKM, use sysent[SYS_ptrace].sy_call in case
the sys_ptrace symbol isn't present.
 1.11  31-Aug-2006  he Protect the include of "opt_ptrace.h" by _KERNEL_OPT.
 1.10  30-Aug-2006  matt Update for options PTRACE
 1.9  11-Dec-2005  christos branches: 1.9.4; 1.9.8;
merge ktrace-lwp.
 1.8  13-Sep-2005  christos compat code reorg.
 1.7  07-Aug-2003  agc branches: 1.7.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.6  18-Jan-2003  thorpej branches: 1.6.2;
Merge the nathanw_sa branch.
 1.5  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.4  13-Nov-2001  lukem add RCSIDs (including regeneration of files as appropriate)
 1.3  01-Dec-2000  jdolecek branches: 1.3.2; 1.3.4;
add e_path (emulation path) to struct emul, which replaces emulation-specific
*_emul_path variables

change macros CHECK_ALT_{CREAT|EXIST} to use that, 'root' doesn't need
to be passed explicitly any more and *_CHECK_ALT_{CREAT|EXIST} are removed
change explicit emul_find() calls in probe functions to get the emulation
path from the checked exec switch entry's emulation

remove no longer needed header files

add e_flags and e_syscall to struct emul; these are unsed and empty for now
 1.2  03-May-1996  christos branches: 1.2.30;
gcc -Wall fixes.
 1.1  10-Oct-1995  mycroft FreeBSD binary compatibility module, from Noriyuki Soda.
 1.2.30.1  08-Dec-2000  bouyer Sync with HEAD.
 1.3.4.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.2.5  12-Jul-2002  nathanw No longer need to pull in lwp.h; proc.h pulls it in for us.
 1.3.2.4  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.3.2.3  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.3.2.1  05-Mar-2001  nathanw Initial commit of scheduler activations and lightweight process support.
 1.6.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.2.1  03-Aug-2004  skrll Sync with HEAD
 1.7.16.5  21-Jan-2008  yamt sync with head
 1.7.16.4  03-Sep-2007  yamt sync with head.
 1.7.16.3  26-Feb-2007  yamt sync with head.
 1.7.16.2  30-Dec-2006  yamt sync with head.
 1.7.16.1  21-Jun-2006  yamt sync with head.
 1.9.8.1  03-Sep-2006  yamt sync with head.
 1.9.4.1  09-Sep-2006  rpaulo sync with head
 1.12.2.1  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.13.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.14.4.1  11-Jul-2007  mjf Sync with head.
 1.14.2.1  15-Jul-2007  ad Sync with head.
 1.15.16.1  26-Dec-2007  ad Sync with head.
 1.15.8.1  09-Jan-2008  matt sync with HEAD
 1.15.6.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.16.4.1  02-Jan-2008  bouyer Sync with HEAD
 1.17.18.1  19-Jan-2009  skrll Sync with HEAD.
 1.17.16.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.17.12.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.17.12.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.17.10.2  11-Mar-2010  yamt sync with head
 1.17.10.1  04-May-2009  yamt sync with head.
 1.17.6.1  17-Jan-2009  mjf Sync with HEAD.
 1.19.26.1  18-May-2014  rmind sync with head
 1.19.22.2  03-Dec-2017  jdolecek update from HEAD
 1.19.22.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.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")
 1.20.6.1  28-Aug-2017  skrll Sync with HEAD

RSS XML Feed