NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/52823: config(1) generates wrong cfattach data for pseudo-device ioconf
>Number: 52823
>Category: bin
>Synopsis: config(1) generates wrong cfattach data for pseudo-device ioconf
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 16 06:35:00 +0000 2017
>Originator: Paul Goyette
>Release: NetBSD 8.99.7
>Organization:
+------------------+--------------------------+----------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+
>Environment:
System: NetBSD speedy.whooppee.com 8.99.7 NetBSD 8.99.7 (SPEEDY 2017-11-29 22:03:05 UTC) #0: Wed Nov 29 23:14:50 UTC 2017 paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
For a pseudo-device which can have children attached, the inconf.h file
generated by config(1) (and the Makefile IOCONF= directive) is wrong.
It generates a single list-ending {NULL, NULL} entry, rather than providing
an initial entry with the pseudo-device as its name and attachment name.
>How-To-Repeat:
Create a ioconf config file pad.ioconf containing
pseudo-device pad
Then, config -s $SRC -b $OBJ pad.ioconf
Observe at the bottom the cfattach data.
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index