Commit Graph

146591 Commits

Author SHA1 Message Date
lukem
e48c097471 getservbyport(3) wants the port in network order.
Noted by Hajimu UMEMOTO <ume@freebsd.org>
via Maxim Konovalov <maxim@macomnet.ru>.
2006-05-04 23:22:21 +00:00
tsutsui
0229d65930 Generate initial aoutm68k_syscalls.c. 2006-05-04 22:30:00 +00:00
tsutsui
3c4442d43e aoutm68k_syscalls.c is now required by kdump(1). 2006-05-04 22:27:51 +00:00
christos
32c4e3d517 Since MNT_GETARGS is not allowed when any other flags are set, don't set
ASYNC in the getargs case.
2006-05-04 19:46:10 +00:00
christos
c543e3e4ab since yamt prohibits any flag with MNT_GETARGS, don't set MNT_UPDATE for
/ when we do getargs.
2006-05-04 19:38:50 +00:00
rpaulo
2888212ca7 PR 33421: add ral at cardbus. From Pierrick Brossin. 2006-05-04 19:09:41 +00:00
christos
99f76ec337 Adjust for the fhstat() compat kernel change. 2006-05-04 19:00:18 +00:00
christos
fc716ffaeb It is really bad style to define ULong unsigned long in one file and
uint32_t in another. No wonder lint was bitching (hello kjk)
2006-05-04 18:59:23 +00:00
christos
109ac28f93 Only do the mutex dance if _REENTRANT 2006-05-04 18:38:56 +00:00
christos
394f070a3e Handle aout m68k; from Izumi Tsutsui. 2006-05-04 18:06:29 +00:00
christos
bc364eb43f update for fhstat. 2006-05-04 17:56:22 +00:00
christos
89a5572015 Regen 2006-05-04 17:50:28 +00:00
christos
9ec9aed92e fhstat needs to be versioned too (for ino_t). Pointed out by Izumi Tsutsui 2006-05-04 17:48:56 +00:00
christos
cffd112ba3 regen 2006-05-04 17:23:00 +00:00
christos
6507871e48 Add compat30 getdents. Pointed out by Izumi Tsutsui. 2006-05-04 17:22:43 +00:00
perseant
86f30eea43 Regen after making VOP_FCNTL take an unlocked vnode. 2006-05-04 16:49:54 +00:00
perseant
935530188d Change VOP_FCNTL to take an unlocked vnode. Approved by wrstuden@. 2006-05-04 16:48:16 +00:00
christos
cd037c90cb Coverity fixes upstream from Mark D. Baushke 2006-05-04 15:39:34 +00:00
yamt
1468e19297 implement splraiseipl() for sparc.
reviewed by Martin Husemann.

while i'm here, use macros for some MD constants (eg. IPL_ZS)
as suggested by Havard Eidnes.
2006-05-04 12:21:18 +00:00
yamt
4aed9e155a pull splraiseipl() for sparc64 from newlock branch.
reviewed by Martin Husemann.
2006-05-04 12:18:54 +00:00
simonb
15dc85722d Make the change for bin/31548 to set $PWD on shell startup non-fatal if
the current directory doesn't exist.
2006-05-04 11:16:53 +00:00
simonb
0b342c0b59 Use config_stdsubmatch() instead of a local submatch function. 2006-05-04 10:53:06 +00:00
kardel
e01a907378 NetBSD 22 CID 3049,3075: safeguard against (unlikely to impossible) NULL deref 2006-05-04 08:24:05 +00:00
perseant
efc48a3bfa newfs_lfs(8) compoment of the recent superblock parameter addition. Change
the wording of the explanation of the -M option, detail a new -R option
that controls initial setting of the new parameter.
2006-05-04 04:39:15 +00:00
perseant
ce053245eb Introduce another per-filesystem parameter, lfs_resvseg, to separate the
notion of "how many segments are reserved for the cleaner" from that of
"how many segments are not counted in lfs_bfree".  The default value
used for existing filesystems is the same as the previous implicit value
of (lfs_minfreeseg / 2 + 1), modulo some sanity checking.

Count pending dirops on a per-filesystem basis, since once we start
writing them we can't stop until we're done.  This seems to help stave off
the "no clean segments" panic in the case of filling the filesystem with
directories and small files (e.g. simultaneously unpacking more copies of
pkgsrc than will fit).
2006-05-04 04:22:55 +00:00
simonb
5754da5b7f Add missing "return 0;" from WSDISPLAYIO_SMODE case in voodoofb_ioctl(). 2006-05-04 02:18:11 +00:00
ghen
3c29b80784 I joined releng recently. 2006-05-03 22:01:19 +00:00
wiz
09ca6f5fba Ah well, fix 3.0.1 entry too. 2006-05-03 21:43:31 +00:00
wiz
431c596f83 Fix 3.1 entry. 2006-05-03 21:43:10 +00:00
tron
73502fa292 Add NetBSD 3.0.1 and 3.1 to the list of recognized operating systems. 2006-05-03 20:56:54 +00:00
bouyer
97aadda462 Fix a race between xenconscn_getc() and xencons_handler() (which seems to be
triggered by recent xen3 hypervisor or tools): check sc->polling in
xencons_handler() and just return if set. Also, run xenconscn_getc() and putc()
at spltty().
While there, mark xencons_interface as volatile and use __UNVOLATILE() where
appropriate; and update the pointers in xencons_handler() if xenconscn_getc()
changed them (avoids replaying ddb commands in shell if ddb got called
by the magic string).
2006-05-03 20:22:34 +00:00
christos
dc2a3a037e Sprinkle __dead 2006-05-03 18:08:24 +00:00
garbled
2baa5f42bc Generic soft interrupt support for prep. Mostly copied from macppc,
tested on 7248 and 7043.
2006-05-03 17:47:05 +00:00
seanb
550e54992f - Make sure scangen sequence number is unique
per iteration.
- From FreeBSD.
- CI: sam
2006-05-03 16:50:58 +00:00
yamt
2553980909 - fix --.
- fix -e.
- fix patterns starting with -.
- fix "missing argument" message.
2006-05-03 16:48:29 +00:00
yamt
6957cc2e13 ubc_fault: use PMAP_CANFAIL. pointed by Jed Davis on tech-kern@. 2006-05-03 15:57:35 +00:00
yamt
69f5e94d4e define dummy NOCRED by ourselves, rather than assuming that kernel headers
provide it.
2006-05-03 15:04:51 +00:00
yamt
38ae305f09 uvm_km_suballoc: consider kva overhead of "kmapent".
fixes PR/31275 (me) and PR/32287 (Christian Biere).
2006-05-03 14:12:01 +00:00
kiyohara
c8693c641b Back out for 1.94 from 1.93. 2006-05-03 00:37:44 +00:00
christos
d1c2aa7c3b Coverity CID 1184: Avoid NULL deref. 2006-05-02 22:35:07 +00:00
christos
4e749c0af7 Coverity CID 1185: Avoid NULL deref. 2006-05-02 22:33:42 +00:00
christos
060bb7465d Coverity CID 1330: Always check str_alloc for NULL returns. 2006-05-02 22:30:25 +00:00
christos
54f258bd85 Coverity CID 1736: close files before returning. 2006-05-02 22:26:46 +00:00
christos
9c8ab46858 Coverity CID 569: Remove dead code. 2006-05-02 22:24:05 +00:00
christos
e649ae6adc Coverity CID 884: Avoid NULL deref. 2006-05-02 22:19:12 +00:00
christos
10a7a5fd96 Coverity CID 885: Avoid NULL deref. 2006-05-02 22:13:29 +00:00
christos
9b0f17533c Coverity CID 886: Avoid NULL deref. 2006-05-02 21:40:06 +00:00
drochner
76d85cf9ac -explicitely align "struct savexmm" so that we don't get surprised
if we play with the PCB
-remove historical "struct emcsts"; there is no support in context
 switching code for ages (if there has ever been)
2006-05-02 19:03:24 +00:00
drochner
7987283ca6 comment out FPU DNA handling; this cannot be reached tbomk
because that trap is dealt with in fpu.c
2006-05-02 18:51:15 +00:00
drochner
d50e999b43 fix typo in comment 2006-05-02 18:04:53 +00:00