Commit Graph

135510 Commits

Author SHA1 Message Date
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
skrll
8221a0eff7 Correct the comment against FKIOCTL and put the comment against FMASK back
where it belongs.
2005-03-30 13:15:13 +00:00
jmmv
d4526765bd Remove an space from the beginning of a line. It caused incorrect formatting
after the .Nm macro (the text started at the following line).
2005-03-30 13:07:34 +00:00
yamt
e53142951c - use IFQ_POLL/DEQUEUE rather than IF_DEQUEUE/PREPEND.
- handle tx queue full correctly.
2005-03-30 11:38:06 +00:00
yamt
73a5d8f913 s of sack is selective, not selection. pointed by Michael Eriksson. 2005-03-30 11:09:16 +00:00
wiz
3294301136 Add wcsftime(3). 2005-03-30 10:17:36 +00:00
wiz
215d79769a Add man page for wcsftime from FreeBSD. 2005-03-30 10:15:12 +00:00
christos
eb808713b7 PR/29826: J. T. Conklin: Add wcsftime(3) (from FreeBSD) 2005-03-30 03:47:11 +00:00
christos
8ec5371f02 - use getpwnam_r 2005-03-30 01:33:30 +00:00
christos
13f609d284 - use getpwnam_r
- KNF
2005-03-30 01:30:21 +00:00
christos
bbb7e01ae0 - Use the getpw*_r methods.
- KNF.
2005-03-30 01:16:22 +00:00
christos
2e7a44f29b - KNF fixes from John Nemeth
- Use getpwnam_r because pam may use getpw* and overwrite the static area
  (from FreeBSD)
2005-03-30 01:07:47 +00:00