summaryrefslogtreecommitdiff
path: root/sys/kern/kern_ktrace.c
AgeCommit message (Expand)Author
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-26Move p_emul and p_sigcode from proc to process.Philip Guenther
2014-01-21bzero -> memsetTed Unangst
2014-01-20Threads can't be zombies, only processes, so change zombproc to zombprocess,Philip Guenther
2013-09-14Correct the handling of I/O of >=2^32 bytes and the ktracing there ofPhilip Guenther
2013-06-01always implement stub utrace syscall, but keep the body #ifdef KTRACETed Unangst
2013-06-01Add utrace(2), a system call allowing for userland to send its own ktraceMiod Vallat
2012-04-10Add a start record to the ktrace and use a special magic string "KTR"Mike Belopuhov
2012-03-19Add tracing and dumping of "pointer to struct" syscall arguments forPhilip Guenthe
2011-12-14Handle rthreads consistently in ktrace by moving the flags and vnode intoPhilip Guenthe
2011-11-21fix small (one stack word) kmem->user leak - the syscall code doesDamien Miller
2011-07-11Revert art@'s moving around of the KERNEL_LOCK()/KERNEL_UNLOCK() calls,Philip Guenthe
2011-07-08Support sending struct info to kdump. So far for struct stat andOtto Moerbeek
2011-07-07There is a bunch of places in the kernel entry points where we don'tArtur Grabowski
2011-06-02We will ignore retval2; it is not an issueTheo de Raadt
2011-04-02Move P_SUGID and P_SUGIDEXEC from struct proc to struct process, soPhilip Guenthe
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2009-10-31Use suser when possible. Suggested by miod@.Federico G. Schwindt
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
2008-11-01Grab a reference to the trace vnode of the process when traversing thePedro Martelletto
2008-10-31accidental commit ... backoutTheo de Raadt
2008-10-31kern_sysctl.cTheo de Raadt
2008-05-22Use LIST_FOREACH() instead of handrolling.Thordur I. Bjornsson
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
2006-11-14properly check for native emulation binaries, so that the correct sysctlTheo de Raadt
2006-05-17change ktr_len to size_t. put ktr_type after comm for better alignmentTed Unangst
2006-02-27When checking syscall numbers, qualify the test with the emulation as well.Niklas Hallqvist
2005-11-28ansi/deregister.Jonathan Gray
2005-11-15Save process context in ktrwrite(), as it may be needed for lockingPedro Martelletto
2005-09-10do not trust user input for sysctl. constrain arguments passed to ktraceTheo de Raadt
2005-06-02for sysctl syscall pass the mib[] back to kdump to parse;Michael Shalayeff
2004-12-26Use list and queue macros where applicable to make the code easier to read;Miod Vallat
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-09Merge in a piece of the SMP branch into HEAD.Artur Grabowski
2003-09-01match syscallargs comments with realityHenning Brauer
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-06-27do not permit ktrace on P_SUGID; millert okTheo de Raadt
2002-06-06Fix *documentation*: one arg of the ktrace(2) is pid_t not int, found whileMike Pechkin
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-22include a siginfo_t with ktrace PSIG information, so that kdump can printTheo de Raadt
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
2001-06-26Appease gcc by not using void pointers in arithmetic operations; art@ okAaron Campbell
2001-06-22KNFTheo de Raadt
2000-11-10Change the ktrace interface functions from taking the trace vnode to taking theArtur Grabowski
2000-09-27replace MALLOC/FREE w/ malloc/free for non-constant-sized memory allocations;...Michael Shalayeff
2000-04-29ktrace(2) should not follow symbolic links; from FreeBSDTodd C. Miller
2000-04-21do not declare and use a local variable which conflicts with a globalTheo de Raadt
2000-04-20Add a function "ktrsettracevnode", that changes the ktrace vnode for a processArtur Grabowski
2000-04-19Unbreak genio (how could I commit that garbage?).Artur Grabowski
2000-04-19When logging genio, check if we need to yield in the same way as in uiomove.Artur Grabowski