Commit Graph

232206 Commits

Author SHA1 Message Date
christos
9a6d622ac9 - Explain what's going on a bit better
- Fix a conditional
- Don't include bsd.lib.mk if we are not building libraries
  (otherwise we end up with an empty library name that installed
   bogus library files lib.a etc.)
2014-12-19 05:03:30 +00:00
jklos
0a59efa4ee Add audio support for VAXstation VLC, 60 and 90 machines. Originally rom
Blaz Antonic and ported from OpenBSD by Björn Johannesso. Tested on VLC
and 4000/60.
2014-12-19 04:44:13 +00:00
nonaka
729215c5f9 do page recolor. 2014-12-19 04:31:41 +00:00
nonaka
1a8ba8658c Initialize pmap->pm_active and pmap->pm_onproc.
Avoid "panic: kernel diagnostic assertion "!pmap_tlb_intersecting_onproc_p(pm, ti)" failed: file "/usr/src/sys/uvm/pmap/pmap_tlb.c", line 762".
2014-12-19 04:25:52 +00:00
nonaka
3866eeec05 Do probe cpu cache on !cpu0.
Avoid "panic: kernel diagnostic assertion "line_size > 0" failed: file "/usr/src/sys/arch/powerpc/booke/booke_cache.c", line 90".
2014-12-19 04:15:36 +00:00
nonaka
90d29f4594 Increase timeout for the hatching to complete.
> cpu1: hatch successful (24321 spins, timebase adjusted by -940718014)
2014-12-19 04:07:13 +00:00
nonaka
e1001c1600 Pass ci->ci_cpuid as irq of IST_IPI.
Avoid "panic: e500_intr_cpu_hatch: failed to establish ipi interrupt!" on cpu1.
2014-12-19 04:00:35 +00:00
nonaka
d88bc795d4 Added missing mutex_exit() at error path. 2014-12-19 03:51:38 +00:00
nonaka
5e72dd2c82 Set correct stack pointer.
Please handle %r0 with care.
2014-12-19 03:46:23 +00:00
jklos
5ebf3ef3c3 Add small fix from Björn Johannessonwhich makes framebuffer woth with X11. 2014-12-18 22:46:53 +00:00
roy
cd51d52b6d Remove redundant configuration snippet for dhclient and rtsol as dhcpcd will happily supply both needs. 2014-12-18 17:10:42 +00:00
mrg
5de6651586 fix build problem with radeon_*.c files. 2014-12-18 10:08:52 +00:00
martin
a205742e34 kms_swrast is a symlink to the gallium.so now and doesn't get a debug file
installed - maybe that is a bug in the gallium reach over makefile, but
for now remove it from sets, so the build can work.
2014-12-18 10:02:17 +00:00
mrg
9dbcad6d0b update sets and reachover makefiles for mesa 10.3.5. 2014-12-18 06:24:27 +00:00
mrg
c0fe630cea switch PPC to GCC 4.8. 2014-12-18 02:28:34 +00:00
roy
3745a3382d Note import of dhcpcd-6.6.6 2014-12-17 20:53:08 +00:00
roy
a850849c48 Sync 2014-12-17 20:50:08 +00:00
macallan
5e16b37e90 add pm2fb 2014-12-17 16:53:43 +00:00
agc
0d2bebdbf2 Fix bug report from Jared - actually print the key when exporting 2014-12-17 16:50:52 +00:00
macallan
082427dbb4 - add support for Permedia 2
- make this work on alpha
from Naruaki Etomi
2014-12-17 16:50:08 +00:00
hikaru
34a620a0e0 Regen. 2014-12-17 13:23:59 +00:00
hikaru
6354b4b837 Add QuickAssist Virtual Function Device IDs 2014-12-17 13:21:21 +00:00
roy
62cbe5902e Note that RTM_CHANGE can also change the gateway 2014-12-17 10:56:09 +00:00
jnemeth
51bdb4782e regen 2014-12-17 10:02:46 +00:00
jnemeth
5073c90a41 PR/49484 - Sprow -- some additional SMSC devices 2014-12-17 10:02:01 +00:00
ozaki-r
ae4ecace09 Replace if_attach of if_tap with if_initialize and if_register 2014-12-17 09:41:30 +00:00
skrll
a431b2e388 Wrap a long line. 2014-12-17 06:54:48 +00:00
msaitoh
95c5c3200c - Round off some bus clock values.
- Add 333.33MHz for Pentium 4.
2014-12-17 03:39:02 +00:00
pooka
aa91aeb3c8 include correct header for "last minute just-in-case defensive addition
that's too trivial to check"
2014-12-17 01:49:08 +00:00
macallan
c6ec2ef82b first draft of a driver for SMSI,mgx
More or less an Alliance Semiconductors ProMotion AT24 with some PCI-SBus
glue and 4MB framebuffer. No acceleration yet, just enough wsdisplay/vcons
setup and DAC programming to be functional.
2014-12-16 21:01:34 +00:00
pooka
082d249a16 Allow for arbitrary MI scheduler implementations.
A concrete result is enabling unpatched libpthread to run on the
rumprun stacks (e.g. Xen and bare metal) with a non-NetBSD scheduler.
Those schedulers hook into the existing _lwp_frobnitz() NetBSD syscall
interfaces (well, "syscall" interfaces in that scenario ;)

More specifically about the change itself:

1) instead of calling _lwp_makecontext() followed by _lwp_create()
   and passing the entry point in ucontext_t (MD) through the calls, roll
   the calls into pthread__makelwp() and allow alternate implementations
   for that MI interface.

2) allow compile-time overriding of __lwp_gettcb_fast() or
   __lwp_getprivate_fast, which are inline and leak MD scheduler/thread
   details into libpthread


Additionally, two small nits:

I)  define LIB=pthread before including mk.conf so that it's possible
    to test for LIB==pthread in mk.conf

II) make it possible to leave out pthread_cancelstub.c.  This is required
    by the current implementation of rumprun-posix (i.e. rumprun on
    POSIX hosts) due to symbol collisions.  It needs to be fixed properly
    some day, but for now allows an almost-correct libpthread to run.
    I am sure @justin will be happy to explain the details ;)


no change to NetBSD
tested: anita+atf
2014-12-16 20:05:54 +00:00
christos
2a8765d5a2 Fix various security related issues:
0001. Do not recognize paths, mail folders, and pipes in mail addresses
    by default.  That avoids a direct command injection with syntactically
    valid email addresses starting with |.

    Such addresses can be specified both on the command line, the mail
    headers (with -t) or in address lines copied over from previous
    while replying.

    This was assigned CVE-2014-7844 for some versions of BSD mailx.  It is
    documented behavior for Heirloom mailx, and was mentioned in an old
    technical report about BSD mailx (which does not usually make its way
    into operating system installations).  The patch switches off this
    processing and updates the documentation.

Added expandaddr option to explicitly enable this behavior.

    0002. When invoking sendmail, prevent option processing for email
    address arguments.  This prevents changing e.g. the Postfix
    configuration file in unexpected ways.  This behavior was documented for
    BSD mailx (sort of), but not for Heirloom mailx.  We did not assign a
    CVE to this because it is more of a missing feature, and code invoking
    mailx needs adjustment in the caller as well.

Fixed.

    0003. Make wordexp support mandatory.  (No functional change.)

Fixed (replaced explicit shell pipe implementation).

    0004. Prevent command execution in the expand function, which is IMHO
    unexpected.  (Not really required with patch 1, and there is still
    information disclosure/DoS potential if this expansion occurs.)  This is
    a historic vulnerability already fixed in the Debian package,
    retroactively assigned CVE-2004-2771:

Fixed (as part of the pipe replacement with wordexp).
2014-12-16 19:30:24 +00:00
pooka
68efe5aa2a With glibc on ARM kthread_exit() aborts because pthread_exit() fails
to unwind the stack.  Add a temporary workaround where we simply don't
allow the thread to exit (a kernel thread exit is a relatively uncommon
event in a rump kernel anyway).
2014-12-16 17:00:17 +00:00
pooka
401c4cd769 workaround bin/49481 2014-12-16 15:33:22 +00:00
msaitoh
5a1f437d33 Add "int showclass" argument to pci_devinfo(). The API was changed 10 years
ago.
2014-12-16 13:38:36 +00:00
nat
a662d660ff Clear status of BCM2835_STIMER_M3 only as timer comparison reg 0 and 2
are used by the VideoCore on Raspberry Pi.  This fixes audio playback.

Addresses PR 48805.

This commit was approved by skrll@
2014-12-16 13:09:33 +00:00
roy
24c1397228 Report route additions/changes/deletions for cached neighbours to userland. 2014-12-16 11:42:27 +00:00
jklos
7e580c6e29 Adds VAXstation VLC and 4000/60 framebuffer support. From Blaz Antonic
and updated by BjörnJohannesson.
2014-12-16 11:34:17 +00:00
jklos
6c82a2cbc1 Fix leds.h include. 2014-12-16 11:23:11 +00:00
mrg
5b7bfa533c switch over to the separate glu sources. 2014-12-16 06:10:12 +00:00
mrg
e72a1182e8 add X11SRCDIR entries for the new separated mesa components. 2014-12-16 06:04:10 +00:00
jnemeth
a0380aebe4 add powerpc variants to the list of potentially obsolete modules to check 2014-12-16 05:30:40 +00:00
msaitoh
d23838029a Fix a bug that an unknown command is printed as "(null)".
Reported by Fredrik Pettai.
2014-12-16 04:07:40 +00:00
christos
2ef06139f8 - Don't allow bypassing file size limits with crontabs from stdin.
- Allow signals while reading the user crontab file; doing "crontab -"
  does not let you abort otherwise, and doing ^Z, kill %1 leaves turds
  in /var/cron/tabs
2014-12-15 16:45:26 +00:00
uebayasi
d8aa702d35 Revert debug code. Simplify. 2014-12-15 15:49:25 +00:00
uebayasi
fc1f7728b8 config(1): Fix build of old trees (bin/49389) (take 2)
Look into sys/conf/Makefile.kern.inc to check if "build_kernel" .USE target
is defined.  If not (== old source trees), generate one on the fly.
2014-12-15 15:41:18 +00:00
christos
f95c68cfed Don't hard code crap we have perfectly good constants for. 2014-12-15 13:50:10 +00:00
christos
03a0e9092a there is no ibcs2 in amd64 [yet?] 2014-12-15 13:48:51 +00:00
skrll
6948cee7e0 Allow i386 binary debugging on amd64 hosts. 2014-12-15 13:43:24 +00:00
msaitoh
1f3e38b73f Add DH89xxC[CL] LPC devices. 2014-12-15 13:29:42 +00:00