Commit Graph

197752 Commits

Author SHA1 Message Date
matt
e13c032f64 When an OEA kernel is configured for multiple MMU types, use the new
powerpc fixup mechanism to bind the kernel to a particular MMU.  This
avoids an indirect call for every pmap call.
2011-02-12 18:23:09 +00:00
christos
e8a328b2a2 PR/44070: Avoid zero divide in modulo operations. 2011-02-12 18:14:21 +00:00
bouyer
c6bd32e710 Test the right fd after rump_sys_open(). 2011-02-12 18:13:46 +00:00
jmcneill
02ad07d4f9 Fix mdnsd "ERROR failed to get errsd via SCM_RIGHTS" problem. mdnsd +
nsswitch.conf "multicast_dns" works for me now on amd64.
2011-02-12 17:21:38 +00:00
phx
1f91c03368 Fixed NULL-pointer dereferencing when a mode-callback is not defined. 2011-02-12 17:15:27 +00:00
tsutsui
5d7f465d18 - make local functions static
- some KNF
2011-02-12 16:40:29 +00:00
tsutsui
a2c185b791 Fix one more porting botch inside #ifdef WSDISPLAY_COMPAT_RAWKBD. 2011-02-12 16:37:32 +00:00
tsutsui
d04d580fa0 Make sure to include "opt_wsdisplay_compat.h" for WSDISPLAY_COMPAT_RAWKBD. 2011-02-12 16:36:37 +00:00
matt
a5e30bea72 Put RCSIDs in section .ident. (use .pushsection/.popsection) 2011-02-12 16:31:32 +00:00
matt
a636cca8c6 Use .pushsection/.popsection for __KERNEL_RCSID/__KERNEL_COPYRIGHT.
Add an explicit .text to linux_sigcode.s
2011-02-12 16:30:42 +00:00
tsutsui
d19119aabd Make this compile properly with options WSDISPLAY_COMPAT_RAWKBD. 2011-02-12 16:30:22 +00:00
wiz
17646a9411 Various formatting fixes and a typo or two. 2011-02-12 16:08:18 +00:00
wiz
35a4803959 Remove trailing whitespace and superfluous Pp before new sections.
Use Nm instead of Xr'ing itself.
2011-02-12 15:58:03 +00:00
tsutsui
d380e65df3 Pull Apollo Domain keyboard and mouse support from OpenBSD.
Untested (no hardware), but no bad sideeffect on 425t without Domain keyboard.

This is the last portion of "new hp300 kernel features" submitted in
PR port-hp300/3528 back in 1997, and I think finally we can close it.
2011-02-12 15:49:01 +00:00
jmcneill
716271120b build hdafg_dd.c 2011-02-12 15:15:56 +00:00
jmcneill
9f85a3e3ee sync with bsd-hdaudio r15:
- fix an off-by-one in block size calculation
 - add register definitions from HDA034-A2, HDA035-A, HDA036-A
 - rename hdaudio_afg_* symbols to hdafg_*
 - add experimental HDMI and DisplayPort support code (needs help from DRM)
 - don't poll the RIRB unless cold
 - add support for unsolicited messages
 - 'hdaudioctl graph' works again
 - print each assoc's widget tree when boot -x
2011-02-12 15:15:34 +00:00
jmcneill
28ad83d2d7 rename hdaudio_afg.c to hdafg.c 2011-02-12 15:01:00 +00:00
jmcneill
18b8e65603 wsdisplay isn't module friendly so don't add genfb support to the kmod for now 2011-02-12 14:49:54 +00:00
jmcneill
50ba38fe0a need uvm_pmap.h for pmap_mmap_flags definition 2011-02-12 14:45:31 +00:00
christos
1fca038b42 remove NULL check, can't happen. 2011-02-12 14:24:18 +00:00
pooka
e43200f113 Add test case from PR lib/44552 by Alexander Nasonov. I also lobbed
in a test for select(0, NULL, NULL, NULL, &tv) in there.
2011-02-12 10:28:08 +00:00
pooka
b981a177b2 Fix select() if no fds are set.
patch from Alexander Nasonov, PR lib/44552
2011-02-12 10:25:46 +00:00
tsutsui
638059b337 Pull basic SGC bus attachment from OpenBSD to test devices.
Disabled by default since there is no SGC drivers yet.
2011-02-12 05:15:39 +00:00
tsutsui
64fee8d971 Bump version for 362 and 382 framebuffer support. 2011-02-12 05:09:15 +00:00
tsutsui
94f17fd857 Add dumb framebuffer (no acceleration, no colormap) support
for HP362 and HP382.

Tested on A1473-69510 (HP362 VGA-res) and A1474-69511 (HP382 mid-res).
2011-02-12 05:08:40 +00:00
tsutsui
8cf6d1b4d0 Umm, fix typo. 2011-02-12 04:52:28 +00:00
jmcneill
8433f79cf6 add /usr/pkg/lib/X11/fonts to font directory list 2011-02-12 04:49:19 +00:00
tsutsui
5b1afbb01e Use __func__ to print (correct) function names. 2011-02-12 03:43:50 +00:00
nisimura
4ac8cbf6c5 add Thecus N1200 NAS information. It looks a fairly close sibling
of Freescale MPC8349mITX eval featuring I2C controlled satellite MCU.
2011-02-12 03:25:37 +00:00
matt
ccd44165c1 Add support for the IBM750GX (from Bob Lee). 2011-02-12 01:02:12 +00:00
jym
96293e60de BOOTMODEL disappeared when CD ISOs switched from ramdisk to CD-ROM as
root file system 2 years ago.

CMD sed + MTREE is turned into COPY (as does amd64).
2011-02-11 23:56:17 +00:00
christos
13b2862bfd Tell the groff and friends about libsaslc(3).
Sort and fix whitespace on mdoc.local.
Add libisns to doc2html.
2011-02-11 23:47:49 +00:00
christos
19c14409b9 Changes from Anon Ymous:
Make this library work.
- several API changes (see the manpage)
- take care to match the spec (hopefully)
- deal with comma delimited lists more systematically
- addition of the DIGEST-MD5 security layer
- syslog messages including debugging messages
- many coding simplifications, changes, rewrites, and additions (i.e.,
  stuff I can't recall at the moment)
- rewrite the manpage

The API changes have been heavily influenced by hooking this up to
postfix(1).

The ANONYMOUS, LOGIN, PLAIN, CRAM-MD5, DIGEST-MD5, and GSSAPI
authentication mechanisms have been tested and shown to work for
authentication with a postfix(1) server using the cyrus-sasl library.
(A postfix(1) libsaslc(3) client wrapper was used for the testing and
will be committed separately.)

The EXTERNAL authentication mechanism should work (it is pretty
simple), but it has not been tested with any servers.

The security layers of DIGEST-MD5 and GSSAPI have also not been tested
with any servers.  Do any SMTP servers really support these security
layers?  Postfix with cyrus-sasl does not, either as a client or
server, even though the cyrus-sasl library has support for the layers.

The new DIGEST-MD5 security layer encode/decode routines have been
tested against themselves (not terribly useful), but nothing else.  As
they use the openssl EVP_* routines (which aren't well documented) to
do the cryptography, the "auth-conf" layer may or may not actually
match the rfc2831 standard.  The "auth-int" layer is much more likely
to be in compliance.

Note: I have left support for a version of AES in the DIGEST-MD5 code
even though it is not part of rfc2831 (May 2000).  This flavor of AES
was in a later draft (June 2003) that was included in the cyrus-sasl
distribution, but changed to a different flavor of AES in subsequent
drafts (and DES disappeared).  AFAIKT, none of those drafts have been
accepted; the last I could find expired in Sept 2007.  rfc2831 is
still listed as standards track.  The AES support is very minor (some
table entries and a few lines of code to construct the IV) and I was
asked to leave it for now.

Hopefully there are not too many bugs, memory leaks, or
spelling/grammar errors.  My apologies in advance.

BTW, if you would prefer to use cyrus-sasl, install it (e.g., from
pkgsrc), and then rebuild postfix with HAVE_CYRUS_SASL defined.
2011-02-11 23:44:42 +00:00
jmcneill
26d15d7df2 add bus_space_mmap support for BUS_SPACE_MAP_PREFETCHABLE, ok matt@ 2011-02-11 23:08:38 +00:00
jmcneill
ee6551845f add optional MD pmap_mmap_flags macro for passing flags between cdev_mmap
and pmap_enter, ok matt@
2011-02-11 23:05:55 +00:00
drochner
7d0822f82d invalidate the secpolicy cache bin the PCB before destroying, so that
the refcount in the (global) policies gets decremented
(This apparently was missed when the policy cache code was copied
over from KAME IPSEC.)
From Wolfgang Stukenbrock per PR kern/44410, just fixed differently
to avoid unecessary differences to KAME.
2011-02-11 17:53:35 +00:00
pooka
902ef4c559 +tp 2011-02-11 15:38:55 +00:00
pooka
f9f796a4cf add test for fix in rev 1.36 of librumphijack/hijack.c 2011-02-11 15:38:14 +00:00
pooka
84d55c436c play the important typecast game 2011-02-11 14:02:12 +00:00
pooka
bec0b44f57 Use sshd's pidfile instead of $! and wait for the pidfile to appear.
This plugs a race condition where sshd did not have a chance to
open a sucket before we attempted to connect to it.
2011-02-11 13:19:46 +00:00
pooka
7f4c3562b7 ssh mostly ignores the return value of select(), so if the timeout
expired it would assume that all input set descriptors had activity.

In case we get rv == 0 from the poll backend, zero out the fd sets
to signal that in fact no descriptors have activity.

Before this commit ssh was "jittery" when run through a rump tcp/ip
stack (interactive sessions kept blocking on stdin and you had to
"peddle" the connection).  Now it works smoothly ... or at least
smoothly enough so that this commit could be done through a rump
tcp/ip stack:
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     ssh        125    0 tcp    localhost.65517       cvs.netbsd.org.22
2011-02-11 12:46:41 +00:00
phx
0afe193f6d Sorted out NH230 based bords. Added NH230 IRQ mapping.
LevelOne FNS-5000B seems identical to QNAP TS-201.
2011-02-11 12:26:04 +00:00
tteras
093488593b From Mats E Andersson <debian@gisladisker.se>: Fix fprintf format specifier
usage from previous patch.
2011-02-11 10:07:19 +00:00
yamt
0741257326 puffs_msg_wait: check PARKFLAG_HASERROR before PARKFLAG_CALL. PR/44240. 2011-02-11 09:15:45 +00:00
matt
2575f76fd8 Add compat entries for libdevmapper, libdm, and liblzf 2011-02-11 06:54:18 +00:00
matt
0bfa9193d1 Add compat entries for libdevmapper and liblzf 2011-02-11 06:50:13 +00:00
matt
df16334078 Add missing MKDEBUG support 2011-02-11 06:38:39 +00:00
matt
accc87635b Use LIBDPLIBS 2011-02-11 06:35:26 +00:00
jmcneill
389873dd65 attach drm hw drivers to 'drm' not 'vga' 2011-02-11 01:59:56 +00:00
jmcneill
65c6f254b0 Make DRM work with genfb again. 2011-02-11 01:13:02 +00:00