Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-16 | Don't display formatted time if localtime() fails. | Jonathan Gray | |
Avoids a crash in strftime() found with the afl fuzzer. ok guenther@ | |||
2014-12-15 | remove -r from usage(); | Jason McIntyre | |
2014-12-15 | Eliminate the -r option and always do sysctl OID, username, groupname, | Philip Guenther | |
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@ | |||
2014-12-11 | Make quotactlcmd formatting consistent with others | Philip Guenther | |
Fix some indentation in the generated .c file | |||
2014-12-09 | Add some additional sanity checks to kdump. | Jonathan Gray | |
Fixes a variety of crashes found with the afl fuzzer. ok miod@ on an earlier version. | |||
2014-12-08 | Convert syscall argument handling from a giant switch to a giant table. | Philip Guenther | |
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@ | |||
2014-11-20 | Be more POSIXy by using blksize_t (a.k.a. int32) for st_blksize, rather than ↵ | Kenneth R Westerback | |
the current uint32_t. ok guenther@ deraadt@ | |||
2014-10-13 | Add dumping of struct dqblk done by quotactl(2) | Philip Guenther | |
ok millert@ | |||
2014-10-08 | userland reallocarray audit. | Doug Hogan | |
Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the arguments with reallocarray(). ok deraadt@ | |||
2014-09-17 | Add display of the flags to pipe2, dup3, and accept4, display of | Philip Guenther | |
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@ | |||
2014-08-20 | Remove userland bits related to the crypto(4) interface; ok deraadt | Mike Belopuhov | |
2014-08-18 | Add fancy printing of ktrace()'s ops argument | Philip Guenther | |
mquery() has the exact same argument layout as mmap(), so share the case Fix a couple brace placement glitches | |||
2014-08-17 | Use %#o instead of %#x for mode_t | Philip Guenther | |
2014-08-17 | Display symbolicly the mode argument of mkdir, mkfifo, mknod, and umask | Philip Guenther | |
2014-07-11 | remove (commented) bluetooth reference | Ted Unangst | |
2014-07-11 | Grok the new /dev/klog LIOCSFD ioctl associated with sendsyslog(2) | Theo de Raadt | |
ok matthew guenther miod tedu | |||
2014-07-02 | properly process minherit(2) flags; ok guenther@ matthew@ | Otto Moerbeek | |
2014-06-27 | Cleanup support for legacy mmap flags | Matthew Dempsky | |
Move all legacy MAP_FOO values behind #ifndef _KERNEL and redefine them to either be aliases for existing flags (e.g., MAP_COPY -> MAP_PRIVATE) or 0. Also, add MAP_OLDFOO defines (behind #ifndef _KERNEL) so the kernel and kdump can remain compatible with current OpenBSD binaries. ok deraadt | |||
2014-06-22 | Negative time{spec,val}s with non-zero subsecond parts require extra | Philip Guenther | |
handling. E.g., a timeval of { -1, 1 } is -0.999999, as the subsecond part is always positive. Also, update the list of sockaddr_* types that we might add support for | |||
2014-03-18 | <sys/agpio.h> is gone; pointed out by Benoit Lecocq. | Mark Kettenis | |
2014-01-24 | exit1() needs to do a final aggregation of the thread's [us]ticks | Philip Guenther | |
and runtime to the process totals. Also, add ktracing of struct rusage in wait4() and getrusage(). problem pointed out by tedu@ ok deraadt@ | |||
2013-12-21 | Recognize itimer and ktrace facility names to {get,set}itimer() and ktrace() | Philip Guenther | |
ok otto@ | |||
2013-12-21 | Refer to the kernel headers consistently via ../../sys, even for mkioctl | Philip Guenther | |
and mksubr ok otto@ | |||
2013-12-13 | 4.3BSD tty compatibility and the associated ioctls are gone | Christian Weisgerber | |
2013-11-22 | Teach kdump(1) about USB, VIDIOC and generic DRM ioctls. | Martin Pieuchot | |
ok deraadt@, guenther@ | |||
2013-09-09 | Recognize the UTIME_OMIT and UTIME_NOW values when printing timespecs | Philip Guenther | |
ok otto@ | |||
2013-09-09 | Rename the 'pid' global to eliminate compiler warnings about shadowing | Philip Guenther | |
ok otto@ | |||
2013-08-22 | Split out from kdump.c the ktrstruct.c bits into ktrstruct.c | Philip Guenther | |
Reduce the #includes to take advantage of that. ok millert@ otto@ | |||
2013-07-16 | Tighten the pattern for matching ioctl definitions in header files and | Philip Guenther | |
recognize the PTMGET ioctl() ok millert@ (earlier version ok otto@) | |||
2013-07-04 | add some missing prototypes; ok guenther@ | Otto Moerbeek | |
2013-07-03 | For consistency, move the functions that aren't generated at build-time | Philip Guenther | |
from mksubr to kdump.c ok otto@ millert@ | |||
2013-07-03 | Use WAIT_* for the first argument to wait4(), and otherwise treat it (and | Philip Guenther | |
the first argument to kill) as signed 32bit ints. ok millert@ otto@ | |||
2013-07-01 | Tweak regexp so that RUSAGE_CHILDREN will be matched and displayed | Philip Guenther | |
2013-06-17 | Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME options, | Philip Guenther | |
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@ | |||
2013-06-01 | Userland bits for utrace record handling; from otto@ | Miod Vallat | |
2013-04-23 | simple large ino_t handling | Theo de Raadt | |
2013-04-16 | handle large time_t variables; ok guenther | Theo de Raadt | |
2013-04-15 | Remove CTL_USER hierarchy from sysctl() | Philip Guenther | |
(Use sysconf() or confstr() instead) ok miod@ millert@ | |||
2013-03-15 | Delete the sequencer(4) driver, since its not used any longer. Diff | Alexandre Ratchov | |
mostly from armani. ok miod, mpi, jsg and help from sthen | |||
2012-12-25 | Report macro names for the second argument to shutdown(), getrusage(), | Philip Guenthe | |
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@ | |||
2012-12-05 | Explicitly include sys/resource.h for RLIM_INF, etc. | Todd C. Miller | |
2012-07-21 | Make kdump recognize the __MAP_NOREPLACE flag. | Matthew Dempsky | |
ok deraadt | |||
2012-07-11 | Report ptrace(PT_{GET,SET}XMMREGS) by name | Philip Guenthe | |
ok otto@ | |||
2012-07-09 | Print the fd_set used by select in kdump. | Claudio Jeker | |
OK guenther@ and deraadt@ | |||
2012-07-08 | Handle the O_ACCMODE bits correctly, so that O_RDONLY is displayed | Philip Guenthe | |
even when other flag bits are set ok otto@ | |||
2012-06-29 | sigpending() returns a sigset just like sigprocmask(), so decode it the same | Philip Guenthe | |
ok matthew@ otto@ | |||
2012-06-21 | Add dumping of struct __tfork done by the revised __tfork syscall | Philip Guenthe | |
2012-06-20 | Handle PT_GET_THREAD_* | Philip Guenthe | |
ok otto@ kettenis@ | |||
2012-06-20 | CLOCK_* moved from sys/time.h to sys/_time.h | Philip Guenthe | |
ok otto@ kettenis@ | |||
2012-04-12 | remove rfork(); ok guenther miod | Theo de Raadt | |