#include <sys/cdefs.h>
#include "opt_ktrace.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/fcntl.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/priv.h>
#include <sys/proc.h>
#include <sys/unistd.h>
#include <sys/vnode.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/ktrace.h>
#include <sys/sx.h>
#include <sys/sysctl.h>
#include <sys/sysent.h>
#include <sys/syslog.h>
#include <sys/sysproto.h>
#include <security/mac/mac_framework.h>
Go to the source code of this file.
__FBSDID |
( |
"$BSDSUniX$" |
| ) |
|
static MALLOC_DEFINE |
( |
M_KTRACE |
, |
|
|
"KTRACE" |
, |
|
|
"KTRACE" |
|
|
) |
| |
|
static |
int sys_ktrace |
( |
struct thread * |
td, |
|
|
struct ktrace_args * |
uap |
|
) |
| |
Definition at line 831 of file kern_ktrace.c.
References allproc_lock, crfree(), ktrace_args::facs, NDFREE(), p_cansee(), pfind(), pgfind(), proctree_lock, vn_close(), vn_open(), and vrele().
int sys_utrace |
( |
struct thread * |
td, |
|
|
struct utrace_args * |
uap |
|
) |
| |