#include <sys/cdefs.h>
#include "opt_ktrace.h"
#include <sys/param.h>
#include <sys/capsicum.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/resourcevar.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()
◆ MALLOC_DEFINE()
static MALLOC_DEFINE |
( |
M_KTRACE |
, |
|
|
"KTRACE" |
, |
|
|
"KTRACE" |
|
|
) |
| |
|
static |
◆ sys_ktrace()
int sys_ktrace |
( |
struct thread * |
td, |
|
|
struct ktrace_args * |
uap |
|
) |
| |
Definition at line 1001 of file kern_ktrace.c.
References allproc_lock, ktrace_args::facs, flags, ktrace_args::fname, NDFREE(), ktrace_args::ops, pfind(), pgfind(), ktrace_args::pid, proctree_lock, vn_close(), and vn_open().
◆ sys_utrace()
int sys_utrace |
( |
struct thread * |
td, |
|
|
struct utrace_args * |
uap |
|
) |
| |