NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/44582: 5.1's /sbin/sysctl fails to understand time_t and bool on current kernels



The following reply was made to PR kern/44582; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: kre%netbsd.org@localhost
Subject: Re: kern/44582: 5.1's /sbin/sysctl fails to understand time_t and
 bool on current kernels
Date: Sun, 25 Nov 2018 18:23:52 +0000

 FOr the boottime we have kre's reply:
 
 
   | hmmm... feels like KERN_BOOTTIMESPEC should be added instead,
   | and the compat restored for this old API.
   |
   | or should have been 9 years ago :-(
 
 ps: even if that might have been a reasonable thing to do, way back when,
 now it woulldn't work, as there are parts of the tree that know it is a 
 timespec (before I started updating stuff) and other parts which did not.
 There's no way to provide compat with both.
 --
 
 Not sure about the other part regarding bool.
 


Home | Main Index | Thread Index | Old Index