Commit Graph

5914 Commits

Author SHA1 Message Date
christos
2dd41d1a41 grow a big endian arm 2016-01-29 21:33:52 +00:00
christos
4e4e5082ff grow another arm. 2016-01-29 21:11:55 +00:00
christos
01129addf9 fix aarch64 2016-01-29 20:54:09 +00:00
christos
f2fcb61447 we have our own popcount. 2016-01-29 20:53:14 +00:00
christos
b711ecb4da regen earm, rest of ia64 2016-01-29 20:41:25 +00:00
christos
164e2a0fd9 regen ia64 2016-01-29 20:39:19 +00:00
christos
a7de39c009 try to adjust riscv 2016-01-29 18:05:18 +00:00
christos
f51ed01f4f regen! 2016-01-29 17:30:22 +00:00
christos
2bbb53d7df try to fix loongson hacks. 2016-01-29 17:01:55 +00:00
christos
bc117f559a fix bogus == bashism. 2016-01-29 16:23:51 +00:00
christos
5f4eaf394b merge conflicts, regen for x86. 2016-01-29 14:42:43 +00:00
christos
9573673d78 Import binutils-2.26 2016-01-29 12:44:10 +00:00
christos
dbf7e049dc needs libpthread 2016-01-28 19:40:29 +00:00
lneto
e9138ce741 fixed metatable access to deallocated field
author: Lua.org <team@lua.org>
see: http://www.lua.org/bugs.html#5.3.2-1
2016-01-28 17:23:21 +00:00
lneto
2d6cb6c23b lua: merged 5.3.2 2016-01-28 14:41:39 +00:00
christos
d53e8ce2b1 don't link/depend on libpthread if we are a hostprog.
XXX: should be using -pthread instead?
2016-01-27 18:43:25 +00:00
christos
eaa6761b21 Sync with binutils. 2016-01-26 19:38:09 +00:00
christos
62d79eec21 Centralize the definition of TOP/DIST and cleanup a little. 2016-01-26 19:37:46 +00:00
christos
9f077b2395 use EXTERNAL_FOO_SUBDIR 2016-01-26 17:48:56 +00:00
christos
2cbc086649 switch to binutils.old 2016-01-26 17:37:51 +00:00
christos
3feacbccbd import the HEAD of binutils as binutils.old 2016-01-26 17:25:55 +00:00
christos
a695a26e4a fix fd leak 2016-01-26 02:54:25 +00:00
christos
ea4e3ce399 Include <bsd.own.mk> before setting any MK variables, so that /etc/mk.conf
is processed first, and it's settings don't override ours.
2016-01-25 18:00:26 +00:00
christos
9a678359e4 sys/conf.h is a kernel only header 2016-01-24 22:00:53 +00:00
christos
b06fa2e70f use 0 for udata for portability (FreeBSD has a pointer, we have uintptr_t) 2016-01-24 19:15:56 +00:00
christos
b7405849a6 the eloop hack should not be needed anymore. 2016-01-24 18:49:05 +00:00
mrg
d35849d0e1 merge GCC 5.3. round 1. this probably won't work :-)
libsanitizer likely needs to be re-ported, though i've done most of
the updating we'll need i think already.
2016-01-24 09:43:30 +00:00
mrg
4d5abbe83f import GCC 5.3.0. see these urls for details which are too large to
include here:

	http://gcc.gnu.org/gcc-4.9/changes.html
	http://gcc.gnu.org/gcc-5/changes.html

(note that GCC 5.x is a release stream like GCC 4.9.x, 4.8.x, etc.)


the main issues we will have are:

The default mode for C is now -std=gnu11 instead of -std=gnu89.

ARM:
The deprecated option -mwords-little-endian has been removed.
The options -mapcs, -mapcs-frame, -mtpcs-frame and -mtpcs-leaf-frame
 which are only applicable to the old ABI have been deprecated.

MIPS:
The o32 ABI has been modified and extended. The o32 64-bit
 floating-point register support is now obsolete and has been removed.
 It has been replaced by three ABI extensions FPXX, FP64A, and FP64.
 The meaning of the -mfp64 command-line option has changed. It is now
 used to enable the FP64A and FP64 ABI extensions.
2016-01-24 06:05:37 +00:00
christos
b599e35404 expose kernel types for gdb so that we don't have to fix each arch separately
for now.
2016-01-23 23:02:31 +00:00
christos
c89d254f72 PR/5068: Ingo Schwarze: Don't use the .af (alter format) request to display
a named register.
2016-01-23 22:10:44 +00:00
christos
ffeb8dbf4e Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
christos
c0d969f01d define sooner _KMEMUSER 2016-01-23 20:28:24 +00:00
christos
bab08dd002 don't include <sys/mbuf.h> 2016-01-23 19:08:02 +00:00
riastradh
d604e653d0 Omit spurious include of <sys/isa_defs.h> in dtrace tools build.
Fixes dtrace tools cross-build from architectures with no dtrace
support:

#   compile  libctf/ctf_create.lo
[...]
/export/anoncvs/src/tools/libctf/../../external/cddl/osnet/sys/sys/isa_defs.h:50:2: error: #error "architecture not supported"
 #error "architecture not supported"
  ^
2016-01-23 15:45:42 +00:00
christos
e8da065e3b cleanup pkgsrc junk 2016-01-23 03:11:14 +00:00
christos
808f096b09 we don't want sys/mbuf.h 2016-01-23 01:57:56 +00:00
christos
21f7378202 add proftpd diffs. 2016-01-23 00:05:54 +00:00
christos
1c3e5c3032 add more points. 2016-01-23 00:05:38 +00:00
christos
b5559a7d96 turned mapped v4 addresses to real v4 addresses so that they work. 2016-01-22 22:31:11 +00:00
roy
98c42a5b41 Remove unused var 2016-01-22 20:21:04 +00:00
roy
fbb8252e94 Size the kevent receive buffer correctly. 2016-01-22 18:01:05 +00:00
roy
0e46e78071 Fix build for clang and kqueue 2016-01-22 17:56:20 +00:00
mrg
93abc59558 protect the entire contents of regsub.c with extern "C".
this fixes the tools build, at least.

also, remove the no longer needed cdefs.h from one of these copies.
2016-01-21 04:55:40 +00:00
roy
239a09e1aa Sync 2016-01-20 19:42:33 +00:00
christos
8b59ebd5ef make regasub a "C" decl. 2016-01-20 17:09:04 +00:00
christos
c424ac81dd make regasub a c decl. 2016-01-20 17:08:27 +00:00
roy
d2b81c07d7 Re-queue kqueue events after forking. 2016-01-20 17:03:35 +00:00
roy
042b6b4776 Sync upstream changes for eloop 2016-01-20 15:26:13 +00:00
christos
168ddffc8a sync with gcc.old (catch up with __RCSID removal and libc sync) 2016-01-20 15:13:33 +00:00
christos
fe4272b7bc remove __RCSID, sync with libc 2016-01-20 15:12:29 +00:00
roy
96193774ca Build with kqueue(2) support 2016-01-20 15:08:44 +00:00
roy
6da92e7fec Add kqueue(2) support. 2016-01-20 15:07:52 +00:00
roy
19aa8ba08a If an interface is removed, zero the remembered ifindex.
Don't try to set properties on the interface when it is removed.
2016-01-20 14:43:40 +00:00
christos
1f95ef81a2 Merge 9.10.3-P3:
4288.   [bug]           Fixed a regression in resolver.c:possibly_mark()
                        which caused known-bogus servers to be queried
                        anyway. [RT #41321]

4286.   [security]      render_ecs errors were mishandled when printing out
                        a OPT record resulting in a assertion failure.
                        (CVE-2015-8705) [RT #41397]

4285.   [security]      Specific APL data could trigger a INSIST.
                        (CVE-2015-8704) [RT #41396]
2016-01-20 02:14:02 +00:00
christos
3446f5fe8e Import bind 9.10.3-P3 2016-01-20 01:52:08 +00:00
roy
24a4d098ea wpa_supplicant dropped the -w option a long time ago, lets not pretend
it still works.
2016-01-19 18:09:09 +00:00
roy
e2e73853a3 Downing the interface now disables it instead of removing it. 2016-01-19 17:22:57 +00:00
roy
b34fd366ac Use the interface index from the correc structure according to the message
to find the driver instead of assuming that rtm_index is corect.
2016-01-19 16:47:44 +00:00
roy
05166036b2 Syntax (no functional change) 2016-01-19 15:49:07 +00:00
roy
a580913301 Revert an older change as upstream now calculates level from rssi and noise. 2016-01-19 15:45:00 +00:00
roy
540fe73fe8 Remove pointless check 2016-01-19 15:27:57 +00:00
roy
a0af6c43af Remove added debug to sync more with upstream. 2016-01-19 15:18:20 +00:00
roy
11ef54a957 Don't log RTM messages we aren't interested in at all. 2016-01-19 15:08:29 +00:00
christos
9ca1704a93 include unistd.h for getpagesize() 2016-01-17 22:51:32 +00:00
christos
10dfc2597e ifdef __RCSID 2016-01-16 19:28:36 +00:00
christos
d874e91932 import the latest autoconf 2016-01-16 18:35:58 +00:00
joerg
5c6e50941c Add missing format string annotation. 2016-01-16 01:14:39 +00:00
joerg
7e0794aef8 Fix merge error of diagnostic pragmas. 2016-01-16 01:14:21 +00:00
joerg
03600a11a4 Don't play games with format strings. 2016-01-16 01:05:40 +00:00
roy
7afa5a975d Sort options and reduce printf calls. 2016-01-15 20:34:35 +00:00
tron
c179f7c274 Fix build with "USE_SSP" set to "yes" 2016-01-15 18:03:32 +00:00
joerg
930dcad416 Expand undefined number. 2016-01-15 15:37:05 +00:00
christos
c25aca9c71 we have unistd.h 2016-01-15 15:14:02 +00:00
christos
5496b9d0d6 remove param.h 2016-01-15 15:13:28 +00:00
joerg
2c5fc9570b Left shift of negative values is UB, just write the constant out. 2016-01-15 00:18:19 +00:00
roy
9ff00cbafe Create global init to handle socket calls and route messages.
Register each interface inside the global driver so that
routing messages can find the interface based on rtm_ifindex.
2016-01-14 21:19:41 +00:00
christos
a5338de11b hook send-pr 2016-01-14 21:13:54 +00:00
christos
592de26897 Apply our local changes bringing us up to 3.95 (for which there is no
release tar), and add build glue.
2016-01-14 21:13:20 +00:00
christos
68c5b58147 import send-pr from gnats-3.2 2016-01-14 21:06:13 +00:00
christos
fa28c6faa1 - merge local changes
- provide reach-over infrastructure
2016-01-14 04:22:38 +00:00
christos
04c6fc8e93 hook rcs 2016-01-14 04:21:48 +00:00
christos
7bdc26784b import rcs-5.7 2016-01-14 03:05:05 +00:00
christos
a683cc86dd we want a lint library 2016-01-14 02:43:50 +00:00
christos
92e52b2b45 remove afmtodit, add gdiffmk 2016-01-14 02:41:58 +00:00
christos
10494598b6 - remove generated files
- remove libdriver dependencies where they are not needed
- add bin to Makefile
2016-01-14 02:30:18 +00:00
christos
0e6a791c20 hook texinfo 2016-01-14 00:38:30 +00:00
christos
cef0bb5b1f install in /usr/bin 2016-01-14 00:38:19 +00:00
christos
d3737e9cfd Apply our patches and add build glue. 2016-01-14 00:34:52 +00:00
christos
29619d2afe import texinfo-4.8a 2016-01-14 00:11:27 +00:00
christos
49e111a21f merge changes, add build glue. 2016-01-13 21:56:38 +00:00
christos
478e07dd80 import the latest standalone libmalloc. 2016-01-13 21:42:18 +00:00
christos
9606215048 add groff 2016-01-13 19:02:29 +00:00
christos
4acc5b6b20 merge our changes and add build glue 2016-01-13 19:01:55 +00:00
christos
89a07cf815 Import groff 1.19.2 2016-01-13 18:41:45 +00:00
christos
6b00881bdc fix for sun2; require libm only with msgmerge by linking fsearch with it. 2016-01-13 12:48:51 +00:00
christos
fd0f3f527a hook diffutils 2016-01-13 03:40:11 +00:00
christos
f8c23a2b94 merge conflicts, new reach-over Makefiles 2016-01-13 03:39:27 +00:00
christos
75f6d617e2 Import latest gpl2 diffutils 2016-01-13 03:15:29 +00:00
christos
b3048154cf don't use local dup wrong define 2016-01-13 01:31:17 +00:00
christos
4555f8de30 ggr. bsd.files.mk does not have an includes target... 2016-01-13 00:18:01 +00:00
christos
8b1ac22df2 Hook gettext 2016-01-12 22:58:52 +00:00
christos
95b39c65ca merge conflicts and add reach-over Makefiles 2016-01-12 22:58:00 +00:00
christos
946379e7b3 import latest GPLv2 gettext 2016-01-12 19:50:28 +00:00
wiz
40fc864a9c Add missing word in comment. 2016-01-11 22:41:48 +00:00
christos
3965f5d7b6 PR/50646: Use the c99 cabs math builtins directly, because cabs and cabsf
have broken ABI's can cabsl does not exist. The correct(?) probably fix is
to change the cabs builtins to point to the c99 variants directly...
XXX: pullup-7 and the same file from the gcc.old tree.
2016-01-11 16:52:53 +00:00
christos
e85b730730 Hack around the cabs mess, and explain what's going on... 2016-01-11 16:49:09 +00:00
christos
2fb7dbc941 protect with MKBSDGREP 2016-01-10 22:22:16 +00:00
christos
5e9b9be0de build grep from here. 2016-01-10 22:19:41 +00:00
christos
d571953c66 minor nits 2016-01-10 22:18:05 +00:00
christos
fb69a85ab0 - merge conflicts, enable wide char support. 2016-01-10 22:16:40 +00:00
christos
a8fa202a64 Import latest GPLv2 grep 2016-01-10 21:36:14 +00:00
wiz
a329a2c2fe Add arguments to options in description.
Replace manual xref with Xr.
2016-01-10 20:31:13 +00:00
christos
48e444ba73 merge conflicts 2016-01-10 20:10:44 +00:00
christos
b49b05d3a4 import new dhcp 2016-01-10 19:44:06 +00:00
christos
99e242ab80 merge conflicts. 2016-01-10 19:02:13 +00:00
christos
5494e77017 import new tmux 2016-01-10 17:55:36 +00:00
roy
af11e5ab0d Fixup SYNOPSIS some more. 2016-01-10 15:52:36 +00:00
christos
c0c345b8e4 merge conflicts 2016-01-09 22:05:33 +00:00
christos
781cc16b73 Import byacc 20150711 2016-01-09 21:59:44 +00:00
christos
cfeb19ffd0 Import byacc 20150711 2016-01-09 21:55:10 +00:00
christos
d0b62a46a8 new files 2016-01-09 21:13:51 +00:00
christos
a43c63c042 delete the generated file. 2016-01-09 18:29:13 +00:00
christos
d5f1312a0a Re-add. 2016-01-09 18:28:41 +00:00
christos
c8308197ab refresh the generated files 2016-01-09 17:39:52 +00:00
christos
a11deec2a0 Merge our changes; the directory structure got changed.
Changes are too large for here, see changelog.
2016-01-09 17:38:56 +00:00
christos
30da1778c3 Import flex 2.6.0 2016-01-09 15:43:18 +00:00
christos
ee2af19067 add -fdebug-regex-map=regex=subst which works like sed -e s/regex/subst/
to aid with /usr/obj remapping for MKREPRO
2016-01-09 02:00:14 +00:00
roy
5533690441 Update wpa_supplicant(8) to what it actually does. 2016-01-08 23:37:58 +00:00
roy
9c5968fe21 Enable syslog support 2016-01-08 23:31:29 +00:00
christos
1b08c7b3a2 Check correctly the packet length (CVE-2015-8605)
XXX: pullup-6, pullup-7
2016-01-08 23:09:41 +00:00
christos
10d94700c4 update for p5 2016-01-08 21:36:51 +00:00
christos
8b8da0870d Welcome to 4.2.8p5:
* [Sec 2956] small-step/big-step.  Close the panic gate earlier.  HStenn.
* CID 1339955: Free allocated memory in caljulian test.  HStenn.
* CID 1339962: Explicitly initialize variable in caljulian test.  HStenn.
* CID 1341527: Quiet a CHECKED_RETURN in sntp/tests/t-log.c.  HStenn.
* CID 1341533: Missing assertion in sntp/tests/t-log.c.  HStenn.
* CID 1341534: Resource leak in tests/ntpd/t-ntp_signd.c.  HStenn.
* CID 1341535: Resource leak in tests/ntpd/t-ntp_signd.c.  HStenn.
* CID 1341536: Resource leak in tests/ntpd/t-ntp_signd.c.  HStenn.
* CID 1341537: Resource leak in tests/ntpd/t-ntp_signd.c.  HStenn.
* CID 1341538: Memory leak in tests/ntpd/ntp_prio_q.c:262.  HStenn.
* CID 1341677: Nits in sntp/tests/keyFile.c.  HStenn.
* CID 1341678: Nits in sntp/tests/keyFile.c.  HStenn.
* CID 1341679: Nits in sntp/tests/keyFile.c.  HStenn.
* CID 1341680: Nits in sntp/tests/keyFile.c.  HStenn.
* CID 1341681: Nits in sntp/tests/keyFile.c.  HStenn.
* CID 1341682: Nit in libntp/authreadkeys.c.  HStenn.
* CID 1341684: Nit in tests/ntpd/t-ntp_signd.c.  HStenn.
* [Bug 2829] Look at pipe_fds in ntpd.c  (did so. perlinger@ntp.org)
* [Bug 2887] stratum -1 config results as showing value 99
  - fudge stratum should only accept values [0..16]. perlinger@ntp.org
* [Bug 2932] Update leapsecond file info in miscopt.html.  CWoodbury, HStenn.
* [Bug 2934] tests/ntpd/t-ntp_scanner.c has a magic constant wired in.  HMurray
* [Bug 2944] errno is not preserved properly in ntpdate after sendto call.
  - applied patch by Christos Zoulas.  perlinger@ntp.org
* [Bug 2952] Symmetric active/passive mode is broken.  HStenn.
* [Bug 2954] Version 4.2.8p4 crashes on startup with sig fault
  - fixed data race conditions in threaded DNS worker. perlinger@ntp.org
  - limit threading warm-up to linux; FreeBSD bombs on it. perlinger@ntp.org
* [Bug 2957] 'unsigned int' vs 'size_t' format clash. perlinger@ntp.org
  - accept key file only if there are no parsing errors
  - fixed size_t/u_int format clash
  - fixed wrong use of 'strlcpy'
* [Bug 2958] ntpq: fatal error messages need a final newline. Craig Leres.
* [Bug 2962] truncation of size_t/ptrdiff_t on 64bit targets. perlinger@ntp.org
  - fixed several other warnings (cast-alignment, missing const, missing prototypes)
  - promote use of 'size_t' for values that express a size
  - use ptr-to-const for read-only arguments
  - make sure SOCKET values are not truncated (win32-specific)
  - format string fixes
* [Bug 2965] Local clock didn't work since 4.2.8p4.  Martin Burnicki.
* [Bug 2967] ntpdate command suffers an assertion failure
  - fixed ntp_rfc2553.c to return proper address length. perlinger@ntp.org
* [Bug 2969]  Seg fault from ntpq/mrulist when looking at server with
              lots of clients. perlinger@ntp.org
* [Bug 2971] ntpq bails on ^C: select fails: Interrupted system call
  - changed stacked/nested handling of CTRL-C. perlinger@ntp.org
* Unity cleanup for FreeBSD-6.4.  Harlan Stenn.
* Unity test cleanup.  Harlan Stenn.
* Libevent autoconf pthread fixes for FreeBSD-10.  Harlan Stenn.
* Header cleanup in tests/sandbox/uglydate.c.  Harlan Stenn.
* Header cleanup in tests/libntp/sfptostr.c.  Harlan Stenn.
* Quiet a warning from clang.  Harlan Stenn.
* Update the NEWS file.  Harlan Stenn.
* Update scripts/calc_tickadj/Makefile.am.  Harlan Stenn.
2016-01-08 21:35:35 +00:00
christos
48f8ae193a Import ntp 4.2.8p5 2016-01-08 21:21:22 +00:00
christos
4c290c01db Import ntp 4.2.8p5 2016-01-08 20:55:28 +00:00
joerg
010dbb068d Don't increment the induction variable twice. 2016-01-08 19:01:12 +00:00
christos
4de33724a3 fix typo 2016-01-07 22:47:49 +00:00
roy
dddc1afbdc Move 10-wpa_supplicant, 15-timezone, 29-lookup-hostname and 50-ypbind
from /libexec/dhcpcd-hooks to /usr/share/examples/dhcpcd/hooks so they
are not run by default.
2016-01-07 22:07:18 +00:00
christos
082d4f2bae Revert part of previous; fd is closed by readfd... 2016-01-07 21:11:54 +00:00
christos
4b4092f77b CID 1257467: Annotate incorrect inull. 2016-01-07 20:11:57 +00:00
christos
80a820b037 CID 1257465: Annotate tainted. 2016-01-07 20:10:55 +00:00
roy
26d95753d3 Sync 2016-01-07 20:09:43 +00:00
christos
caea90453a CID 1257471: NULL deref. 2016-01-07 20:06:44 +00:00
christos
a37bd2e2fb CPID 1288934: This is not really a use after free, because the last pointer
is updated in the mdoc_node_unlink.
2016-01-07 20:05:41 +00:00
christos
84727994ae CID 1257473: NULL deref 2016-01-07 20:00:35 +00:00
christos
7aa41a8681 CID 1288941: Wrong sizeof 2016-01-07 19:51:40 +00:00
christos
780c330dd4 CID 1288947: Prevent fd leak. 2016-01-07 19:49:25 +00:00
christos
8d5e21efeb CID 1288958: Prevent NULL deref 2016-01-07 19:46:00 +00:00
christos
470c663f06 CID 1288962: lim was never incremented thus self-definition loop detection
was not functional.
2016-01-07 19:32:43 +00:00
christos
79f68c0e48 remove CONST; it is unused from Brad Harder 2016-01-07 14:07:01 +00:00
christos
8ec658f57a - Change LDADD/DPADD in library dependencies to LIBDPLIBS
- Fix some LDADD abuse and remove useless dependencies
- include <bsd.init.mk> in the right place where appropriate
From Rin Okuyama
2016-01-05 13:07:46 +00:00
christos
9c0810557f fix lint build 2016-01-05 02:44:57 +00:00
christos
6833b0c7c2 Print symbolically why the process exited. 2015-12-30 22:23:38 +00:00
christos
d182ef4fb3 Work around ksh bug 2015-12-30 22:23:02 +00:00
christos
2c673a1b78 typo 2015-12-30 17:57:20 +00:00
christos
13a9d5601a Add a mutex to prevent races during initialization code from multiple threads.
Found in named.
2015-12-30 16:42:48 +00:00
khorben
532807571a Correct the example for the port range syntax 2015-12-28 19:32:22 +00:00
christos
7275494c77 - Don't look for tests in the local directory, we might be running this from
somewhere else.
- Clear MAKEFLAGS so that make(1) behaves as it is supposed to.
2015-12-27 22:26:19 +00:00
christos
b41dd0142f We don't need to declare clock_gettime if we don't have it and we don't need
to __RENAME if we are not NetBSD.
2015-12-27 21:42:09 +00:00
christos
585cc407b7 Override roundup. 2015-12-27 21:40:21 +00:00
christos
da5e76ddef don't re-define __assert. 2015-12-27 21:39:34 +00:00
christos
81dbb529d3 add nbtool_config.h 2015-12-27 21:39:01 +00:00
christos
d941e4fe7e add return 2015-12-27 21:38:46 +00:00
joerg
608f99aa20 Mark mandoc_asprintf as printf-like 2015-12-27 12:42:17 +00:00
christos
0941badb50 PR/50593: dieter roelants: fix unexpanded definitions in xterm(1) 2015-12-25 18:50:48 +00:00
christos
714768c886 We stuck the generation number eons ago before the inode, so we broke
inode printing in nfs file handles.
2015-12-25 04:50:21 +00:00
wiz
dde3b33e50 Mark as using c++ using LIBISCXX instead of manual workaround.
The workaround was confused when MKLLVM was set, but HAVE_LLVM was not.

Solution suggested by joerg.
2015-12-24 00:36:43 +00:00
christos
37ae74be41 For reproducible builds, allow the source of the map to be set from the
environment, so that DW_at_producer is the same no matter what the actual
underlying source and destination directories are. See:
    https://gcc.gnu.org/ml/gcc-patches/2015-12/msg01168.html
2015-12-22 16:48:44 +00:00
joerg
08c2098fe3 Our time.h defines clock_gettime with assembler name after including
sys/time.h. The Solaris compat code in sys/time.h wants to use it in an
inline function, but misses a prototype (and the relabeling). As stopgap
for getting consistent defines of clock_gettime duplicate the prototype
here.
2015-12-21 13:28:39 +00:00
christos
b961e0da5d name the man page intel_old, so that we don't install it over the new
one depending on the build order.
2015-12-20 01:07:58 +00:00
joerg
8b6856307a strsep must be undefined first, certain glibc magic breaks a prototype
otherwise.
2015-12-19 19:28:06 +00:00
skrll
5df4dfd09b Update RPI firmware to version after the following commit
commit 224c75602b8bae1a9e942b4f1c7ed3aa8e0f0ec8
Author: popcornmix <popcornmix@gmail.com>
Date:   Tue Dec 8 14:48:57 2015 +0000
2015-12-19 12:34:06 +00:00
christos
a9b291295f Forgot to commit this 2015-12-19 01:19:45 +00:00
christos
75d08e5911 chars is part of the library now. 2015-12-18 14:33:54 +00:00
christos
755c0a523c make buffers for parsing functions const. 2015-12-18 14:30:41 +00:00
christos
96da8af05f more sources for compat. 2015-12-18 11:12:33 +00:00
christos
cc31744fc2 I am having the last_word: Print the full hostname. 2015-12-17 22:36:48 +00:00
christos
5c413d0ce9 merge conflicts. 2015-12-17 22:31:01 +00:00
christos
fec65c9897 import mdocml 1.13.3 2015-12-17 21:58:47 +00:00
christos
975da4a027 fix merge botches 2015-12-17 04:10:03 +00:00
christos
27ace8cc3e merge conflicts 2015-12-17 04:00:21 +00:00
christos
a3a3c0344b Import bind 9.10.3-P2 2015-12-17 03:21:49 +00:00
christos
952d11cd49 catch up with DIOCGPART -> DIOCGPARTINFO 2015-12-08 20:56:21 +00:00
macallan
b8ae390746 initial import of Device Tree Compiler and related tools 2015-12-04 12:30:05 +00:00
christos
4a6623896f fix the open error messages to include the right file and strerror 2015-12-04 01:43:58 +00:00
christos
0ba3ac345d CID 1341552: Fix NULL deref 2015-12-03 21:04:59 +00:00
christos
e0b573d1a4 CID 1341552: Fix NULL deref. 2015-12-03 21:04:06 +00:00
christos
b8bf2c7dc6 Don't bother calling log for values <= 1... XXX: should use ilog() instead.
Fixes vax.
2015-12-02 02:04:06 +00:00
roy
2d980baa58 Sync 2015-11-30 16:33:00 +00:00
he
4b2b748c50 As far as I (and my compiler) can tell, there's no need to cast
the arg to strncmp().
2015-11-30 10:37:25 +00:00
christos
28e12a3821 Fix > 1024 char lines in script. (Rin Okuyama) 2015-11-29 17:09:33 +00:00
pgoyette
82344b6ce9 When loading the module, if devsw_attach() fails, call dtrace_unload()
to undo the effects of dtrace_load().  And if dtrace_unload() fails,
panic (since we can't get the system back to its earlier stable state).

When unloading the module, call devsw_detach() first, to lock out any
new access.  Then call dtrace_unload().  If dgtrace_unload() fails,
reattach the devsw, and if that fails, panic.

Implements fixes described in PR kern/43032
2015-11-28 22:41:36 +00:00
christos
da825a2b9f PR/50484: Rin Okuyama: fix the script command of vi(1) 2015-11-28 13:20:02 +00:00
christos
d4ec6dff41 PR/50092: Rin Okuyama: Fix memory leaks in vi when resizing. 2015-11-25 20:25:20 +00:00
macallan
ec89d49df5 build EXA support 2015-11-25 18:02:08 +00:00
christos
ec8137f3d4 PR/50360: Thomas Klausner: MKREPRO fix 2015-11-25 01:08:34 +00:00
christos
e2f72a0028 Fix logic bug where __cpuid gets called when __get_cpuid_max() returns 0.
This happens when __level == 0, from libgcc/config/i386/cpuinfo.c#285.
This breaks early i486 CPUs which don't have cpuid
2015-11-22 20:47:42 +00:00
christos
4fe0054f39 Fix logic bug where __cpuid gets called when __get_cpuid_max() returns 0.
This happens when __level == 0, from libgcc/config/i386/cpuinfo.c#285.
This breaks early i486 CPUs which don't have cpuid
XXX: pullup-7
2015-11-22 20:47:05 +00:00
kamil
e1f3900163 +libpanel 2015-11-22 05:01:44 +00:00
tsutsui
4c7d10a0b1 Disable UIThrStubs.c, which is unnecessary on NetBSD.
This fixes xterm startup failure on NetBSD/m68k 7.0.
See PR/50386 for details.

Should be pulled up to netbsd-7 and netbsd-7-0.
2015-11-21 11:15:31 +00:00
christos
bc0d7f41c8 fix type 2015-11-20 23:43:52 +00:00