Commit Graph

228360 Commits

Author SHA1 Message Date
dholland
b7f1700a57 Revert previous; it doesn't work because all the lfs tools
promiscuously .PATH in each other's source files, and I haven't the
time or patience to deal with it tonight.
2014-07-13 02:44:21 +00:00
blymn
0241cad29d Remove bogus length check - SUSV2 says add(n)str wraps and performs
special character processing so we should not be trying to limit the
length to the screen edge.  This partially fixes PR 48827, the test case
works now.
2014-07-13 01:58:08 +00:00
dholland
d2a6847577 Remove leftover #if 0 code from before the libquota rework. 2014-07-13 01:46:04 +00:00
mlelstv
a80912bfb7 The vga driver now detaches wscons. 2014-07-13 01:17:15 +00:00
mlelstv
4eb98b4ba4 The vga driver now detaches wscons. 2014-07-13 01:02:20 +00:00
christos
0f5915b045 more BCONFIG_H dependencies. 2014-07-13 00:16:31 +00:00
nakayama
59061db534 Restore package names to PACKAGE_STRING. 2014-07-12 20:31:04 +00:00
alnsn
4c9cf960fe emit_xcall: check overflow by comparing X with (UINT32_MAX - pk->k), restore
the A register after checking that xcall succeeded.
2014-07-12 20:14:18 +00:00
nakayama
653203959c Use u_long to avoid negative value outputs. 2014-07-12 20:04:31 +00:00
spz
3dbf285424 update config.h to the new version and enable DHCPv6 2014-07-12 20:03:19 +00:00
dholland
ca11835cd5 G/C my_vpanic(). 2014-07-12 19:48:24 +00:00
nakayama
2122443dc8 Remove duplicated line. 2014-07-12 19:46:22 +00:00
dholland
6df0042d98 Remove pointless function indirection through panic_func(). It was
initialized to one thing, and then set to another right at the top of
main and never changed again.
2014-07-12 19:44:00 +00:00
nakayama
63bc5e6959 Include sparc_v8 library into sparc64 32-bit compat libc library. 2014-07-12 19:21:48 +00:00
nakayama
847b247653 Use save instruction to set up a local stack frame.
This fixes a segmentation fault caused by bash 4.3 on sparc64
kernels with 32-bit userland, bash uses _setjmp/_longjmp heavyly
via sigsetjmp/siglongjmp since 4.3.

For 32-bit compat library which is compiled with -mcpu=ultrasparc
option (and define __sparc_v9__), use a similar code to 64-bit
library.
2014-07-12 19:11:57 +00:00
alnsn
ea84cea2f2 Initialise status to avoid -Wuninitialized warning. 2014-07-12 16:52:57 +00:00
alnsn
d35700dd8f Some small changes: add missing error checks; move sjump initialisation away
from optimize(); +BJ_HINT_PKT, -BJ_HINT_IND; tweak comments.
2014-07-12 16:13:57 +00:00
dholland
0736ba101a Revert version 1.111 of sysinst/disks.c, which caused sysinst to
create lfs fstab entries with fsck disabled, and instead patch
fsck_lfs to exit successfully without doing anything when given the -p
(bootup preen) option. If you really want to do fsck_lfs -p, you can
do fsck_lfs -f -p to make it go.

This has been sitting in my todo queue since February 2010 and was
ok'd by the committer at the time. The original commit was based on
this post:
   http://mail-index.netbsd.org/tech-kern/2010/02/09/msg007306.html

and I remain unconvinced that it's the right thing, but we can at
least do it properly and not ship a sysinst with -7 that creates
permanently wrong fstab files.

Note that this may cause problems for anyone who's taken -p out of the
bootup fsck flags; but doing that is wrong, so don't.
2014-07-12 16:11:27 +00:00
agc
0f3913c801 Update the bignum implementation in netpgpverify, and sync all uses of it
+ radix conversion routines added
        + bitwise operations added
        + whitespace cleanups
2014-07-12 15:51:56 +00:00
dholland
5c51485edb Mark stray files obsolete (don't just remove them); noted by Paul Goyette.
(hi darrenr)
2014-07-12 15:42:56 +00:00
mbalmer
19d0b7c3a9 Add HCJ. About a dozen mountain tops where nuked to make place for the runway,
see http://cdn2.spiegel.de/images/image-723855-galleryV9-jjgv.jpg
2014-07-12 15:19:47 +00:00
darrenr
5446176ae4 PR kern/47665
For ICMP packets, use the "oicmpid" and "nicmpid" fields explicitly rather
than overloading those with "port" in them and expecting them to work.
2014-07-12 14:54:32 +00:00
darrenr
cccb715a0e Test n17_6 does not yet exist so remove unrequired files and test case 2014-07-12 14:37:12 +00:00
spz
c7bd963dad update the records for the dhcp import 2014-07-12 12:53:27 +00:00
hannken
f0a9c7e255 Prevent detaching an open device unless forced. 2014-07-12 12:13:01 +00:00
spz
816701e0a0 the new release wants libisc (and thus libisccfg) from bind 2014-07-12 12:11:22 +00:00
spz
3f51162691 merge and fixup 2014-07-12 12:09:37 +00:00
spz
2edf6f5762 import of dhcp 4.3.0.
Excerpts of the upstream RELNOTES:

The major "theme" for ISC DHCP 4.3.x was to update the suport for
DHCPv6 to include several of the features that have been available
for DHCPv4.  These include:

- Support the use of classes

- Support for on_commit, on_expiry and on_release statements

- Better logging of address assignments

- Support for using DHCPv6 relay options in expressions

This release also adds suppport for the standard DDNS as described in the
current RFCs as well as enhancing support for dynamically adding and removing
subclasses via OMAPI.

There are a number of DHCPv6 limitations and features missing in this
release, which will be addressed in the future:

- Only Solaris, Linux, FreeBSD, NetBSD, and OpenBSD are supported.

- DHCPv6 includes human-readable text in status code messages, in
  English.  A method to reconfigure or support other languages would
  be preferable.

- The "host-identifier" option is limited to a simple token.

- The client and server can only operate DHCPv4 or DHCPv6 at a time,
  not both.  To use both protocols simultaneously, two instances of the
  relevant daemon are required, one with the '-6' command line option.

			Changes since 4.3.0b1

- Tidy up receive packet processing.
  Thanks to Brad Plank of GTA for reporting the issue and suggesting
  a possible patch.
  [ISC-Bugs #34447]

			Changes since 4.3.0a1

- Modify the message displayed when a process hits a fatal error.
  The new message is much shorter and simply points to the README
  and our website for directions on bug submissions.
  [ISC-Bugs #24789]

- Handle an absent resolv.conf file better.
  [ISC-Bugs #35194]

			Changes since 4.2.5

- Address static analysis warnings.
  [ISC-Bugs #33510] [ISC-Bugs #33511]

- Silence benign static analysis warnings.
  [ISC-Bugs #33428]

- Add check for 64-bit package for atf.
  [ISC-Bugs #32206]

- Use newer auto* tool packages and turn on RFC_3542 support on Mac OS.
  [ISC-Bugs #26303]

- Remove a variable when it isn't being used due to #ifdefs to avoid
  a compiler warning on Solaris using GCC.
  [ISC-Bugs #33032]

- Add a check for too much whitespace in a config or lease file.
  Thanks to Paolo Pellegrino for finding the issue and a suggestion
  for the patch.
  [ISC-Bugs #33351]

- Fix several problems with using OMAPI to manipulate class and subclass
  objects.
  [ISC-Bugs #27452]

- Added a sleep call after killing the old client to allow time
  for the sockets to be cleaned.  This should allow the -r option
  to work more consistently.
  [ISC-Bugs #18175]

- Missing files for ISC DHCP Developer's Guide are now included in
  the release tarballs. To generate this documentation, please use
  make devel command in doc directory. [ISC-Bugs #32767]

- Update client script for use with openwrt.
  [ISC-Bugs #29843]

- Fix the socket handling for DHCPv6 clients to allow multiple instances
  of a client on a single machine to work properly.  Previously only
  one client would receive the packets.  Thanks to Jiri Popelka at Red Hat
  for the bug report and a potential patch.
  [ISC-Bugs #34784]

- Added support for gentle shutdown after signal is received.
  [ISC-Bugs #32692] [ISC-Bugs 34945]

- Enhance the DHCPv6 server logging to include the addresses that are assigned
  to the clients.
  [ISC-Bugs #26377]

- Fix an operation in the DDNS code to be a bitwise instead of logical or.
  [ISC-Bugs #35138]
2014-07-12 11:57:24 +00:00
njoly
684c8bf827 Use kproc2 to provide sensible informations for /proc/<pid>/stat. 2014-07-12 09:58:39 +00:00
njoly
5ad0cbf81d Allow fill_kproc2() to be used by more than sysctl. 2014-07-12 09:57:25 +00:00
mlelstv
a0d0c26c93 detach wscons when detaching console 2014-07-12 05:30:33 +00:00
mlelstv
6afb7d5190 don't enable IXANY. 2014-07-12 05:28:07 +00:00
mrg
45c10c8efc note about missing HAVE_GCC_VECTOR_EXTENSIONS (only used in test apps). 2014-07-12 04:32:59 +00:00
alnsn
1a6452789c Current wpa_supplicant version is 2.2, released 2014-06-04. 2014-07-11 22:33:03 +00:00
alnsn
b81423b783 Handle overflow in BPF_LD+BPF_IND for mbuf chains and make two minor changes:
move sljit_emit_return() to generate_insn_code() and use a different register
for checking errors after xcall.
2014-07-11 20:43:33 +00:00
justin
3620d3dbee Add a fiber based implementation of librumpuser in addition to the
default pthreads based version.

Discussed with pooka@
2014-07-11 20:26:31 +00:00
mrg
700eb93e95 add comments for un-done stuff. 2014-07-11 19:40:52 +00:00
mrg
925e6883dc add new xkb/symbols/eu for xkeyboard-config 2.12. 2014-07-11 19:19:16 +00:00
mrg
3b6b803068 update for xkeyboard-config 2.12. 2014-07-11 19:14:09 +00:00
christos
11ecaffd58 remove dup usage print (enh at google dot com):
arm just sent us (Android) this:
https://android-review.googlesource.com/#/c/100970/1
2014-07-11 16:30:45 +00:00
maxv
7fe6b3efb2 netbsd32 should depend on exec_elf32, since it will use exec_elf32's functions.
This fixes
	# modload compat_netbsd32
when exec_elf32 is not loaded.

ok njoly@
2014-07-11 16:22:49 +00:00
christos
cb7ffd4c7b move the flag setting higher to avoid KASSERT (dholland) 2014-07-11 16:17:29 +00:00
christos
699f31f847 Another infinite loop fix from OpenBSD from Tobias Stoeckmann:
You can download a "proof of concept" from my website:
http://www.stoeckmann.org/openbsd/poc.iso.

Take FAT1 and it'll infinitely loop.  This fix will complete
your previous commit.
2014-07-11 14:59:53 +00:00
msaitoh
ee058b427f Fix compile error. 2014-07-11 08:50:08 +00:00
msaitoh
93c479cffc Rename some WM_F_* flags to clarify. Renumbering flags. No functional change.
WM_F_EEPROM_HANDSHAKE -> WM_F_LOCK_EECD
 WM_F_EEPROM_SEMAPHORE -> WM_F_LOCK_SWSM
 WM_F_SWFW_SYNC        -> WM_F_LOCK_SWFW
 WM_F_SWFWHW_SYNC      -> WM_F_LOCK_EXTCNF
2014-07-11 08:34:27 +00:00
msaitoh
a3571c6478 Restore the WM_F_EEPROM_SEMAPHORE flags for 82575-I354 and 80003 cases.
The flag was removed in last commit.
2014-07-11 07:22:45 +00:00
msaitoh
b9ad644255 Fix some bugs realted to semaphore. This change fixes a problem which
was exposed in if_wm.c rev. 1.271. Tested by riastradh@.
- Clear the SMBI bit in SWSM register before accessing NVM and PHY in
  wm_attach(). Same as FreeBSD.
- Fix a bug that 82573 doesn't put the hardware semaphore. Same as
  FreeBSD r256200.
2014-07-11 02:23:44 +00:00
christos
e65c85be95 don't cast void * in c. 2014-07-10 21:13:52 +00:00
christos
698f62dfb8 Well, if you set FSFIXFAT, better do it... Try running fsck on:
$ newfs_msdos -C 1M ./poc.fs
    $ dd if=/dev/zero of=poc.fs conv=notrunc bs=1 count=1 seek=512

multiple times and see that it does not get fixed.
2014-07-10 21:06:20 +00:00
christos
ffdedd8608 Bring in a regression for the previous fix from OpenBSD 2014-07-10 21:00:52 +00:00