bin/101642: kdump misinterprets setsockopt arg 3

Poul-Henning Kamp phk at
Tue Aug 8 08:20:31 UTC 2006

>Number:         101642
>Category:       bin
>Synopsis:       kdump misinterprets setsockopt arg 3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 08 08:20:22 GMT 2006
>Originator:     Poul-Henning Kamp
>Release:        FreeBSD 7.0-CURRENT i386
System: FreeBSD 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Wed Jul 5 22:14:32 UTC 2006 root at i386


	kdump interprets the 3 argument of setsockopt as a bitmap,
	that is wrong, it's an enumerated lists.  The appearance of
	a bitmap is caused by the assigned values for a subset of
	the enums being suitable for the kernel using them in a bitmap.


	ktrace a program which sets SO_SNDTIMEO



More information about the freebsd-bugs mailing list