Commit Graph

237810 Commits

Author SHA1 Message Date
ozaki-r c656a96f13 Improve test stability
ifconfig -a -v after ifconfig -a -z is expected to show '0 packets' for
all interface. However, shmif0 can receive packets between the two
operations. So we have to keep shmif0 down during such tests.
2015-09-15 09:51:01 +00:00
uebayasi 229ff8e5ba Clean up splash image build. Print messages when creating files. 2015-09-15 02:22:43 +00:00
uebayasi edc287c6eb Fix build of SPLASHSCREEN without SPLASHSCREEN_IMAGE. Since there is no way
to change ALLFILES by makeoptions, build an empty splash_image.o.
2015-09-15 00:16:42 +00:00
nonaka 5298fd96c5 regen. 2015-09-14 15:51:29 +00:00
nonaka 9d39412f31 COREGA RTL8192SU is actually CG-WLUSBNM. 2015-09-14 15:51:07 +00:00
pooka e62609a73b Fully build ugenhc only on archs where libusb is built. 2015-09-14 15:09:35 +00:00
pooka 8d6acaa88c Note in comment why this "d"ma implementation is not in libusb. 2015-09-14 15:08:50 +00:00
ozaki-r 4f92eb6d47 Update icmp6_redirect_timeout_q when changing net.inet6.icmp6.redirtimeout
We have to update icmp6_redirect_timeout_q as well as icmp6_redirtimeout
when changing net.inet6.icmp6.redirtimeout via sysctl. The updating logic
is copied from sysctl_net_inet_icmp_redirtimeout.

This change is from s-yamaguchi@IIJ (with KNF by ozaki-r) and fixes
PR kern/50240.
2015-09-14 05:34:28 +00:00
ozaki-r f2a7b1339e Add tests for IPv6 ICMP redirect
Note that tests for redirect timeout doesn't work for now due to
PR kern/50240.

From s-yamaguchi@IIJ (with some fixes and tweaks by ozaki-r)
2015-09-14 05:22:56 +00:00
ozaki-r 44996ea918 Include a few additional libc functions in rump.route to make it work with inet6
getaddrinfo and if_nametoindex are newly added to interpret interface names
in IPv6 link-local addresses. if_nametoindex looks not used in rump.route,
but it is needed because it is used indirectly from getaddrinfo.

From s-yamaguchi@IIJ
2015-09-14 05:12:52 +00:00
uebayasi 960ec2b2e8 Handle splash image generation better. 2015-09-14 01:40:03 +00:00
he 3c48f5cbbf Add entry for nexttowardf(3) and a link for the function name.
Bump manual page date.
2015-09-13 10:58:30 +00:00
wiz 46a774636f Fix typo. 2015-09-13 10:46:41 +00:00
he a9e1b0780a Add entries for rintl(3) and the nearbyint functions, and
make manual page links to the new functions.
Bump manual page date.
2015-09-13 09:46:30 +00:00
mbalmer 43ef4f903a Fix a few entries, add a not about IATA vs. ICAO codes. 2015-09-13 09:21:51 +00:00
dholland 8f73830c5d Fix wrong code in lfs_valloc_fixed(). It was overwriting the inode
number it was supposed to be allocating with the head of the inode
freelist, then applying the wrong test to that result. Net result:
unless the freelist was empty (in which case it would always fail),
it would in general drop a bunch of entries from the freelist.

This code seems to have been broken when the first version of lfsv2
was imported onto the perseant-lfsv2 branch in -r1.47.2.1, and
remained broken since, in spite of having been moved to lfs_rfw.c and
back and rearranged quite a bit in the meantime.

Sigh.

Found by Coverity in a rather confusing way as CID 1316545.
2015-09-13 07:53:37 +00:00
wiz c39756ad10 servername cannot be NULL here.
Noted by joerg@.
2015-09-12 20:23:27 +00:00
wiz 2772e651e2 ftp(1): SNI support for https. [wiz 20150912] 2015-09-12 20:20:30 +00:00
wiz 7a5da4c401 Bump version for SNI support. 2015-09-12 20:18:52 +00:00
christos 9ef18f76ff diagused some variables. 2015-09-12 19:50:08 +00:00
wiz f9b7d2341e Add Server Name Indication (SNI) support for https.
Needed for e.g. some github URLs.
2015-09-12 19:38:42 +00:00
christos c82c3049c6 remove identity assignment, found by brainy. 2015-09-12 19:33:03 +00:00
christos 0f81ab985e fix spl issues, found by brainy. 2015-09-12 19:31:41 +00:00
christos 011dd0b982 add missing splx() found by brainy 2015-09-12 19:21:50 +00:00
christos d78ff1cbea missing splx() found by brainy 2015-09-12 19:19:11 +00:00
christos 57a7e81fe7 Add missing splx() found by brainy. 2015-09-12 19:18:24 +00:00
joerg 2bb600f982 Negating an integer and comparing it to 1 is a fancy way of checking for
0, which in this case would be DEVI_ORPHAN. That clearly can't be the
intention here, so switch to using != as operation without negation
instead.
2015-09-12 19:11:13 +00:00
christos aa52694f67 use the unsigned char version of the input char in all cases "cap[uc]" to
avoid accessing cap[negative], found by Elliott Hughes
2015-09-12 19:08:47 +00:00
joerg 4d3d7e27e9 Avoid TYPE_MAXIMUM, it depends on undefined behavior. 2015-09-12 19:05:11 +00:00
joerg 664441867e Don't shift negative values. 2015-09-12 19:04:21 +00:00
joerg 963949fb1a Replace arithmetic using undefined behavior with exhaustive list of type
size limits.
2015-09-12 19:03:11 +00:00
christos 32627ea0ec gcc does not detect initialization correctly on all platforms (hpcsh) 2015-09-12 18:30:46 +00:00
christos e56eaf6411 - preserve the error number returned from copyin.
- preserve the original pathname in ep_kname, because this is what gets passed
  to userland in exec_script.c
2015-09-12 17:04:57 +00:00
snj 42a95bd51a remove xf86 ctwm.debug entry. 2015-09-12 15:25:01 +00:00
christos 200d779b75 make error more informative. 2015-09-12 15:21:33 +00:00
joerg 7d8085e8a5 Typo 2015-09-12 13:50:55 +00:00
tron e3923864ed Postfix 2.11.6 has been imported. 2015-09-12 09:49:21 +00:00
tron 3e47327b1e Resolve conflicts from last import 2015-09-12 08:23:23 +00:00
tron f0dd1fac45 Import Postfix 2.11.6. Changes since version 2.11.4:
- Preparation for OpenSSL 1.2 API changes
- The sender_dependent_relayhost_maps feature ignored the relayhost setting
  in the case of a DUNNO lookup result. It would use the recipient domain
  instead.
- The default TLS settings no longer enable export-grade ciphers, and no
  longer enable the SSLv2 and SSLv3 protocols. These ciphers and protocols
  have little if any legitimate use today, and have instead become a
  vehicle for downgrade attacks.
2015-09-12 08:20:22 +00:00
macallan 7b2ed46289 - initialize sc_bg_cache and FFB_FBC_BG along with everything else so things
get redrawn properly when exiting X
- fix off by one in ffb_ras_erasecols(), no more artifacts when the screen
  is redrawn
2015-09-11 22:27:17 +00:00
nat 22a1d44f65 Fix splashscreen_image option to include splash_image.o
OK from christos@
2015-09-11 15:56:56 +00:00
pooka fec583f48b Import libcxxrt e64e93fe5bba67a6d52cbe5a97f8770c054bfa65
Implements __cxa_throw_bad_array_new_length, which is generated by gcc
4.9 and later.  Also, some demangle support and fixes.
2015-09-11 11:19:58 +00:00
kamil 5169502213 Fix build with MKCATPAGES=yes
ctwm.0 is a part of X11R7 (xorg), not X11R6 (x11).
2015-09-11 10:35:44 +00:00
roy f3b0c038a1 If, for whatever reason, a local interface route is removed and then
re-added, mark it as a local route.

While here, if changing the route to go via the loopback interface
remove any inherited MTU value.
2015-09-11 10:33:32 +00:00
martin 4c5334afe3 Add two test cases that should cover PR 50228. 2015-09-11 09:25:52 +00:00
tron e879e27efd XFree86 was removed from the source tree. 2015-09-11 08:02:20 +00:00
skrll 5cfbd3ac2e Trailing whitespace 2015-09-11 06:55:56 +00:00
skrll daa8bb7f76 Trailing whitespace. 2015-09-11 06:55:45 +00:00
skrll 0363056b47 Fix up USBMODE registers in sc_vendor_init functions and not in the ehci
driver.
2015-09-11 06:51:43 +00:00
uebayasi ba0b12db31 Libraries should be built in sub-make. libkern is polluting .PATH too much. 2015-09-11 02:26:22 +00:00