Commit Graph

219325 Commits

Author SHA1 Message Date
martin e575b99fcd Do not keep pointers into a readdir result (which will become invalid
when closing the directory) - strdup() it instead.
Fixes the "bogus redirects" part of PR bin/47925 (atf test case
forthcoming)
2013-06-23 20:32:55 +00:00
stacktic 53da90559b Make sure sockin module is initialized only once 2013-06-23 19:24:08 +00:00
riastradh 75f5a58349 Add man pages and xrefs for consttime_bcmp and explicit_bzero.
ok wiz
2013-06-23 16:44:06 +00:00
matt da81ffdfc8 Add -fno-unwind-tables 2013-06-23 13:56:01 +00:00
uebayasi e2ff7476af Whitespace, comment, NBPG -> PAGE_SIZE. 2013-06-23 09:00:36 +00:00
wiz ac1c6f9496 Put code example on its own line, using Dl.
Ok christos
2013-06-23 08:38:41 +00:00
dholland e1610ba4cb Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of
the following symbols so as to disambiguate fully. (Christos already
did the lfs ones.)

   lblkno
   lblktosize
   lfragtosize
   numfrags
   blkroundup
   fragroundup
2013-06-23 07:28:36 +00:00
kefren 42c11e10c7 allow INET6 gateways, split some long lines 2013-06-23 06:40:26 +00:00
matt 874f26f67e Add EABI (aeabi) support 2013-06-23 06:19:55 +00:00
dholland cc2e18968d Revert accidental commit of the change for PR 47911; got rolled into
other stuff by mistake.
2013-06-23 04:14:28 +00:00
uebayasi 6b5b6a9b05 Whitespace. 2013-06-23 03:16:46 +00:00
riastradh e02ea39378 Fix dangling sentence vestige in cprng(9). 2013-06-23 02:39:32 +00:00
riastradh bfb8ca3f2e Account bytes drawn from initial call to libkern arc4random.
XXX This unlocked initialization looks rather bogus...
2013-06-23 02:38:22 +00:00
riastradh 6290b0987e Rework rndsink(9) abstraction and adapt arc4random(9) and cprng(9).
rndsink(9):
- Simplify API.
- Simplify locking scheme.
- Add a man page.
- Avoid races in destruction.
- Avoid races in requesting entropy now and scheduling entropy later.

Periodic distribution of entropy to sinks reduces the need for the
last one, but this way we don't need to rely on periodic distribution
(e.g., in a future tickless NetBSD).

rndsinks_lock should probably eventually merge with the rndpool lock,
but we'll put that off for now.

cprng(9):
- Make struct cprng_strong opaque.
- Move rndpseudo.c parts that futz with cprng guts to subr_cprng.c.
- Fix kevent locking.  (Is kevent locking documented anywhere?)
- Stub out rump cprng further until we can rumpify rndsink instead.
- Strip code to grovel through struct cprng_strong in fstat.
2013-06-23 02:35:23 +00:00
dholland 9f0b5be4ef typo in comment 2013-06-23 02:07:04 +00:00
dholland 2737439da3 fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)
2013-06-23 02:06:04 +00:00
dholland 0980ff6f74 add missing word 2013-06-23 01:44:22 +00:00
matt aa9225a891 Enable ARM_HAS_VBAR since the arm1176 has a VBAR register. 2013-06-22 15:50:17 +00:00
uebayasi a5c3b84db4 Use END() markers, etc. Pure ELF .symtab (size) changes. 2013-06-22 15:13:55 +00:00
kiyohara b43b39e4fd Calculate correct response from keyboard. Some machines responds ugly scan
code.
2013-06-22 13:53:30 +00:00
kiyohara a1068cf114 Series 5 avoids access into I/O space. I don't know this reason... 2013-06-22 13:36:16 +00:00
kiyohara cf4bed2213 Fix bus_space_{read,write}_region_2.
Remove bus_space_{read,write}_2.  ARM7 can't read/write half word access.
2013-06-22 13:32:54 +00:00
uebayasi f5da20f152 A few END() markers. 2013-06-22 13:09:07 +00:00
roy 25a6200225 Import dhcpcd-6.0.1 with the following change:
* Fix a compile issue on Big Endian machines
2013-06-22 09:25:33 +00:00
uebayasi cd0ee31666 Use END()/IDTVEC_END() to set ELF symbol size. Set some type info too. 2013-06-22 08:48:48 +00:00
uebayasi 7e04682e69 Define IDTVEC_END(), from i386/asm.h. 2013-06-22 07:31:36 +00:00
uebayasi ded13333fe Use END() to set ELF symbol size. Set some type info too. 2013-06-22 06:57:30 +00:00
uebayasi 5cbca21c58 Use END() to set ELF symbol size. Set local data type/size too. 2013-06-22 06:23:28 +00:00
uebayasi 368c73c552 Use END() to set ELF symbol size. Set local string type/size too. 2013-06-22 05:56:32 +00:00
matt e33c0c5662 Make sure dynamically allocated channel_queue struct are zero-filled. 2013-06-22 05:41:25 +00:00
matt 4aebfa28e6 When allocating the channel queue, make sure the return memory is zeroed. 2013-06-22 05:37:06 +00:00
uebayasi 93d35b4dc9 Use END() to set ELF symbol size. 2013-06-22 05:20:57 +00:00
matt 2ad451b6ca Add a common crtbegin.c file and use a machine dependent crtbegin.h to
fill in .init/.fini.
Add mips support for USE_COMPILERCRTSTUFF=no (compiled only)
2013-06-22 02:37:09 +00:00
uebayasi ffd5ab7c8e Use END() to set ELF symbol size. 2013-06-22 02:33:44 +00:00
matt 6a4f94a035 Allow crtbegin to be a C file. 2013-06-22 02:21:58 +00:00
matt 40509c5b49 Fix inverted logic for mapping exception vector. 2013-06-22 00:44:17 +00:00
matt 19f06ff237 File VBAR option 2013-06-22 00:35:31 +00:00
matt 7be6970e12 Fix entries for
./usr/libdata/debug/usr/libexec/ld.elf_so-64.debug
./usr/libdata/debug/usr/libexec/ld.elf_so-o32.debug
to not be obsolete.
2013-06-21 21:13:49 +00:00
roy 2dcb1b8756 Add the timezone hook 2013-06-21 21:09:34 +00:00
nakayama cd7b58e068 Avoid data_access_error trap panic when reading unused PCI
configuration space.

This method is described in UltraSPARC IIi User's Manual "16.2.1
Probing PCI during boot using deferred errors", and refer to the
implementation of OpenBSD.
2013-06-21 20:09:58 +00:00
roy 51fcdb4ba1 Note import of dhcpcd-6.0.0 2013-06-21 19:50:13 +00:00
roy 8080c8ffc5 Build dhcpcd-6.0.0 2013-06-21 19:47:29 +00:00
roy e4857b0a9d Add wpa_supplicant hook 2013-06-21 19:46:58 +00:00
roy 8891301a03 sync 2013-06-21 19:40:20 +00:00
roy d407ff275f Import dhcpcd-6.0.0 with the following changes:
* DHCPv6 support
 * wpa_supplicant hook script
 * route IPv4 addresses to 127.0.0.1 for machine centric traffic
 * DHCPv6 Prefix Delegation support
 * DHCPv6 FQDN support
 * Control existing IPv4 routes
 * less spamy to syslog by default
 * IPv6 protocols now wait for a valid LL address before starting
 * IPv6 DAD support now listens to kernel for more accurate timings
 * IPv4 code split out more cleanly so dhcpcd can be compiled for
   IPv4, IPv6 or IPv4 AND IPv6
 * MTU is no longer requested by default
 * a DUID is now generated in /etc/dhcpcd.duid and this is used as a
   client ID for DHCPv4 and DHCPv6
   This does mean that you may get new DHCPv4 addresses

Many bugs have also been fixed along the way and this release addresses
the following PR's

PR bin/47364
PR bin/47502
PR bin/47666
PR bin/47699
PR bin/47775
PR bin/47776
2013-06-21 19:33:06 +00:00
christos 22898e3a43 Make dtrace/zfs compile on arm based on the diff from:
http://people.freebsd.org/~gonzo/arm/dtrace-arm.diff
Completely untested, kernel support not added.
2013-06-21 19:16:00 +00:00
christos 7733018eca rename delay to xdelay to avoid conflicts. 2013-06-21 16:22:45 +00:00
matt be5ef6fb34 USE_COMPILERCRTSTUFF=no support for vax. 2013-06-21 15:54:08 +00:00
uwe fd21d10e53 Don't check MKINET6 - parent makefile doesn't descend to ndp if it's "no". 2013-06-21 12:50:50 +00:00
uwe 62fe4696d8 Remove this stub that hasn't been necessary in a decade or so. 2013-06-21 12:42:55 +00:00