Commit Graph

211738 Commits

Author SHA1 Message Date
jdf
ebac77ef57 Various formatting changes:
* Remove superfluous Pp macro (fixes mandoc(1) warning)
 * use Xr macro instead of Nm where appropriate
 * escape punctuation (so Ic actually 'sees' it) (fixed mandoc(1) warning)
 * remove redundant argument to successive Nm macros
 * remove double spaces

Patch supplied by Bug Hunting.
2012-06-27 22:31:26 +00:00
wiz
f5a8bbde20 Bump date for previous. 2012-06-27 22:23:45 +00:00
jdf
dfc0f5280b Add manpage link entries for libmenu, reformat MAN entry.
On the way, sort the mi list for comp alphabetically.
2012-06-27 22:18:06 +00:00
riastradh
9a313cc58d Clean up #includes in progress(1).
Sort them, omit needless ones, and add omitted needful ones.

Omissions revealed by pilfering the code and trying to build it on
Mac OS X.  We ought to have a better way to reveal these omissions...
2012-06-27 22:07:36 +00:00
riastradh
28dbe22a81 Elaborate and clarify rules about #include order.
ok christos
2012-06-27 22:04:02 +00:00
rkujawa
de1cd7309d PCI memory space access is not buggy anymore. At least not as much as earlier. 2012-06-27 21:35:40 +00:00
wiz
db0ea5f9de Bump date for previous, remove trailing whitespace. 2012-06-27 20:30:52 +00:00
wiz
e85f85f6b0 Bump date for previous. 2012-06-27 20:29:38 +00:00
rkujawa
7f2c857092 Fix Mediator 1200 memory space support. Now it's good enough to drive a Voodoo 3. 2012-06-27 18:53:03 +00:00
sjg
7f9f018fd1 gcc 4.2 doesn't like externs inside functions 2012-06-27 17:22:58 +00:00
manu
d1056538cc Pass the FAF flag to handlers:
- setattr_ttl is updated to add a flag argument. Since it was not present in
  a previous release, we can change its API
- write2 is introduced, this is write with an extra flag for FAF.
- fsync already has the FAF information in a flag and needs no change
- for other operations, FAF is unconditional
2012-06-27 13:25:23 +00:00
cheusov
b6b59f4935 Add new action KAUTH_CRED_CHROOT for kauth(9)'s credential scope.
Reviewed and approved by elad@.
2012-06-27 12:28:28 +00:00
blymn
c915e1430c * Corrected menu drawing when O_ROWMAJOR is not set
* Corrected menu item neighbour calculation so it works when O_ROWMAJOR
  is set and unset.  This corrects item navigation which was previously
  broken when O_ROWMAJOR was not set.

This resolves lib/46620.
2012-06-27 11:53:36 +00:00
blymn
e50cb73fff Extraneous whitespace removal. 2012-06-27 11:39:14 +00:00
cheusov
87e5d7b5fb KNF fix. spaces vs. tab 2012-06-27 10:15:25 +00:00
cheusov
af4f78f198 KNF fix. space vs. tab 2012-06-27 10:06:55 +00:00
cheusov
06aa70f732 Fix a typo. s/seperate/separate/ 2012-06-27 10:02:02 +00:00
macallan
8c2ffd8ed8 don't spam the EDID block to the console unless options RADEONFB_DEBUG 2012-06-27 07:12:19 +00:00
jym
b6169c060b Retire XEN_COMPAT_030001 as detailed on port-xen@:
http://mail-index.netbsd.org/port-xen/2012/06/25/msg007431.html

The xen_p2m API comes next.

ok bouyer@.
Tested on i386 PAE and amd64 (Xen 3.3 on private test bed, and
Xen 3.4 for Amazon EC2).

FWIW, Amazon always reported:

hypervisor0 at mainbus0: Xen version 3.4.3-kaos_t1micro

multiple times for Europe and US West-1, so I guess they are now at
3.4 (32 and 64 bits).
2012-06-27 00:37:07 +00:00
drochner
6849db2f2b lua is at 5.2.1 upstream 2012-06-26 20:15:57 +00:00
drochner
e2695d54e7 mention new upstream OpenPAM release 2012-06-26 20:14:38 +00:00
drochner
c528a400b9 regen 2012-06-26 19:03:07 +00:00
drochner
15db4ef121 fix pci id for the Intel H61 LPC bridge to fit actual hardware (and
the chipset's documentation), and add some PCI-to-legacy bridges
found on recent boards
2012-06-26 19:00:59 +00:00
bouyer
931da08bf7 In some case, when an error is reported by the disk, the ahci controller
still reports a number of bytes transfered equal to bcount.
This then triggers a KASSERT in physio_biodone:
        if (done == todo)
		KASSERT(bp->b_error == 0);
Detect this case in wd(4) (so that the workaround works for other controllers
too if they have the same issue, or if the issue is with the drive)
and claim we didn't read/write anything.
2012-06-26 09:49:24 +00:00
macallan
cb9b109d3a do as sparc64 does and switch the default terminal type to wsvt25 2012-06-26 02:05:43 +00:00
macallan
6c4d0ceaeb switch to WSEMUL_VT100 to reduce differences with sparc64 and other wscons
and fb console using ports
WSEMUL_SUN is left in but commented out so whoever wants it back can have it
with minimal effort
2012-06-26 02:04:55 +00:00
abs
9e66e6d75e Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2012-06-25 22:32:43 +00:00
mlelstv
1e662e8f89 it's really 32bit 2012-06-25 20:39:54 +00:00
mlelstv
001d5cd77f Make digests work also on big endian machines. 2012-06-25 20:34:26 +00:00
mlelstv
58d2e3b383 report luns returns a 32bit list length. 2012-06-25 20:33:56 +00:00
jnemeth
98f55161d5 PR/46612 - Lloyd Parkes -- add a terminating newline to error messages 2012-06-25 20:23:43 +00:00
martin
ef2efed249 Adjust to rfc6056 rename to portalgo 2012-06-25 19:25:07 +00:00
abs
e14333f8c1 Some fun in trying to work out what was broken with gcc-4.1 to
trigger the following warning when gcc-4.5 was silent:
  nd6_rtr.c: In function 'nd6_ra_input':
  nd6_rtr.c:788: warning: 'ext' may be used uninitialized in this function
Eventually determined that it was not unreasonable for gcc-4.1 to
bleat in this case as there is a nasty 'goto insert' which could
indeed have resulted in an uninitialised variable use. Yay gcc 4.1.
2012-06-25 17:25:29 +00:00
abs
5659783547 Whatever "-Wl,--fatal-warnings" get-out-of-jail-free card gcc-4.5 gets,
give the same treatment to gcc-4.1.
2012-06-25 16:48:55 +00:00
abs
315046f892 Casting an uint32_t pointer to (long *) may have been acceptable
in the eighties but that time has long past. Minimally invasive
fix using a temporary long variable, so while we can still overflow
at least we're less broken.
2012-06-25 16:47:03 +00:00
christos
f20c6fee98 rename rfc6056.h to portalgo.h 2012-06-25 15:30:16 +00:00
christos
84f52095ad rename rfc6056 -> portalgo, requested by yamt 2012-06-25 15:28:38 +00:00
christos
f0966fe6ed moved to portalgo.h 2012-06-25 14:47:55 +00:00
reinoud
67d81114c7 Implement dummy `cpu_mcontext_validate' to make it compile again. This
function needs to be implemented in the target secton one day for extra
security.
2012-06-25 14:43:54 +00:00
jnemeth
55657a2741 PR/46601 - Jim Bernard -- add support for rc_directories 2012-06-25 07:22:45 +00:00
isaki
9cdd524924 Rewrite fpu_int().
Especially, remove the special treatment when |x| < 1
because it forgets to consider FPCR round mode.
See PR/46627 for the detail.  Thanks Y.Sugahara for advice.
2012-06-25 04:52:23 +00:00
riastradh
360ba4cb54 Omit outdated cryptographic claims as noted in PR 44160.
Interested readers can follow the references or read Wikipedia; this
is the wrong place to explain cryptographic hash functions and give
security advice.
2012-06-25 02:32:12 +00:00
jym
23a2531c0e Enable the map/unmap recursive mapping functions for all Xen ports for
save/restore.

For an unknown reason (to me) Xen refuses to update VM translations
when the entry is pointing back to itself (which is precisely
what our recursive VM model does). So enable the functions that take
care of this, which will avoid all sort of memory corruption upon restore
leading domU to trample upon itself.

Save/restore works again for amd64. The occasional domU frontend corruption is
still present, but is harmless to dom0. Now we have a working shell and
ddb inside domU, that helps debugging a tiny bit.

XXX pull-up to -6.
2012-06-24 18:31:52 +00:00
alnsn
2db61b9b19 Add missing $NetBSD$. 2012-06-24 17:28:09 +00:00
mlelstv
da501d22d0 Add more debugging, fix filehandle usage, login negotiation and session
shutdown.
Add #ifdef'd code to send negotiation parameters in hex instead of base64,
so it works against older Linux targets.
2012-06-24 17:01:35 +00:00
kardel
b01c74c514 PR/44647: commit fix proposed by Takahiro HAYASHI
verified to be working in -current and also helps NetBSD-6 BETA2
2012-06-24 16:24:34 +00:00
christos
3d365e7447 fix old style definitions; XXX: gcc should have picked them up but it did not. 2012-06-24 15:26:02 +00:00
jym
39b8d4bd9a Update comment: we stopped using xcall to sync PTP between CPUs.
pmap_kpm_sync_xcall => xen_kpm_sync
2012-06-24 13:56:10 +00:00
mlelstv
af909e1586 use first successful connection to a ISNS server 2012-06-24 13:08:38 +00:00
drochner
2c8471c744 stopgap fix for recursive locking on suspend/resume
(This can be simplified imo because interrupts should be disabled
at this point.)
2012-06-24 10:06:34 +00:00