nathanw
5f7a108732
Avoid passing along a timespec with a negative number of seconds if
...
the current time plus the caller-supplied time to sleep wraps the
time_t. Instead, sleep until INT_MAX.
2005-04-19 16:38:57 +00:00
nathanw
d8ecca20ed
Add sleep1 test.
2005-04-19 16:36:44 +00:00
nathanw
5f1f443991
Add a regression test for sleeping past the time when time_t wraps; the
...
program should start sleeping, not throw a libpthread assertion failure.
2005-04-19 16:36:34 +00:00
rillig
1990d26431
Converted all arguments for the <ctype.h> functions to (unsigned char).
...
Fixes PR 21165. Approved by christos.
2005-04-19 16:33:53 +00:00
blymn
77b4424bf0
Make resultant hash length a symbolic define so other code can reuse the
...
same define.
2005-04-19 14:05:53 +00:00
blymn
caee153112
Make length of resultant hash a symbolic define instead of a magic number.
...
This allows other code to reuse the definition.
2005-04-19 14:04:38 +00:00
christos
b4073cddaf
Fix getgrnam -> getgrnam_r
2005-04-19 13:04:38 +00:00
christos
e640241b82
fix getgrnam -> getgrnam_r and add a forgotten getpwnam -> gepwnam_r
...
From john nemeth
2005-04-19 13:04:19 +00:00
christos
97b2d3b1c8
check for pwd != NULL in getpwnam_r. From John Nemeth.
2005-04-19 12:55:31 +00:00
tron
23e128f2c7
Correct entry for "cvs":
...
- We only have version 1.11.17.
- Version 1.11.20 is out.
2005-04-19 12:42:35 +00:00
tsutsui
447f26406d
standalone boot is done.
2005-04-19 12:12:28 +00:00
tsutsui
c52eed89ec
Note a new arc bootloader.
2005-04-19 12:05:58 +00:00
wiz
29d2ffbe11
Sort SEE ALSO.
2005-04-19 11:04:34 +00:00
wiz
d82b36f1ee
Add a comma for readability.
2005-04-19 10:00:50 +00:00
tron
92570d0dfc
Remove copy of manual page created during build.
2005-04-19 08:42:54 +00:00
tron
fce29e26d8
Honor contents of "CLEANFILES" in "cleandir" target.
2005-04-19 08:41:37 +00:00
hannken
07417a9241
Fix copyright date for previous.
2005-04-19 08:10:43 +00:00
hannken
1f51c28099
Snapshot support for dump(8):
...
- New option `-x backup' takes the dump from a snapshot backed up by `backup'.
The snapshot will be deleted on exit.
- New option `-X' as a synonym for `-x mountpoint' where `mountpoint' is the
file system to be dumped.
Reviewed and Approved by: Manuel Bouyer <bouyer@netbsd.org>
2005-04-19 07:26:38 +00:00
lukem
9fcbc80387
When sequentially parsing a source looking for entries don't fail with
...
NS_UNAVAIL on an unparseable or too long line; instead try the next entry.
This is more consistent with the behaviour prior to the rework in rev 1.49.
2005-04-19 05:27:58 +00:00
lukem
2662d7cbb4
Clarify getgr*_r() return value when entry isn't found.
...
Improve markup of various constants.
2005-04-19 04:38:04 +00:00
lukem
77c203997c
remove bogus punctuation
2005-04-19 04:32:58 +00:00
lukem
f948a874e7
Clarify getpw*_r() return value when entry isn't found.
...
Improve markup of various constants.
2005-04-19 04:26:16 +00:00
lukem
9830ed3053
Safety boots: don't depend upon getpwnam_r() to set pwd to NULL on all
...
failures, especially as we're ignoring the return result.
2005-04-19 03:40:58 +00:00
lukem
01cf9d0263
Safety boots: don't depend upon getpwnam_r() to set pwd to NULL on all
...
failures, especially if we're going to ignore the return result.
2005-04-19 03:40:16 +00:00
christos
b971501348
make master() return void.
2005-04-19 03:40:00 +00:00
lukem
a767f5ec9c
getpw*_r() may return 0 and set pwd==NULL
2005-04-19 03:38:08 +00:00
christos
b9b92f846c
check for pwd != NULL, fix a missed getpwnam.
2005-04-19 03:29:18 +00:00
christos
cce62d0952
check pwd != NULL
2005-04-19 03:22:54 +00:00
christos
eea147d9f9
check for pwd != NULL
2005-04-19 03:20:50 +00:00
christos
262b0ba97f
check pwd != NULL
2005-04-19 03:19:46 +00:00
christos
1246ae1e23
check for pwd != NULL
2005-04-19 03:17:35 +00:00
christos
2a62e4e1ad
check for pwd != in getpw*_r functions.
2005-04-19 03:15:34 +00:00
lukem
d0388cff8b
getgrent():
...
Return the correct result. (broken in rev 1.56 -- Hi Christos!)
getgr{ent,nam,uid}_r():
Return 0 "entry not found" and errno for other failures.
("entry not found" still sets *result to NULL).
Various backends:
don't set the retval to errno (or modify errno) for NS_NOTFOUND.
Per discussion with Klaus Klein.
2005-04-19 03:00:12 +00:00
lukem
443af068fa
getpw{ent,nam,uid}_r():
...
Return 0 "entry not found" and errno for other failures.
("entry not found" still sets *result to NULL).
Various backends:
don't set the retval to errno (or modify errno) for NS_NOTFOUND.
Per discussion with Klaus Klein.
2005-04-19 02:49:00 +00:00
wiz
9899f59159
Grammar fix.
2005-04-19 00:15:50 +00:00
lukem
5baba459c0
use /usr/sbin/postinstall instead of etc/postinstall from the extracted etc.tgz
2005-04-18 23:36:03 +00:00
perseant
f63fa194c2
Check the to-be-on-disk consistency of directories as well (correct a typo
...
in an earlier commit).
2005-04-18 23:03:08 +00:00
yamt
23cd288d37
ip_output: handle the case M_CSUM_TSOv4 but !IFCAP_TSOv4.
2005-04-18 22:06:28 +00:00
yamt
fa67035590
add a function to handle M_CSUM_TSOv4 by software.
2005-04-18 21:55:06 +00:00
yamt
e5a2b5a4a4
fix problems related to loopback interface checksum omission. PR/29971.
...
- for ipv4, defer decision to ip layer as h/w checksum offloading does
so that it can check the actual interface the packet is going to.
- for ipv6, disable it.
(maybe will be revisited when it implements h/w checksum offloading.)
ok'ed by Jason Thorpe.
2005-04-18 21:50:25 +00:00
bouyer
367b093823
Add sysmon_power attribute to hypervisor, and an handler for CMSG_SHUTDOWN
...
messages.
Now a NetBSD guest will reboot or shutdown on 'xm shutdown' commands in
domain0.
2005-04-18 21:33:21 +00:00
bouyer
3ffaa46bf7
Remove unused code.
2005-04-18 21:31:03 +00:00
yamt
769b9c4b84
don't unmask an event channel until all interrupts for it are served.
...
fix problems with shared (physical) interrupts.
2005-04-18 20:23:56 +00:00
yamt
7939b0f6ff
make this compilable with IRQ_DEBUG defined.
2005-04-18 20:22:22 +00:00
kleink
9020a25f08
Instead of pulling in all of <wchar.h>, just define wchar_t here.
...
Addresses PR lib/29987.
2005-04-18 19:47:51 +00:00
kleink
4e3cae58ff
Move the (at this time private) get{proto,serv}ent_r() prototypes and
...
data structures into the libc sources until the interface gets redone.
Approved by christos.
2005-04-18 19:39:45 +00:00
drochner
1e5f8afdd2
remove debugging stuff which caused conflicts with USB_DEBUG kernels
2005-04-18 18:45:02 +00:00
perseant
b2d19f57a3
Check for the inode having been previously freed, in UNMARK_VNODE().
...
Avoids a panic when calling mkdir() on a full filesystem.
2005-04-18 17:36:46 +00:00
tsutsui
240805e513
Put a brandnew boot program to install ramdisk.
2005-04-18 16:47:07 +00:00
tsutsui
16066bfe4a
Remove obsolete mbr and msdos5mb.gz binaries.
2005-04-18 16:44:04 +00:00