Date: Tue, 8 Aug 2006 08:16:10 GMT From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/101642: kdump misinterprets setsockopt arg 3 Message-ID: <200608080816.k788GAJ7053469@critter.freebsd.dk> Resent-Message-ID: <200608080820.k788KNgW046008@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101642 >Category: bin >Synopsis: kdump misinterprets setsockopt arg 3 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 08 08:20:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Poul-Henning Kamp >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD critter.freebsd.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Wed Jul 5 22:14:32 UTC 2006 root@critter.freebsd.dk:/critter/obj/critter/src/sys/TP41P i386 >Description: 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. >How-To-Repeat: ktrace a program which sets SO_SNDTIMEO >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608080816.k788GAJ7053469>