Commit Graph

245675 Commits

Author SHA1 Message Date
kiyohara
d8a5f6f371 Fix broken settings for AM335X's I2C[12]. 2016-10-15 15:08:59 +00:00
kiyohara
bd10392980 Add support OMAP_4430. 2016-10-15 15:00:12 +00:00
kiyohara
cab58e4e51 Add White LED initialize function. 2016-10-15 14:40:41 +00:00
kamil
cc5d581159 Add NetBSD CVS Id on top of the wcsnlen.c file 2016-10-15 14:30:36 +00:00
kamil
ea5cf14493 libc: Add the wcsnlen(3) function in <wchar.h>. 2016-10-15 14:25:31 +00:00
kamil
6245abaafa Import wcsnlen(3) to libc
The wcsnlen(3) function conforms to POSIX.1-2008 and is an addition to the
ISO C standard.

size_t wcsnlen(const wchar_t *s, size_t maxlen);

The wcsnlen(3) function computes the number of wide-characters in a wide-
-string to which s points, not including NULL terminating wide-character
code and checking no more than maxlen wide-characters. This function never
examines wide-characters beyond a wide-string of maxlen size.


This function is a safer version of wcslen(3):

size_t wcslen(const wchar_t *s);


Update STANDARDS section of wmemchr(3) describing wide-character functions.
2016-10-15 14:21:59 +00:00
skrll
01368dbcc2 Sort entries within conditional blocks 2016-10-15 12:38:03 +00:00
maya
aa71315a69 this rule shouldn't be specific to little endian 2016-10-15 12:30:55 +00:00
christos
a419901429 Adapt from powerpc(32) 2016-10-15 12:19:02 +00:00
jdolecek
efdf03ed86 reduce the affinity column to just 5 chars for compact list 2016-10-15 12:14:00 +00:00
jdolecek
8804f261c0 add -c option to list command for compact list, it displays totals rather then
per-CPU stats
2016-10-15 12:06:27 +00:00
christos
10dd1ce273 add linker scripts 2016-10-15 11:44:09 +00:00
christos
dab4794cfb Add more linker scripts 2016-10-15 11:41:54 +00:00
christos
a79a63738d adjust for the latest changes 2016-10-15 11:34:30 +00:00
flxd
5a41379141 Add tcu and gpio for TC-USB support. OK christos@ 2016-10-15 09:57:51 +00:00
maxv
9b54bbf047 Instead of setting the TPR to the value that was in the data segment, set
zero directly. On amd64, the data version of lapic_tpr is not explicitly
initialized.
2016-10-15 09:50:27 +00:00
skrll
a857ba2662 KNF 2016-10-15 09:09:55 +00:00
maxv
023431e1e1 There are several leaks in here, just fix one that should have been fixed
in rev1.21
2016-10-15 08:37:55 +00:00
maxv
f9c11d46d5 Memory leak, found by mootja; not tested, but obvious enough 2016-10-15 08:30:42 +00:00
nat
4aab7ca596 printf -> aprint_normal.
OK christos@
2016-10-15 07:10:15 +00:00
nat
333b297cf7 pad(4) must be open before corresponding audio device is opened.
OK christos@
2016-10-15 07:08:06 +00:00
skrll
8b10804eed Trailing whitespace 2016-10-15 06:50:13 +00:00
snj
b14abce7b5 revert part of revision 1.28. "e.g." is correct. bad igor! 2016-10-15 06:23:28 +00:00
mrg
23a8d08d85 mknative-gdb for GDB 7.12 and sparc, sparc64 and powerpc. sparc
works, the others aren't yet tested but do build.
2016-10-15 03:11:47 +00:00
christos
d1f6f311d5 multiple include protection 2016-10-14 23:49:23 +00:00
mrg
cce0131c9c go back to only installing ldscripts for ports that need them (multi-abi) 2016-10-14 23:27:00 +00:00
joerg
b0fa2ba3de Consider aarch64 a 64bit architecture for the purpose of crappy long use
in X.
2016-10-14 20:34:29 +00:00
nat
dde87abc6a Only run interrupt during playback.
OK skrll@
2016-10-14 20:29:45 +00:00
abhinav
75088523c3 A small optimization: since we already know the length of the lines, check
if the lenghts are equal before calling strcmp(3). Most of the times, the call
to strcmp(3) can be saved if the lines are not of the same length.

Thanks to Christos for the reviews
2016-10-14 19:43:59 +00:00
christos
d299125350 add ldscripts 2016-10-14 19:28:06 +00:00
maya
722bae43c0 we build libc_fp for mips64* only, adjust sets accordingly. 2016-10-14 17:52:41 +00:00
macallan
f61977ef47 build libc_fp only on mips64* 2016-10-14 17:29:29 +00:00
spz
978fd63674 note that the OpenSSL import requires some objdir cleanup 2016-10-14 16:39:05 +00:00
christos
b3faa1f1b4 Add new path for arm 2016-10-14 16:38:27 +00:00
spz
31b855a025 merge for openssl 1.0.2j 2016-10-14 16:23:17 +00:00
christos
f424392a52 regen earm 2016-10-14 16:19:23 +00:00
spz
cff8db61e4 periphereal updates and generated files for the new openssl.
Expect at least one more commit until the tree builds again.
2016-10-14 16:09:43 +00:00
spz
a6054fbf77 Import of OpenSSL 1.0.2j.
The 1.0.2 branch of OpenSSL is the current long term support branch.

Differences between 1.0.1 and 1.0.2:
      o Suite B support for TLS 1.2 and DTLS 1.2
      o Support for DTLS 1.2
      o TLS automatic EC curve selection.
      o API to set TLS supported signature algorithms and curves
      o SSL_CONF configuration API.
      o TLS Brainpool support.
      o ALPN support.
      o CMS support for RSA-PSS, RSA-OAEP, ECDH and X9.42 DH.

Security fixes from the previous version (1.0.1t) in NetBSD:
      o OCSP Status Request extension unbounded memory growth (CVE-2016-6304)
      o SWEET32 Mitigation (CVE-2016-2183)
      o OOB write in MDC2_Update() (CVE-2016-6303)
      o Malformed SHA512 ticket DoS (CVE-2016-6302)
      o OOB write in BN_bn2dec() (CVE-2016-2182)
      o OOB read in TS_OBJ_print_bio() (CVE-2016-2180)
      o Pointer arithmetic undefined behaviour (CVE-2016-2177)
      o Constant time flag not preserved in DSA signing (CVE-2016-2178)
      o DTLS buffered message DoS (CVE-2016-2179)
      o DTLS replay protection DoS (CVE-2016-2181)
      o Certificate message OOB reads (CVE-2016-6306)
2016-10-14 16:02:36 +00:00
christos
b3566b595a Disable aslr too since we are playing address space range tricks. 2016-10-14 16:02:35 +00:00
spz
218f7bfcf1 Import of OpenSSL 1.0.2j.
The 1.0.2 branch of OpenSSL is the current long term support branch.

Differences between 1.0.1 and 1.0.2:
      o Suite B support for TLS 1.2 and DTLS 1.2
      o Support for DTLS 1.2
      o TLS automatic EC curve selection.
      o API to set TLS supported signature algorithms and curves
      o SSL_CONF configuration API.
      o TLS Brainpool support.
      o ALPN support.
      o CMS support for RSA-PSS, RSA-OAEP, ECDH and X9.42 DH.

Security fixes from the previous version (1.0.1t) in NetBSD:
      o OCSP Status Request extension unbounded memory growth (CVE-2016-6304)
      o SWEET32 Mitigation (CVE-2016-2183)
      o OOB write in MDC2_Update() (CVE-2016-6303)
      o Malformed SHA512 ticket DoS (CVE-2016-6302)
      o OOB write in BN_bn2dec() (CVE-2016-2182)
      o OOB read in TS_OBJ_print_bio() (CVE-2016-2180)
      o Pointer arithmetic undefined behaviour (CVE-2016-2177)
      o Constant time flag not preserved in DSA signing (CVE-2016-2178)
      o DTLS buffered message DoS (CVE-2016-2179)
      o DTLS replay protection DoS (CVE-2016-2181)
      o Certificate message OOB reads (CVE-2016-6306)
2016-10-14 16:01:16 +00:00
christos
d11c4303f8 Remove hacks and depend on the files being built to decide wha'ts being
installed.
2016-10-14 15:58:34 +00:00
flxd
b00016e53e regen 2016-10-14 15:01:39 +00:00
christos
17fc55e9e9 Fix the host build of aarch64 with clang 2016-10-14 14:41:59 +00:00
christos
9ff2fcdd59 fix some aarch64 nits 2016-10-14 14:41:32 +00:00
skrll
f4ea3389b0 We have our own popcount 2016-10-14 14:14:58 +00:00
skrll
e6e32b5f39 Make this compile 2016-10-14 14:12:48 +00:00
mlelstv
d1f454e185 the mutex is also used for fdc attachment, so initialize it also
for a kernel without BLINK option.
2016-10-14 11:33:08 +00:00
nonaka
7a9bb565aa Dump more FADT fields from ACPI 6.1. 2016-10-14 11:11:01 +00:00
skrll
855e4d5be4 Trailing whitespace 2016-10-14 08:38:31 +00:00
skrll
07111ed295 KNF 2016-10-14 08:37:05 +00:00