summaryrefslogtreecommitdiff
path: root/sys/kern/kern_ktrace.c
AgeCommit message (Expand)Author
2015-12-06Change kernel internal pledge variables to 64bit (to prepare for moreTheo de Raadt
2015-12-05remove stale lint annotationsTed Unangst
2015-11-11ktrace vnodes do not need to be opened with FREAD, as they areTheo de Raadt
2015-11-02move the pledgenote annotation from `struct proc' to `struct nameidata'Sebastien Marie
2015-10-28Though sys_ktrace is not yet pledge allowed, prepare by settingTheo de Raadt
2015-10-25Fold "malloc" into "stdio" and -- recognizing that no program so far hasTheo de Raadt
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt
2015-10-02Add ktracing of argv and envp to execve(2), with envp not traced by defaultPhilip Guenther
2015-09-13Rename __sysctl syscall to just sysctl, as the userland wrapper is no longerPhilip Guenther
2015-09-07Delete ktracing of context switches: it's unused, and not particularly useful,Philip Guenther
2015-08-22Move to tame(int flags, char *paths[]) API/ABI.Theo de Raadt
2015-08-01Fix free() of uninitialized variable introduced in previous commit.Philip Guenther
2015-07-19Make KTR_SYSRET records variables variables sized, leaving out thePhilip Guenther
2014-12-29Explicitely include <uvm/uvm_extern.h> in order to build on variable page sizeMiod Vallat
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-12-10convert bcopy to memcpy. ok millertTed Unangst
2014-10-26Now that threads hold their own reference to their ucreds, sys_ktrace()Philip Guenther
2014-07-13KERNEL_ASSERT_LOCKED(9): Assertion for kernel lock (Rev. 3)Masao Uebayashi
2014-07-13pass the size to free in some of the obvious casesTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
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