Commit Graph

185288 Commits

Author SHA1 Message Date
joerg
2ec9715635 Do not use \." for comments, always use .\". Discussed with uwe@. 2009-11-12 00:43:52 +00:00
haad
dd6f356cec Reert change which was not meant to be comitted. 2009-11-11 23:59:36 +00:00
haad
14ad4d5b1e Build kernel modules with -mno-red-zone like kernel is build. This fixes
frequent panics in amd64 zfs module. This should also fix problem reported
by Nicolas Joly in:

http://mail-index.netbsd.org/port-amd64/2008/12/09/msg000646.html

Thanks to cube@ for his help with this.
2009-11-11 23:53:38 +00:00
joerg
1a57a79dcb Clear cksum flags before any further processing like ip_forward does.
Many drivers set the UDP/TCP v4 flags even for v6 traffic and if the
packet is encapsulated with gif, the IPv6 header would get corrupted by
ip_output. Patch suggested by bad@
2009-11-11 22:19:22 +00:00
tron
b99b4b6003 Revert most of revision 1.73:
We cannot user_from_uid(3) or group_from_gid(3) unless the system
also supports pwcache_userdb(3) and pwcache_groupdb(3). The build will
use the hosts password and user database otherwise. Switch back to the
old behaviour to only the native functions if they are all present.
This fixes cross builds under Mac OS X and FreeBSD.

Fix based on problem analysis provided by Akihiko Hayashi.
2009-11-11 21:53:46 +00:00
joerg
62bcbea33d Add the -iremap option to gcc(1) and cpp(1). This option specifies a
prefix transformation rule for __FILE__ and can be used to avoid
hard-coding the location of the source tree in the resulting binary.
2009-11-11 19:03:52 +00:00
cegger
e72026cf1f update comment: we use PMAP_NOCACHE for both pmap_enter and pmap_kenter_pa 2009-11-11 17:08:16 +00:00
macallan
2cd1fea625 Look for a Sun-like video mode specifier in output-device, if there is one
pass it on to igsfb. With this you can
setenv output-device=screen:r1280x1024x60
and igsfb will use that mode. The mode specified must be listed in
dev/videomode/modelines.
2009-11-11 17:05:11 +00:00
macallan
d0b2c36849 add modeseting support. Now if there's a mode string in igsfb_devconfig the
driver will try to use it if at all possible, otherwise fall back to the old
hardcoded 1024x768x60 mode.
2009-11-11 17:01:17 +00:00
macallan
7599b5aef4 add another convenience function - of_get_mode_string() to extract a Sun-like
video mode specifier from output-device
2009-11-11 16:56:52 +00:00
pooka
53e3c13474 set return value properly 2009-11-11 16:50:17 +00:00
pooka
9359f96adb support timeouts in tsleep 2009-11-11 16:47:50 +00:00
pooka
ee4c8e1012 Make rumpuser_cv_timedwait take two int64's instead timespec to
uncouple it from the timespec layout.  Also, change return value
to zero for "timeout didn't expire" and non-zero for "timeout
expired".  This decouples the interface from errno assignments.
2009-11-11 16:46:50 +00:00
tron
840a46601a Enable Stack Smash Protection (SSP) by default for NetBSD/amd64 and
NetBSD/i386 as previously discussed on the "port-amd64" and
"port-i386" mailing lists. No objections from the core team.

Thanks a lot to Tobias Nygren for helping me with the benchmarking
and to Christos Zoulas for fixing SSP problems in cgd(4).
2009-11-11 16:35:45 +00:00
skrll
1070b74721 Use the new flags argument to pmap_kenter_pa for PMAP_NOCACHE. 2009-11-11 16:08:31 +00:00
pooka
db8264b1d5 be a little more verbose in DIAGNOSTIC printf 2009-11-11 15:49:05 +00:00
plunky
d6f8e00fe6 update libevent version information 2009-11-11 15:35:57 +00:00
he
c90853c4da Make this actually build, as part of the sgimips GENERIC32_IP2x kernel. 2009-11-11 15:34:37 +00:00
rmind
ad4f42d499 workqueue_finiqueue: remove unused variable. 2009-11-11 14:54:40 +00:00
he
f128f0ca99 Pass a 0 as flag value to pmap_kenter_pa(). 2009-11-11 14:20:01 +00:00
skrll
b9fe4e7d17 Add RCSID 2009-11-11 14:15:41 +00:00
pooka
303e90e2c8 Give this a makefile for easy rebuild of all the components when
the kernel ABI changes.
2009-11-11 13:54:54 +00:00
yamt
be3e4126f3 x86_get_sdbase: copyout to a correct address. 2009-11-11 13:38:53 +00:00
skrll
12002be5ee Update / improve the snprintb formats. 2009-11-11 12:57:52 +00:00
skrll
9bedfc746a Remove unnecessary and incorrect STRONG_ALIAS. 2009-11-11 11:25:52 +00:00
rmind
7c653ba04c Simplify tmpfs_itimes() and use vfs_timestamp(). Also, replace unnecessary
kmem_zalloc()s with kmem_alloc()s.
2009-11-11 09:59:41 +00:00
rmind
1283950019 - selcommon/pollcommon: drop redundant l argument.
- Use cached curlwp->l_fd, instead of p->p_fd.
- Inline selscan/pollscan.
2009-11-11 09:48:50 +00:00
rmind
e6f025f1da Add a small comment on buffer cache locking, fix mark letter b_objlock. 2009-11-11 09:15:42 +00:00
martti
3b9b210da8 I'm no longer going to work on IPF as I'm now using PF on all my hosts
(because NAT works much better for me in PF)...
2009-11-11 09:11:26 +00:00
rmind
66d36229df Sync declarations with reality, bump date. 2009-11-11 08:43:18 +00:00
rmind
484f70316c G/C unused breada() and bdirty(). 2009-11-11 07:22:33 +00:00
kiyohara
5aa041ef68 Include <dev/acpi/acpica.h> instead of <external/intel-public/acpica/ ... >.
Thanks cegger@
2009-11-11 05:19:34 +00:00
macallan
102f601cf9 mention xf86-video-igs 2009-11-10 23:16:20 +00:00
macallan
ded0d8dbcb add entries for the igs driver 2009-11-10 23:14:32 +00:00
macallan
ec3c6449e4 build the igs driver on shark 2009-11-10 23:14:04 +00:00
macallan
509cdfee59 add a mmap() method so the xf86-video-igs driver can map the aperture and
IO space in a sane way.
2009-11-10 22:24:57 +00:00
macallan
293ac096d1 add support for an optional machine-dependent mmap() method, so the bus
backend can do whatever voodoo necessary to the aperture, IO space etc.
Mainly for shark, to get around the weird ARM bus_space.
2009-11-10 22:23:22 +00:00
macallan
8068174863 reachover for the igs driver 2009-11-10 21:44:11 +00:00
macallan
e58b11d12a add igs driver for Xorg 2009-11-10 21:41:31 +00:00
christos
f026e97901 avoid doing extra work by just zeroing/printing real blocksize. 2009-11-10 20:39:36 +00:00
tron
34ce7b691c "cgd.c" doesn't use variable size stack allocations anymore. 2009-11-10 20:24:50 +00:00
christos
6be7b72df0 add a missing c. 2009-11-10 20:24:30 +00:00
christos
189751127b avoid variable array stack allocation by enforcing and allocating always the
maximum.
2009-11-10 20:05:50 +00:00
wiz
193ee60c7d Correct usage for parentheses, and mark up "expression" in more places.
From Bug Hunting in PR 42286.
2009-11-10 18:19:46 +00:00
he
116e5d88b0 Add a zero argument to pmap_kenter_pa() invocations.
According to cegger@ this is the right thing to do for the moment.
2009-11-10 17:37:15 +00:00
pooka
886a3cee40 init uvm readahead 2009-11-10 17:02:36 +00:00
pooka
054e6b6e93 Code which uses pages fetched by the pager needs PGO_SYNCIO for
obvious reasons.
2009-11-10 16:55:12 +00:00
tron
119d5d24b7 Backout the last two revisions because the cause panic on LOCKDEBUG
kernels. Problem reported by David Young.
2009-11-10 16:49:53 +00:00
tnozaki
a316eb20e2 update Unicode 5.2.0 2009-11-10 15:06:06 +00:00
skrll
25edd46c0c Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.
2009-11-10 14:47:52 +00:00