Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/user.h
| Show First 20 Lines • Show All 523 Lines • ▼ Show 20 Lines | |||||
| * The kern_proc out functions are helper functions to dump process | * The kern_proc out functions are helper functions to dump process | ||||
| * miscellaneous kinfo structures to sbuf. The main consumers are KERN_PROC | * miscellaneous kinfo structures to sbuf. The main consumers are KERN_PROC | ||||
| * sysctls but they may also be used by other kernel subsystems. | * sysctls but they may also be used by other kernel subsystems. | ||||
| * | * | ||||
| * The functions manipulate the process locking state and expect the process | * The functions manipulate the process locking state and expect the process | ||||
| * to be locked on enter. On return the process is unlocked. | * to be locked on enter. On return the process is unlocked. | ||||
| */ | */ | ||||
| int kern_proc_filedesc_out(struct proc *p, struct sbuf *sb, ssize_t maxlen); | int kern_proc_filedesc_out(struct proc *p, struct sbuf *sb, ssize_t maxlen, | ||||
| int lkflags); | |||||
| int kern_proc_cwd_out(struct proc *p, struct sbuf *sb, ssize_t maxlen); | int kern_proc_cwd_out(struct proc *p, struct sbuf *sb, ssize_t maxlen); | ||||
| int kern_proc_out(struct proc *p, struct sbuf *sb, int flags); | int kern_proc_out(struct proc *p, struct sbuf *sb, int flags); | ||||
| int kern_proc_vmmap_out(struct proc *p, struct sbuf *sb); | int kern_proc_vmmap_out(struct proc *p, struct sbuf *sb); | ||||
| int vntype_to_kinfo(int vtype); | int vntype_to_kinfo(int vtype); | ||||
| #endif /* !_KERNEL */ | #endif /* !_KERNEL */ | ||||
| #endif | #endif | ||||