Commit Graph

185186 Commits

Author SHA1 Message Date
skrll
0f3b48f345 Remove binutils 2.16 crossover build files. 2009-11-08 15:24:36 +00:00
tnozaki
16bacb5c04 lib/42209 various problems with EBCDIC support in iconv(3)
1. RFC1345 have wrong conversion table, 0x00-0x1F is not EBCDIC but ISO-8.
  2. correct DST_INVALID.
CP1141 is not added yet.
2009-11-08 10:37:50 +00:00
snj
886d7f6c39 Drop 3rd and 4th clauses on this TNF-copyrighted file. 2009-11-07 19:54:17 +00:00
skrll
25c78277a1 Remove old binutils. 2009-11-07 17:58:14 +00:00
skrll
0ed80c5100 Use elf/external.h from new binutils.
XXX do we need a src/tools/compat/elf.h?
2009-11-07 17:56:14 +00:00
dsl
26a8a91ded Fix stub prototype 2009-11-07 12:08:35 +00:00
wiz
b368ff1382 Remove leading zero from Dd. New sentence, new line. 2009-11-07 08:52:26 +00:00
cegger
7e7e0a568b Update pmap(9) manpage:
- Document new flags argument for pmap_kenter_pa
- Document new flags argument for pmap_enter as well
- Document the prot argument for pmap_kenter_pa. This is copy&pasted from
  pmap_enter.
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006436.html
Thanks to Martin Husemann for his comments to the original patch version.
2009-11-07 07:37:46 +00:00
cegger
962afef088 Implement pmap_kenter_pa(9) new flag argument in x86.
Make x86 bus_space(9) using it to eliminate an extra TLB flush.
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
Thanks to Martin Husemann for spotting copy&pasto errors in the original patch version.
2009-11-07 07:32:53 +00:00
cegger
9480c51b04 Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.
2009-11-07 07:27:40 +00:00
lukem
11a6d49961 NetBSD-ftpd 20091107:
* Fix WARNS=4 issues (const & sign mismatches, etc)
* Ensure various ftpd.conf values can't exceed their underlying types.
* Fix for 64 bit time_t and dev_t
* Rename internal getline() function to get_line() so it does
  conflict with the getline(3) libc function.
* Log both the hostname and numeric address.
* Improve man page mdoc formatting
2009-11-07 03:10:05 +00:00
dyoung
8b43bcb6ad Don't deactivate a child before detaching it, that's not necessary.
Don't take a device off of the ppbus(4)'s list of children in the
detach routine, but add a child-detachment hook that does it for
us.  As a nice side-effect, we can probably detach ppbus(4) children
with drvctl(8), now.

Compile-tested, only.

XXX Does anybody even use ppbus(4)?  It's not even in the ALL
XXX configuration for i386!
2009-11-07 00:05:49 +00:00
dyoung
a43418e649 Use deviter(9) instead of accessing alldevs directly. 2009-11-06 23:10:22 +00:00
dsl
f73c380ff9 Don't call _bus_dmamem_free() when _bus_dmamem_alloc() fails.
Fixes PR/42208
2009-11-06 23:10:10 +00:00
dyoung
3976f04982 Use deviter(9) instead of accessing alldevs directly. 2009-11-06 23:09:10 +00:00
enami
518511b898 Accept -U num. Nowadays, diff(1) rejects -u0 etc by default. 2009-11-06 22:02:35 +00:00
dsl
fe39abeba9 Clarify (hopefully) the description of -remove.
Fixes PR/38987
2009-11-06 21:03:12 +00:00
dyoung
2bd83a5fc2 Update date. 2009-11-06 20:51:43 +00:00
dyoung
95d78285f1 Teach ndp(8) about override_rtadv. 2009-11-06 20:51:19 +00:00
dyoung
2421a1af93 Fix net.inet6.ip6.accept_rtadv and 'ndp -i <interface> accept_rtadv':
Add a flag ND6_IFF_OVERRIDE_RTADV that tells the kernel to override
ip6_accept_rtadv (net.inet6.ip6.accept_rtadv) on an interface.

Add a routine nd6_accepts_rtadv(ndi) that evaluates both the flags
on the interface represented by ndi and ip6_accept_rtadv, and
returns 'true' if the given interface should accept Router
Advertisements, and 'false' if not.

Now, ND6_IFF_ACCEPT_RTADV works as it was historically documented:
if it is set, then accept router advertisements iff ip6_accept_rtadv
!= 0.  Otherwise, do not accept router advertisements.

If ND6_IFF_OVERRIDE_RTADV is set, then the flag ND6_IFF_ACCEPT_RTADV
overrides ip6_accept_rtadv: if ND6_IFF_ACCEPT_RTADV is set, accept;
otherwise reject.  Ignore ip6_accept_rtadv.

If neither ND6_IFF_ACCEPT_RTADV nor ND6_IFF_OVERRIDE_RTADV is set,
reject Router Advertisements.
2009-11-06 20:41:22 +00:00
joerg
f3abef9367 Improve portability and clarity by using uint8_t for the byte data
and expanding u_int to not depend on the !POSIX types.
2009-11-06 20:31:18 +00:00
joerg
e51ee4c474 Fix unaligned access as reported in PR port-sparc/42273 2009-11-06 20:31:17 +00:00
joerg
0c6bb30e0c Improve portability and clarity by using uint8_t for the byte data
and expanding u_int to not depend on the !POSIX types.
2009-11-06 20:31:17 +00:00
dsl
c85c5e109a Report lines that ought to contain a ':' operator but start with a '.'
as "Unknown directive" sinze they are more likely to be .elseif (etc).
Lets me close PR/37222!
2009-11-06 20:20:56 +00:00
dsl
9e7c371385 Change enum values so that TOK_FALSE is 0 and TOK_TRUE is 1.
Use this fact to remove loads of ? : clauses.
2009-11-06 19:44:06 +00:00
dyoung
1a15725cd0 Simplify mii_phy_activate(). Remark in mii_phy_activate() and
mii_phy_detach() comments that we may need to invalidate the parent's
media setting.  No functional change intended.
2009-11-06 18:41:25 +00:00
joerg
2b8a053617 Retire __SCCSID. It has only archeological value now. Also retire lint
conditional around __RCSID, lint can handle that fine.
2009-11-06 18:34:22 +00:00
jakllsch
d50bb58a85 Fix POWER_IOC_GET_TYPE.
The longest string in use with this seems to have been "acpi",
so size_t covered that, but on 32-bit ports omited the NUL.
2009-11-06 18:28:10 +00:00
joerg
14197c258c Define __RCSID and __COPYRIGHT as structure, so that the following
semicolon is consumed.
2009-11-06 18:26:06 +00:00
dyoung
5df4a900a7 return_address(9) can be called from interrupt context; handle its
page faults appropriately.
2009-11-06 18:18:57 +00:00
pooka
3ad682caa6 Enable kernel kmem/vmem/pool/pool_cache by default again instead
of malloc(3) allocators.
2009-11-06 16:16:59 +00:00
pooka
83a2f995b9 In case a temp thread is exiting, borrow lwp0 for the respective
kmem_free().
2009-11-06 16:15:16 +00:00
skrll
96092d9e00 Whitespace. 2009-11-06 15:41:58 +00:00
christos
225e9fc5c1 make this compile. 2009-11-06 15:36:55 +00:00
pooka
aebec17a03 WARNS=4 2009-11-06 15:26:54 +00:00
pooka
5ffd8be0f2 rump_module -> rump_pub_module 2009-11-06 15:25:52 +00:00
pooka
9d391c932b account creds for processes, not lwp's 2009-11-06 15:22:33 +00:00
pooka
6abd8e3cdf lie that we are never in a softintr (i.e. add stub) 2009-11-06 15:22:16 +00:00
joerg
133a83e65e Make sure that parser.c and friends can be found. 2009-11-06 15:14:37 +00:00
joerg
98712b66ed Fix __progname mess. 2009-11-06 15:13:27 +00:00
joerg
3e36bb3dce Drop __SCCSID. It is only of archeological interest. 2009-11-06 15:00:31 +00:00
njoly
5ef060dd31 Restrict ncdcs.debug and man pages to MKBINUTILS=yes builds. 2009-11-06 13:36:01 +00:00
pooka
1dac1a8cbc g/c M_SOFTINTR 2009-11-06 13:32:41 +00:00
is
38a9a9f43c 2nd part of "install kernel -> release" fix, inspired by tsutsui@'s patch
to PR 41672.
2009-11-06 13:01:36 +00:00
is
cc125f84ea Install a.out version of INSTALL kernel in release. Slightly modified
from a patch provided by Izumi Tsutsui as response to PR 41672.
2009-11-06 12:31:44 +00:00
skrll
80ea658d23 Copy the change made by christos to elf32-i386.c to other targets where
it's easy:

Add a warning that prints the symbol that has the text reloc.
2009-11-06 10:59:17 +00:00
rafal
4e042dc0d8 Fix kern/41737 -- add quirks to make MS Wireless Laser Mouse 6000 work. 2009-11-06 04:42:27 +00:00
chuck
a8036503d8 rev 1.18 un-covered some bugs:
1. add_interdomain and add_secure are optional... not all maps use these
    keys.  if we are unable to add them due to a YPERR_KEY (meaning they
    are not being used), then we should not flag this as a general error.

 2. if we have a failure (status <= 0) we unlink_db() the temp database
    as part of error handling.   but we should not overwrite our error
    status code with the return value from unlink_db() because if the
    unlink_db() works (likely true) than that success will wipe out our
    error code and the calling yppush will think we worked.
2009-11-05 21:26:25 +00:00
dyoung
48e2cd3a62 ncdcs needs to labeled 'binutils' not 'binutils=216', otherwise
it's present in the DESTDIR but missing from the flist on binutils
2.19 architectures (today, that is all of the architectures).
2009-11-05 21:11:53 +00:00
joerg
e0efe9552e Fix incorrect merge. 2009-11-05 20:38:42 +00:00