History log of /openbsd/usr.bin/kdump/mksubr (Results 1 – 25 of 40)
Revision Date Author Comments
# 471dbed6 13-Aug-2023 visa <visa@openbsd.org>

kevent: Add precision and abstimer flags for EVFILT_TIMER

Add timer precision flags NOTE_SECONDS, NOTE_MSECONDS, NOTE_USECONDS
and NOTE_NSECONDS for EVFILT_TIMER. Also, add an initial implementation

kevent: Add precision and abstimer flags for EVFILT_TIMER

Add timer precision flags NOTE_SECONDS, NOTE_MSECONDS, NOTE_USECONDS
and NOTE_NSECONDS for EVFILT_TIMER. Also, add an initial implementation
of NOTE_ABSTIME timers.

Similar kevent(2) flags exist on FreeBSD, NetBSD and XNU.

Initial diff by and OK aisha@
OK mpi@

show more ...


# 9f38b5b2 19-Dec-2022 guenther <guenther@openbsd.org>

Improve reporting of waitid(2)'s idtype/id and options arguments
Add mimmutable(2) to report like munmap(2)


# 4ec73a12 22-Feb-2022 deraadt <deraadt@openbsd.org>

MAXCOMLEN is no longer needed in these programs, so remove the annotation
from sys/param.h include lines, or remove the include lines entirely if
it this was the least requirement.
ok millert


# 20105486 17-Sep-2021 deraadt <deraadt@openbsd.org>

sys/param.h is only needed for MAXCOMLEN, but a few header files
which must be manually included in userland were missing


# 5c402730 05-Nov-2018 anton <anton@openbsd.org>

trace struct flock; ok visa@


# 7188589b 14-Feb-2018 otto <otto@openbsd.org>

Zero as (un)mount flag is valid; ok millert@


# 72adc110 11-Feb-2018 otto <otto@openbsd.org>

fix madvise(2) flags matching; ok deraadt@ tom@


# 51c33b3f 29-Nov-2017 guenther <guenther@openbsd.org>

fcntl(F_GETOWN) doesn't have an argument, so don't display it. While
here, make it easier to extend the set of such fcntl() commands

ok deraadt@


# c7d77250 28-Apr-2017 mpi <mpi@openbsd.org>

Display futex(2) operations and arguments.


# cd632112 07-Jun-2016 deraadt <deraadt@openbsd.org>

ktrace support for pollfd[] arrays
ok guenther


# 968c3b13 22-Mar-2016 guenther <guenther@openbsd.org>

Format the flags argument to sendsyslog()

ok deraadt@ bluhm@


# 8449a441 14-Jan-2016 guenther <guenther@openbsd.org>

Display struct event more like other structs: show all members and use cpp
define names. Use the mksubr infrastructure for EVFILT_*,
EV_*, and (with some kludging) NOTE_* values. If EV_ERROR is set

Display struct event more like other structs: show all members and use cpp
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@

show more ...


# 96384aa4 17-May-2015 deraadt <deraadt@openbsd.org>

isatty() is used by stdio to determine the buffering mode. Add a F_ISATTY
option to fcntl(), so that isatty() can use this rather than than the bloated
ioctl() interface. Reducing uses of ioctl() b

isatty() is used by stdio to determine the buffering mode. Add a F_ISATTY
option to fcntl(), so that isatty() can use this rather than than the bloated
ioctl() interface. Reducing uses of ioctl() by libc makes it easier to
constrain programs with various kinds of systrace sandboxes.
ok guenther, previously discussed as a concept with nicm

show more ...


# 6bbfbb88 17-Apr-2015 guenther <guenther@openbsd.org>

The first argument to socket/socketpair is an address family, not a protocol
family. (sysctl(3) is practically the only place where PF_* is correct)


# ad31084e 18-Jan-2015 guenther <guenther@openbsd.org>

Eliminate a gcc warnings by not #defining _KERNEL when pulling in
<sys/socket.h>: it doesn't expose anything kdump cares about.
Also, COMPAT_43 is dead

warning noted by deraadt@


# a394ada8 11-Dec-2014 guenther <guenther@openbsd.org>

Make quotactlcmd formatting consistent with others
Fix some indentation in the generated .c file


# 99636776 08-Dec-2014 guenther <guenther@openbsd.org>

Convert syscall argument handling from a giant switch to a giant table.
While at it, use formatters for fds, counts, ids of all types, and "small
buffer sizes" that always show them in decimal, while

Convert syscall argument handling from a giant switch to a giant table.
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@

show more ...


# 1338505a 13-Oct-2014 guenther <guenther@openbsd.org>

Add dumping of struct dqblk done by quotactl(2)

ok millert@


# 4841054f 17-Sep-2014 guenther <guenther@openbsd.org>

Add display of the flags to pipe2, dup3, and accept4, display of
MSG_CMSG_CLOEXEC in recvmsg, and display of SOCK_{CLOEXEC,NONBLOCK}
in socket and socketpair.
Do _not_ display the O_ACCMODE bits in t

Add display of the flags to pipe2, dup3, and accept4, display of
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@

show more ...


# fd279959 17-Aug-2014 guenther <guenther@openbsd.org>

Use %#o instead of %#x for mode_t


# b59026c7 02-Jul-2014 otto <otto@openbsd.org>

properly process minherit(2) flags; ok guenther@ matthew@


# 391dcabb 27-Jun-2014 matthew <matthew@openbsd.org>

Cleanup support for legacy mmap flags

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

Cleanup support for legacy mmap flags

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

show more ...


# a70ae221 21-Dec-2013 guenther <guenther@openbsd.org>

Recognize itimer and ktrace facility names to {get,set}itimer() and ktrace()

ok otto@


# b4a95de8 03-Jul-2013 guenther <guenther@openbsd.org>

For consistency, move the functions that aren't generated at build-time
from mksubr to kdump.c

ok otto@ millert@


# ec5a39e0 01-Jul-2013 guenther <guenther@openbsd.org>

Tweak regexp so that RUSAGE_CHILDREN will be matched and displayed


12