truckman 2b0bda9870 Don't bother calling vslock() and vsunlock() if oldlen is zero.
If vslock() returns ENOMEM, sysctl_wire_old_buffer() should set
wiredlen to zero and return zero (success) so that the handler will
operate according to sysctl(3):
     The size of the buffer is given by the location specified by
     oldlenp before the call, and that location gives the amount
     of data copied after a successful call and after a call that
     returns with the error code ENOMEM.
The handler will return an ENOMEM error because the zero length
buffer will overflow.
2004-03-16 01:28:45 +00:00
..
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2004-03-12 19:06:18 +00:00
2003-06-11 00:56:59 +00:00
2004-03-13 22:31:39 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2004-03-12 19:06:18 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 06:34:30 +00:00
2003-06-11 06:34:30 +00:00
2004-02-24 19:31:30 +00:00
2003-06-11 00:56:59 +00:00
2004-02-21 21:10:55 +00:00
2003-06-11 00:56:59 +00:00
2004-02-21 21:10:55 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2004-02-17 10:21:03 +00:00
2003-06-11 00:56:59 +00:00
2004-03-12 19:06:18 +00:00
2004-03-13 22:31:39 +00:00
2004-03-12 19:05:46 +00:00
2004-03-15 18:50:06 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2004-02-21 21:10:55 +00:00
2004-02-21 21:10:55 +00:00
2004-02-21 21:10:55 +00:00
2004-02-21 20:41:11 +00:00
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2004-03-08 20:37:25 +00:00
2003-06-11 00:56:59 +00:00
2004-03-08 20:37:25 +00:00