| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
ok guenther
|
|
|
|
| |
ok deraadt@ bluhm@
|
|
|
|
|
|
|
|
|
|
| |
define names. Use the mksubr infrastructure for EVFILT_*,
EV_*, and (with some kludging) NOTE_* values. If EV_ERROR is set,
include the errno string for the data member.
Also, do MSG_* parsing on the msg_flags member of struct msghdr.
ok millert@
|
|
|
|
| |
"every tool helps" deraadt@
|
|
|
|
|
|
|
| |
and ctime presentation, but combined with the numeric form ala 0<"root">.
Do username and groupname presentation on syscall arguments and retvals.
ok millert@ otto@
|
|
|
|
|
|
|
|
|
|
| |
While at it, use formatters for fds, counts, ids of all types, and "small
buffer sizes" that always show them in decimal, while paths, pointers, and
"big buffer sizes" get formatters that always show them in hex. The -d
option only affects args when the -n option is used or for unknown syscalls,
as well as syscall return values, and unrecognized ioctls.
ok otto@ millert@
|
|
|
|
| |
ok millert@
|
|
|
|
|
|
|
|
| |
MSG_CMSG_CLOEXEC in recvmsg, and display of SOCK_{CLOEXEC,NONBLOCK}
in socket and socketpair.
Do _not_ display the O_ACCMODE bits in the arg to fcntl(F_SETFD)
ok miod@
|
|
|
|
| |
ok otto@
|
| |
|
|
|
|
|
|
| |
from mksubr to kdump.c
ok otto@ millert@
|
|
|
|
|
|
|
|
| |
including CLOCK_{PROCESS,THREAD}_CPUTIME_ID constants and
{clock,pthread}_getcpuclockid() functions.
Worked out at t2k13 with help from tedu@ and matthew@ and testing by aja@
ok matthew@
|
|
|
|
|
|
|
|
|
| |
pathconf(), and fpathconf(), and for poll()'s INFTIM.
When open()'s flag arg doesn't include O_CREAT, don't show the third argument
unless th e-n option is given. Ditto for fcntl()'s F_GETFD and F_GETFL ops.
Show sysctl()'s KERN_PROC_KTHREAD as "kthread".
ok otto@
|
| |
|
|
|
|
|
|
| |
structs timespec, timeval, sigaction, and rlimit.
ok otto@ jsing@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- be robust against a ktrace file the contains a record with
ktr_len==SIZE_MAX, instead of reallocating its buffer to zero size
- format the clockid_t argument to clock_*() and __thrsleep() as CLOCK_*
- format the sigset_t argument to sigprocmask() and __thrsigdivert(), the
return from sigprocmask(), and the mask reported for PSIG records
as a bitset of SIG* values, except that if most the bits are set
then invert it and prefix with '~'
- show the next level of the kern.proc sysctl
- __tfork() creates procs, so do the mappidtoemul() handling
- refactor ktrstat()'s time printing bits and fix a whitespace glitch
in its output
- reduce stack usage in ktrstruct()
- a value of zero is not an error for mode bits (S_*), atflag bits
(AT_*), wait options (W*), or shmat flags (SHM_*)
ok otto@
|
|
|
|
| |
ok otto@
|
|
|
|
| |
struct sockaddress; mostly from freebsd. ok deraadt@ tedu@ nicm@
|
|
|
|
|
| |
Also, handle offset_t (long long) args and padding in a consistent manner.
ok deraadt@
|
|
|