NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/40435: IOC_CPU_{GETINFO,SETINFO} ioctls needs some pre 5.99.7 compat
>Number: 40435
>Category: kern
>Synopsis: IOC_CPU_{GETSTATE,SETSTATE} ioctls needs some pre 5.99.7 compat
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 19 11:15:00 +0000 2009
>Originator: Nicolas Joly
>Release: NetBSD 5.99.7
>Organization:
Institut Pasteur, Paris.
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 5.99.7 NetBSD 5.99.7 (LANFEUST) #34: Mon
Jan 19 11:50:22 CET 2009
njoly%lanfeust.sis.pasteur.fr@localhost:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/LANFEUST
amd64
Architecture: x86_64
Machine: amd64
>Description:
Pre 5.99.7 programs that calls IOC_CPU_{GETSTATE,SETSTATE} ioctls now fails ...
struct cpustate size, which has a time_t member, was changed.
njoly@lanfeust [~]> file /usr/sbin/cpuctl
/usr/sbin/cpuctl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for NetBSD 5.99.6, not stripped
njoly@lanfeust [~]> /usr/sbin/cpuctl list
Num HwId Unbound LWPs Interrupts Last change
---- ---- ------------ -------------- ----------------------------
cpuctl: IOC_CPU_GETINFO: Inappropriate ioctl for device
>How-To-Repeat:
Try to run a pre 5.99.7 cpuctl(8) binary.
>Fix:
Home |
Main Index |
Thread Index |
Old Index