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
tsutsui
4eaafdc8ac
Remove MBR and MSDOSFS binaries which were imported from OpenBSD but
...
maintained at all. Our current fdisk(8) and newfs_msdos(8) work enough
to create a bootable disk on NetBSD/arc.
Ok'ed by soda.
2005-04-18 16:39:44 +00:00
tsutsui
5ab2951c5e
Add a standalone boot for arc.
2005-04-18 16:34:28 +00:00
tsutsui
749f06ffa8
Remove files which was imported from OpenBSD/arc but not used/maintained.
...
Ok'ed by soda.
2005-04-18 16:32:38 +00:00
tsutsui
b28c4afbba
Add a long-awaited standalone boot program for arc port to load
...
ELF kernels instead of booting ECOFF kernels directly by ARCBIOS.
Tested on my NEC-J96A and NEC-JC94, and ok'ed by soda.
XXX: Maybe we should share some of these sources with sgimips
XXX: (in sys/dev/arcbios/stand?)
2005-04-18 16:27:54 +00:00
tsutsui
e5d26b19a8
arc/algor dir was removed long ago.
...
BTW, is "make tags" still maintained?
2005-04-18 15:59:51 +00:00
tsutsui
8110788f1c
Revert part of rev 1.7. In arcemu_ip12_eeprom_read(), a variable reg is
...
read via (u_int32_t *) cast, so it shouldn't be paddr_t.
2005-04-18 15:46:18 +00:00
tsutsui
d0112ff334
- Use u_long or long rather than paddr_t for ARCBIOS function prototypes
...
as per the ARC specification. They are actually 64bit on MIPS64 based
machines and our paddr_t is not equal to pointer size.
(arc is ILP32 but has 64bit paddr_t)
- While here, change some unsigned long to u_long for consistency.
2005-04-18 15:38:00 +00:00
hubertf
a958e20048
For -L, mention that files that were dynamicallt created upon installation
...
(@exec, ...) are not listed.
Based on patch by Peter Bex <Peter.Bex@student.kun.nl>
2005-04-18 12:28:46 +00:00
bouyer
9e2767d248
If VOP_IOCTL fails on the device we're trying to export, return an error
...
instead of dereferencing a NULL pointer later.
Problem reported by Martti Kuparinen in private email.
2005-04-18 11:41:11 +00:00
manu
d3e5d568cd
Fix SA lifebyte check
2005-04-18 11:15:01 +00:00
wiz
7224809d57
Document index argument, and mention that long_options
...
needs to be terminated with a structure containing zeroes.
Slightly modified version of patch from PR 30002 by Kailash Sethuraman.
Bump date.
2005-04-18 10:56:33 +00:00
mrg
1ec9145306
be explicit in the description for POSIX saved set-id that this is for
...
POSIX-style, not sane-style. (ie, add "POSIX " to the description.)
2005-04-18 10:46:39 +00:00
dsl
a7151c0abc
Add a '-a' option to set the time using adjtime(2) instead of settimeofday(2).
...
Fix usage so that the options which apply to dat/time setting are on the
correct line.
2005-04-18 06:53:35 +00:00
wiz
6b4d05a703
Drop trailing whitespace.
2005-04-17 23:23:21 +00:00
lukem
8232ca0162
Tweaks for the move of postinstall from /etc to /usr/sbin
2005-04-17 23:12:40 +00:00
bouyer
c6a8468bd3
Remove unused code.
...
Add support for dynamic attach/detach. Should fix port-xen/29856 by Juan RP.
2005-04-17 22:59:37 +00:00
bouyer
381c7beadd
Add a kernel thread to the control interface, to handle deferred callacks
...
(which may sleep). Fix port-xen/29851 by YAMAMOTO Takashi.
Use config_pending_incr()/config_pending_decr() in if_xennet instead of
busy-looping (which doesn't work any more).
Remove the kernel thread from xbd, which isn't needed any more.
2005-04-17 21:11:30 +00:00
christos
05c61e7894
PR/21147: Christian Biere: ctype function misuse.
2005-04-17 17:42:48 +00:00
christos
b2a3a81e1c
PR/21152: Christian Biere: ctype function misuse.
2005-04-17 17:37:11 +00:00
christos
4be93fc1ce
PR/21155: Christian Biere: ctype function misuse.
2005-04-17 17:34:43 +00:00
christos
0de6393bd4
PR/21165: Christian Biere: ctype function misuse
2005-04-17 17:27:11 +00:00
christos
476fac655a
PR/21167: Christian Biere: ctype function misuse.
2005-04-17 17:22:36 +00:00
christos
145e9070ea
PR/21170: Christian Biere: ctype function misuse.
2005-04-17 17:19:33 +00:00
christos
7fc7748a3e
PR/21172: Christian Biere: ctype function misuse.
2005-04-17 17:18:16 +00:00