Commit Graph

135521 Commits

Author SHA1 Message Date
yamt
6b2d8b66a4 merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
2005-04-01 11:59:21 +00:00
lukem
6448c18465 Add /rescue/tetris.
When your system is fubared, this will help you relax.
2005-04-01 08:35:17 +00:00
matt
6cd3611cff P.k.py lp.kcrgow ao mabf ru go oycnn dak. _n.iajf_ t.fxrapeov
Allprk.e xf jrp.v
2005-04-01 05:49:26 +00:00
gavan
b246dedab4 Due to the increasing rarity of legacy keyboards, switch to a more contemporary default
layout for PC style keyboards.
2005-04-01 01:49:52 +00:00
lukem
7f46de1e4e tweak comment reminding us about lack of reentrancy 2005-03-31 23:58:28 +00:00
christos
72ad9c4bc4 no point in assigning to ifq twice. 2005-03-31 21:19:35 +00:00
christos
200dc55908 fix compiling with -DALTQ 2005-03-31 21:14:52 +00:00
is
0464a39e5e No space left on device. 2005-03-31 20:50:26 +00:00
is
cefa23167c ipv6 over GRE. 2005-03-31 20:44:10 +00:00
bouyer
78ea15ef7f Don't eventually leak vnx and bp on unconfigure, pointed out by YAMAMOTO
Takashi. Instead, let the current I/O complete before killing the thread.
2005-03-31 18:02:16 +00:00
explorer
fcc0a1f852 Fix error with ifq not being set before use. Explicitly set it to NULL just before it may be set to the fastq, since if this becomes a loop (and in one case already is) this will always work. ifq_enqueue2() is designed to handle this case. 2005-03-31 17:07:39 +00:00
explorer
4efbb8a57b Looks like a 'struct buf *bp' was left over from a previosu commit. Since kernel builds stop on this, removing it. 2005-03-31 16:46:13 +00:00
drochner
b3d10c788a regen 2005-03-31 16:36:03 +00:00
drochner
014fa21e82 emulate setreuid()/setregid(), from Eric Schnoebelen per PR
port-alpha/21870
2005-03-31 16:34:54 +00:00
xtraeme
a3d534b973 tabify 2005-03-31 15:55:57 +00:00
christos
d7ec95d370 factor out the interface queueing code into two functions. One used by
the non point-to-point interfaces that has one queue, and one used by
the point to point interfaces that has two queues. No functional changes.
XXX: The ALTQ stuff makes the code ugly.
XXX: More cleanup to come
2005-03-31 15:48:13 +00:00
christos
096c521c10 Remove the bugs section. It has been fixed. 2005-03-31 15:45:53 +00:00
thorpej
59cbc9e205 Use getpwnam_r(). 2005-03-31 15:11:54 +00:00
christos
99ab3bdfc8 Fix compilation both with and without SSL. The buffer argument is different
type, not just the length.
2005-03-31 14:29:32 +00:00
bouyer
f5abf7cc11 Use DEV_STRATEGY() instead of VOP_STRATEGY(). YAMAMOTO Takashi says it's not
safe to use VOP_STRATEGY() from interrupt context.
2005-03-31 13:35:02 +00:00
he
97b59ebcdc Return 0xff from setlogmask() instead of falling off the end of
the int-returning function without returning a value.  The 0xff
value is taken from the C library and is the default log mask.
2005-03-31 13:03:34 +00:00
he
fca2c8bedd Provide weak aliases for the newly added getpwuid_r() and getpwnam_r()
functions in order to fix link-time conflicts with the C library.
2005-03-31 12:56:49 +00:00
wiz
0ef0d9cbc7 Drop trailing whitespace. 2005-03-31 11:44:26 +00:00
wiz
0f210657f7 Add -i to SYNOPSIS. 2005-03-31 11:43:14 +00:00
yamt
99229e5d39 introduce a function to drain bufq and use it where appropriate. 2005-03-31 11:28:53 +00:00
yamt
e81eb82eaa add a test for "set -e". related to PR/17514.
commented out in Makefile because i'm not sure
what's a correct behaviour.
2005-03-31 08:52:49 +00:00
christos
a075f0f32c Document the return values of the _r functions. 2005-03-31 04:17:05 +00:00
christos
57b822fef8 Add re-entrant versions of the password routines. Well, not really, but close. 2005-03-31 04:14:42 +00:00
christos
a14ad02b8e Enable wide character support for the rest of the archs (i386 is already done).
From J. T. Conklin.
2005-03-31 03:17:02 +00:00
xtraeme
51a4a28d70 Add -i option, it's just the same than -f in lfs_cleanerd(8), ok'ed
thorpej@.
2005-03-31 03:07:38 +00:00
chs
c92634930b fix validation of new values when setting vm.{hi,low}water. fixes PR 29651. 2005-03-31 02:34:10 +00:00
christos
ae82b1bd49 detect when this is used as a tool and don't use the _r getpw functions. 2005-03-31 00:05:02 +00:00
xtraeme
dc7d7d7780 Add missing flags to usage() 2005-03-30 21:28:30 +00:00
elric
1cdd98012f setprogname(3) needs to come before calls to err(3). 2005-03-30 20:59:34 +00:00
elric
6230b2ec40 Lock all memory. 2005-03-30 19:56:05 +00:00
bouyer
007f04c4a8 Make vnd do I/O to the underlying file from thread context. This
allows the strategy routine to be called from interrupt context, fixes
PR kern/29775 by Juan RP.
Now that pool_get() is only called from thread context, change PR_NOWAIT to
PR_WAITOK. Fix PR kern/26272 by Juergen Hannken-Illjes.
OK'd by thorpej@
2005-03-30 19:23:08 +00:00
christos
7174de81d3 PR/29832: J.T. Conklin: libstdc++ missing std::wstring support
This wonderful patch together with yesterdays wcsftime addition, makes
us able to use wide strings in c++
2005-03-30 19:17:45 +00:00
wiz
e0ed5c846b Bump date for previous. Remove trailing whitespace.
New sentence, new line. Fix some macro usage.
2005-03-30 18:53:33 +00:00
aymeric
aaf71fc067 Changes to the nvi entry:
. remove "nb10" from imported version string (field "Version:") because it
  doesn't reflect any useful outside-of-netbsd information and moves too often
. change the comment to say that we may import nvi 1.81.x someday, mostly
  to get mutibyte character support
2005-03-30 18:42:22 +00:00
xtraeme
5ca972d91b This needs <err.h> for err() and errx() (hi wiz) 2005-03-30 18:01:32 +00:00
is
cfb674f4eb Extend EXAMPLES section for IPv6 over GRE. Contributed by Gert Doering. 2005-03-30 17:19:52 +00:00
elric
646d61aa58 one more malloc -> emalloc. 2005-03-30 17:17:51 +00:00
christos
f8ce51d45f Centralize error checking for malloc,calloc,strdup. 2005-03-30 17:10:18 +00:00
christos
1880024ade mention that SIG_IGN on SIGCHLD does not produce zombies. 2005-03-30 17:09:28 +00:00
christos
f9a341d1f6 PR/19837: Stephen Ma: signal(SIGCHLD, SIG_IGN) should not create zombies. 2005-03-30 17:07:50 +00:00
is
a0c9bc9616 Add IPv6 over GRE (contributed by Gert Doering in PR 29150). 2005-03-30 16:34:54 +00:00
christos
5d3d04b484 use re-entrant versions of getpw*(). In libc only pwcache remains and this
cannot be changed easily because it involves an API change.
2005-03-30 16:12:58 +00:00
elric
2dcfc0c616 Turn off core dumps. 2005-03-30 15:45:56 +00:00
christos
71abc767dd Use SA_NOCLDWAIT instead of catching the signal and waiting. Avoids signal
races the easy way.
2005-03-30 15:19:10 +00:00
wiz
bd02b4a3e5 v1.14 from OpenBSD (jaredy):
- fix overflow when too many -a arguments are given
 - properly NUL-terminate -a arguments when copying
 - check strdup for error failure
2005-03-30 14:18:41 +00:00