Commit Graph

178570 Commits

Author SHA1 Message Date
cegger 05d55db82b mimic fix from nfe(4):
when bus_dmamap_create fails, then the map pointer is undefined.
age_dma_free() assumes, the map pointer is NULL. Make the assumption
always true by setting the map pointer to NULL in bus_dmamap_create()
error path in order to prevent age_dma_free() to call bus_dmamap_destroy()
on an invalid map.
2009-03-03 23:28:44 +00:00
christos ca1ab1c9a6 2 more missed debuglibs. 2009-03-03 22:41:47 +00:00
cegger 4822727b65 make multicast working.
Diff from OpenBSD's if_age.c rev. 1.2.
2009-03-03 22:26:41 +00:00
rmind 4f1720c349 lwp_create: fix the locking bugs on affinity ingerition path (mea culpa).
pset_assign: traverse the list of LWPs safely.
sched_setaffinity: free cpuset (unused path) outside the lock.

Reviewed (with feedback) by <ad>.
2009-03-03 21:55:06 +00:00
macallan 74c35b5de8 Comment out some register initialization which the firmware should have taken
care of anyway. Apparently doing this here disrupts newport's blitter
operations and causes a deadlock.
2009-03-03 19:45:55 +00:00
bouyer d0ac537904 Fix rnd(4) support for Xen3 xennet
Add rnd(4) support to Xen3 xbd
Should fix port-xen/40739.
2009-03-03 19:04:41 +00:00
nonaka 674f8b31d6 do WSMOUSEIO_SETVERSION when WSMOUSEIO_SETVERSION is defined. 2009-03-03 18:43:15 +00:00
nonaka 53eee523f0 use pmf(9) instead of powerhook_*. 2009-03-03 18:42:19 +00:00
explorer c29ff9b310 a better method to truncate at // marks 2009-03-03 16:22:33 +00:00
explorer 31c448a301 Check for NULL return from strdup() 2009-03-03 15:42:43 +00:00
wiz 9a3995e433 Remove weird backslash that somehow must have crept in.
Found by joerg and mdocml.
2009-03-03 15:11:29 +00:00
explorer 7c353a46b6 Ignore the magic // commands in iconv_open(). This was discussed on current-users about a month ago, and ignoring the options was the best suggestion. 2009-03-03 14:39:06 +00:00
nonaka 26e1684598 fix make release. 2009-03-03 09:20:55 +00:00
nonaka 51d7b545e8 fix filename. 2009-03-03 08:02:41 +00:00
wiz 5d5e9aca03 Bump date for previous. 2009-03-03 07:37:48 +00:00
mrg dcd94c7684 enable FXPF_EXT_RFA the same way the cardbus frontend does. 2009-03-03 06:06:40 +00:00
mrg 826af0626f don't enable speedstep on systems with intel 82855GM host bridges. 2009-03-03 06:05:28 +00:00
mrg bcc593b98f put xkbcomp output into /var/db/xkb by default, a place that (now) exists 2009-03-03 06:01:56 +00:00
bad adb98feec9 Only add the ZZ capability for termcap entries that are larger than 1023
bytes.

This fixes the problem that enabling the titeInhibit Xresource of xterm has
no effect, because xterm exports a TERMCAP string without ti/te sequences
but doesn't remove the ZZ capability because it doesn't know about it and
termcap(3) ignores the stringe because of the ZZ.

Discussed with and OK'ed by blymn@.
2009-03-02 22:46:21 +00:00
joerg bae4fdf17e Import pkg_install-20090302:
- plug some file descriptor leaks
- add pkg_info -r
2009-03-02 22:31:13 +00:00
ad dd1969c253 PR kern/40730 any user can crash the system with KERN_SA
Disable SA. It can be re-enabled with sysctl -w kern.no_sa_support=0.
2009-03-02 22:11:28 +00:00
pgoyette 6d1c35419f Remove garbage line that prevents 'build.sh release' from working. The
line contains only a single character 'P' and there is no such file in
the $DESTDIR
2009-03-02 21:32:38 +00:00
ad 822f68cc07 If DEBUG is enabled, drop kpreempt_pri to zero. It means that every
wakeup will cause a kernel preemption, simulating massive concurrency.

Proposed on tech-kern@.
2009-03-02 21:17:29 +00:00
snj 5a51ec05b3 Note that mount(2) and unmount(2) now use kauth(9). 2009-03-02 21:06:09 +00:00
christos 7c8a9296cc Don't produce type mismatch warnings if one side of ?: is "[qual] void *"
and the other side is "[qual] pointer".
2009-03-02 20:53:10 +00:00
rmind 4bd0e7cebc fd_copy: fix off-by-one bug in a race condition path and assert.
Should fix PR/40625.  OK by <ad>.
2009-03-02 19:28:08 +00:00
christos 0283f9fff8 fix debuglib mess! 2009-03-02 19:22:15 +00:00
christos a24ff27d26 more missing debuglibs. 2009-03-02 18:41:00 +00:00
tsutsui f592533590 - add a sanity check for e2fs_inode_size in readsb()
- use EXT2_DINODE_SIZE() rather than sizeof(struct ext2fs_dinode) or
  struct ext2fs_dinode array/pointer to see e2fs_ipb and inode offsets
2009-03-02 11:31:59 +00:00
tsutsui 14c85750c6 Use inodesize to get offset of inode in one more place. 2009-03-02 10:57:03 +00:00
tsutsui 48c2d0ee71 Fix botched logic in inodesize check. 2009-03-02 10:38:13 +00:00
tsutsui 82127a2dd2 Use EXT2_DINODE_SIZE() to get offset of inode, not struct ext2fs_dinode array. 2009-03-02 10:25:00 +00:00
nonaka 94654c3de9 Add missing config_pending_incr()/config_pending_incr(). 2009-03-02 10:17:58 +00:00
dholland 6b7874a086 Move HISTORY to proper place. 2009-03-02 10:16:54 +00:00
tsutsui 1b5cd43c66 Replace a magic number with a new EXT2_REV0_DINODE_SIZE macro. 2009-03-02 10:16:49 +00:00
tsutsui 8676336f2d - accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0
- use inodesize to get offset of inode, not struct ext2fs_dinode array
2009-03-02 10:15:59 +00:00
dholland 442e8c0016 Edit. Sync with reality, at least partway. Bump date. 2009-03-02 10:14:41 +00:00
mjf 3ff7f03905 Typo, "Queueing" -> "Queuing" 2009-03-02 10:08:51 +00:00
nonaka b9670a7b32 Add zboot 2009-03-02 09:59:10 +00:00
tsutsui d0939ef481 Don't use e2fs_inode_size in superblock on E2FS_REV0 file system. 2009-03-02 09:54:49 +00:00
wiz a14b6c39ff Sort options. End sentence with a dot. 2009-03-02 09:39:10 +00:00
nonaka af901e6821 Added zboot from OpenBSD. 2009-03-02 09:33:01 +00:00
dholland 3a16d1fa6d mdocify. Partly merged from OpenBSD. Not by any means perfect yet. 2009-03-02 09:23:57 +00:00
dholland f521abdfac More fixes from OpenBSD: use err instead of perror, don't hork on EOF
during the initial setup questions.
2009-03-02 07:33:30 +00:00
dholland 53cddab9f9 Check for failure of fgets when reading the captain's name, and don't
allow it to be empty. From OpenBSD.
2009-03-02 07:21:56 +00:00
dholland 51cc47ce79 Use errx() to send fatal error messages. From OpenBSD. 2009-03-02 07:17:24 +00:00
dholland ffb1e863de Use errx/warnx instead of printing to stderr. From OpenBSD. 2009-03-02 06:54:01 +00:00
dholland 96e08ad443 Use err(3) and errx(3), not perror and fprintf to stderr. From OpenBSD. 2009-03-02 06:44:22 +00:00
dholland da767c0864 Braces around a nested if, for clarity; suggested by diffing against OpenBSD. 2009-03-02 06:43:53 +00:00
christos 85bb9a6e54 add debug libs. 2009-03-02 03:55:44 +00:00