Commit Graph

4715 Commits

Author SHA1 Message Date
roy
77cf2730df Sync 2014-10-06 18:22:29 +00:00
roy
041ac88e49 Import dhcpcd-6.5.0 with the following changes:
*  Fix an unaligned access error on BeagleBone Black with FreeBSD.
     Thanks to Guy Yur for the patch.
  *  Remove the fast loop trying to up an interface which does not
     report carrier.
  *  Remove vis based encoding - instead validate against option type and
     stop at invalid [1]
     This removes all shell escaped encoding - dhcpcd will assume that IF
     the --script option is a shell, it will quote variables correctly.
     The stock dhcpcd-run-hooks does.
  *  dhcpcd -V now prints how the variables will be decoded.
  *  Changed some options in dhcpcd-definitions.conf to more sensible defaults.
  *  Don't daemonise on delegated address dad.
  *  Don't drop delegated reject route when forking.
  *  Fix IPv6 handling of link-local addresses on KAME stacks.
  *  Work on OpenBSD-5.6 without any special interface setup needed.
  *  Callout to handlecarrier when we don't have real carrier support and
     rely on looking at IFF_UP and IFF_RUNNING.
     This allows our hooks to know that dhcpcd thinks we have a carrier or not.

[1] DHCP option encodings defined in dhcpcd-definitions.conf
  *  domain (RFC3397)/dname (string) is strict domain name allowance
     (ie, [alnum] with _- (but not at the start or end))
  *  string is now printable ascii (1-127) until invalid
  *  ascii is all ascii (1-127) until invalid
  *  raw is all chars (1-255) until NUL
  *  binhex is a hex representation of the option including embedded NULs
  *  ssid is still escpaed octal because it's expected to be human readable
     AND can technically be all NUL
  *  everything else has strict option -> value encoding
2014-10-06 18:20:16 +00:00
uebayasi
9f8f12e89e Remove '#line ...' lines to not confuse mkdep(1). 2014-10-04 11:45:19 +00:00
apb
10fb7dcce0 Import tzdata2014h from ftp://ftp.iana.org/tz/releases/tzdata2014h.tar.gz
Summary of changes in tzdata2014h (2014-09-25 18:59:03 -0700):
  * America/Jamaica's 1974 spring-forward transition was Jan. 6, not Apr. 28.
  * Shanks says Asia/Novokuznetsk switched from LMT (not "NMT") on 1924-05-01,
    not 1920-01-06.
  * Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
    The affected zones are: Africa/Blantyre, Africa/Bujumbura,
    Africa/Gaborone, Africa/Harare, Africa/Kigali, Africa/Lubumbashi,
    Africa/Lusaka, Africa/Maseru, and Africa/Mbabane.
  * Changes affecting documentation and commentary.
2014-10-04 11:42:09 +00:00
apb
db3976795f Add space before "]" in "if [ ... ]" to fix usage error
and test for existence of the correct file.
2014-10-03 12:41:41 +00:00
joerg
652ca0d126 When building with clang, use the C++11 feature for explicit template
specialisation.
2014-10-01 22:44:03 +00:00
joerg
fa6ce9bf24 Explicitly request using the libstdc++ header path for clang, C++11 for
everything and disable the unsupported ABI tagging.
2014-10-01 22:27:33 +00:00
joerg
e706f69c23 Building random.cc with clang requires -mrdrnd on x86. 2014-10-01 22:26:05 +00:00
joerg
840b578a49 Attribute target is not supported by clang, so don't use it.
Explicitly mark this function as non-inline to not defeat the feature
tests.
2014-10-01 22:18:19 +00:00
skrll
899022eaca Fix SHLIB_MAJOR to match xorg and fix linking against libxcb-sync which
broke kwin for me.
2014-10-01 09:30:58 +00:00
mlelstv
3e107524fa make seek test routine work with the configured block size. 2014-09-30 15:25:18 +00:00
mlelstv
a5a0a2d000 the buffer is also used when there is no input 2014-09-30 15:24:15 +00:00
roy
e3e82f6374 Sync 2014-09-27 11:00:07 +00:00
roy
40dcca62eb Import dhcpcd-6.4.7 with the following change:
*  Fix an impossible analyser error and correctly assign unset iaids.
2014-09-27 10:58:10 +00:00
roy
edf064d2d0 Sync 2014-09-27 01:17:34 +00:00
roy
83f33c897c Import dhcpcd-6.4.6 with the following changes:
*  Detect removal of IPv6 routes
  *  Don't add link-local addresses to POINTOPOINT interfaces
  *  Don't discard expired DHCPv6 leases when dumping them
  *  If a DHCPv6 lease has no timers, expire it right away
  *  Report delegated addresses
  *  Call dhcpcd-run-hooks correctly when delegated prefixes already exist
  *  Fix a memory error when ia_* config exists but IPv6 is disabled
  *  Ensure servername and bootfile are safely exported
  *  Sanitise the following characters using svis(3) with VIS_CTYLE and
     VIS_OCTAL:
         | ^ & ; < > ( ) $ ` \ " ' <tab> <newline>
     This allows a non buggy unvis(1) to decode it 100% and stays compatible
     with how dhcpcd used to handle encoding on most platforms.
     For systems that supply svis(3) there is a code reduction, for systems
     that do not, a slight code increase. This change mitigates systems
     affected by bash CVE-2014-6271 and CVE-2014-7169.
2014-09-27 01:14:51 +00:00
christos
87adffacd1 The crypto-enabled dhclient command needs more libraries burned in so that
it does not depend on /usr/lib
XXX: pullup-7
2014-09-26 22:18:48 +00:00
matt
9113203c75 Really back the RISC-V changes to these files. 2014-09-24 01:16:04 +00:00
matt
180b02fefb Back-out recent inadverdent changes. 2014-09-23 20:35:11 +00:00
matt
f23c31b5a7 When disassembling an auipc/jalr pair, print the address eventually being
called:
	auipc   t0,0x2b3
	jalr    t0,-616 # ffffffff802b2e98 <memset>
2014-09-20 04:53:19 +00:00
matt
6b3c8b5ddd RISC-V configury. 2014-09-19 17:23:57 +00:00
matt
1d163c8d1a RISC-V configury 2014-09-19 17:23:23 +00:00
matt
2db0c478e6 RISC-V (riscv32 & riscv64) binutils configury stuff. 2014-09-19 17:22:21 +00:00
matt
41b40da6f6 Add RISC-V support. 2014-09-19 17:19:52 +00:00
matt
3b6f53715b Add UCB RISC-V EM value 2014-09-19 08:59:38 +00:00
matt
2d5fc5945d Simplify or1k config.gcc configury bits. use gcc_cv_initfini_array=yes
to enable initfini.  remove hacked initfini support and use the common gcc
implementation.  Rerun native-gcc.
2014-09-19 00:24:28 +00:00
roy
06b615d894 Sync 2014-09-18 20:46:30 +00:00
roy
0d512cb656 Import dhcpcd-6.4.5 with the following changes:
*  Remove all instances of if_indextoname as we already know the index
  *  Check we have allocated IPv6 resources before checkings RA's
2014-09-18 20:43:55 +00:00
roy
f1cbc45c57 Sync 2014-09-16 22:27:04 +00:00
roy
f4cc42a9c0 Import dhcpcd-6.4.4 with the following changes:
*  Many bounds checking fixes from Tobias Stoeckmann
  *  Improve error when the authentication token cannot be found
  *  close the IPv4 specific UDP socket when done sending
  *  Implemented a write queue to the control sockets
  *  Only send interfaces to control sockets when in a BOUND state
  *  Add a sample controlgroup directive to dhcpcd.conf to make setup easier
  *  Add variables if_oneup and if_ipwaited so hook scripts know the overall
     state of dhcpcd better
  *  Pass RC_SVCNAME from enviromment to hooks so that a service hook can
     know it's name (may not be dhcpcd)
  *  Document every variable set for dhcpcd-run-hooks(8)
  *  Allow SSIDs with non printable characters to be used in ssid selection
     in dhcpcd.conf
  *  Add an unprivileged control socket so that normal users can obtain
     dhcpcd running state
2014-09-16 22:23:17 +00:00
joerg
a1f9624941 Apply r1.2 from our GCC 4.8 version of the same file:
Kill the "throw()" on a forward declaration for posix_memalign (it does
not match our base declaration and may cause warnings).
2014-09-15 16:29:18 +00:00
riastradh
103f4fccb9 Switch default accelmethod back to UXA until we import a stabler SNA. 2014-09-11 17:26:30 +00:00
christos
fdbbaf2d5a PR/49192: remove dup assignment. 2014-09-11 13:30:04 +00:00
christos
afdd00276d Fix the index building which got completely broken after the last update. 2014-09-10 21:44:22 +00:00
tron
7edfdcc221 Make crontab(1) work again which got broken by the last commit. 2014-09-07 13:35:27 +00:00
joerg
5f34e14bbb Mark usage and quit as dead. 2014-09-07 13:34:12 +00:00
christos
734041fc2a store lastch to an int so that EOF is handled properly. 2014-09-06 12:18:49 +00:00
joerg
00e77a22af Install altivec.h for ppc64 too. 2014-09-06 01:02:21 +00:00
christos
ae5dea0a14 WARNS=6 2014-09-05 21:32:37 +00:00
christos
f8739668ae Rewind the file before we install it so that we can check it.
Before this fix, no checks were made and you could install crap.
XXX: pullup 7
2014-09-05 20:55:11 +00:00
matt
cbbb2b6894 OR1K configury for NetBSD 2014-09-03 19:11:24 +00:00
matt
2137a61433 OR1K configury support for NetBSD 2014-09-03 19:10:36 +00:00
matt
230b95665b OR1K configury for NetBSD 2014-09-03 19:05:12 +00:00
matt
711e42594e Merge OR1K support from OR1K GCC 4.9 git tree and extend it to support NetBSD. 2014-09-03 19:02:53 +00:00
matt
a45653d102 Merge in OR1K support from top of binutils-gdb GIT repository. This replaces
the existing support and most imporantly adds support for shared libraries.
2014-09-03 19:01:15 +00:00
apb
e23e44ad12 Updated import script for tzdata2014g.
Aso added "cd" commands that were missed in the recent move from
src/share/zoneinfo to external/public-domain/tz.
2014-08-31 07:04:07 +00:00
apb
acd39795c2 Import tzdata2014g from ftp://ftp.iana.org/tz/releases/tzdata2014g.tar.gz
Summary of changes in tzdata2014g (2014-08-28 12:31:23 -0700):
  * Turks & Caicos is switching from US eastern time to UTC-4 year-round,
    modeled as a switch from EST/EDT to AST on 2014-11-02 at 02:00.
  * Time in Russia or the USSR before 1926 or so has been corrected by
    a few seconds for several zones, and a few minutes for
    Asia/Yekaterinburg.
  * The Portuguese decree of 1911-05-26 took effect on 1912-01-01, not
    on the date of the decree.  This affects 1911 time stamps in
    Africa/Bissau, Africa/Luanda, Atlantic/Azores, and Atlantic/Madeira.
  * Lisbon's pre-1912 GMT offset was -0:36:45 (rounded from -0:36:44.68),
    not -0:36:32.
  * Asia/Dhaka ended DST on 2009-12-31 at 24:00, not 23:59.
  * A new file 'backzone' contains data which may appeal to
    connoisseurs of old time stamps, although it is out of scope for
    the tz database, is often poorly sourced, and contains some data
    that is known to be incorrect.
  * Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
  * Changes affecting documentation and commentary.
2014-08-31 06:46:20 +00:00
jmcneill
8c205f85ed cygwin64 support 2014-08-30 22:05:30 +00:00
christos
addbc7f884 Cleanup the confusion with getting the pid of a sparc debugged process.
If the comments were correct, then this should be factored out to the
OS-specific native code, and the general code should remain sane.
2014-08-30 07:55:44 +00:00
matt
7c92a4b3cd Allow STT_GNU_IFUNC to be dynamic symbols 2014-08-26 17:03:51 +00:00