summaryrefslogtreecommitdiff
path: root/sys/kern/kern_ktrace.c
AgeCommit message (Expand)Author
2018-06-20Grab and/or assert for the KERNEL_LOCK() in in ktrace & pledge.Martin Pieuchot
2018-05-27Drop unnecessary `p' parameter from vget(9).Visa Hankala
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2017-12-30Don't pull in <sys/file.h> just to get fcntl.hPhilip Guenther
2017-11-28Delete fktrace(2). The consequences of it were not thought throughPhilip Guenther
2017-08-12add a fktrace syscall that takes a file descriptor instead of a name.Ted Unangst
2017-02-14Convert most of the manual checks for CPU hogging to sched_pause().Martin Pieuchot
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2016-03-06No more compat emulations, so remove ktrace EMUL records and the baggagePhilip Guenther
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