Commit Graph

141349 Commits

Author SHA1 Message Date
christos 8481673c7a Don't decrement the ttl, until we are sure that we can forward this packet.
Before if there was no route, we would call icmp_error with a datagram
packet that has an incorrect checksum. (From Liam Foy)
2005-11-01 21:21:09 +00:00
bjh21 58654bce56 Fix second "no drives attached" message (as seen on sun4c) so as not to
include the device name, since this message is printed on the same line
as the attach message anyway.
2005-11-01 21:00:56 +00:00
martin b1134bf887 Rework the funny "user_strat: No ioctl" error messages - the functions
have not been called user_strat for quite some time and the message is
confusing if you do not know the code.
2005-11-01 20:44:04 +00:00
mrg 77b434d1e4 note that Airlink AWLH4030 PCI b/g and Belkin F6D3000 PCI a/b/g cards
are supported.
2005-11-01 20:42:07 +00:00
mrg 60c6df9a25 note that vixie cron 4.1 is out (since jan 2004) 2005-11-01 20:20:13 +00:00
christos f1e915cc01 Split the linux syscall out to make the code easier to read and maintain. 2005-11-01 16:28:28 +00:00
christos 4f38beeb43 Update documentation for pam, and don't accept flags that we don't support
anymore.
2005-11-01 15:47:43 +00:00
bouyer 1421f4d030 Don't claim there is a data in or out phase if the datalen is 0 (userland
shouldn't claim it either, but a buggy software shouldn't be able to crash
the kernel anyway). Should fix port-sparc64/31925 by Johan A.van Zanten
(which should really be kern/31925).
Analysed and patch tested by Martin Husemann.
2005-11-01 15:40:00 +00:00
manu e326d4a34d Linux does not seems to set rdx on syscall exit. 2005-11-01 09:13:48 +00:00
yamt 8ab7495c2d make scheduler work better when a system has many runnable processes
by making p_estcpu fixpt_t.  PR/31542.

1. schedcpu() decreases p_estcpu of all processes
   every seconds, by at least 1 regardless of load average.
2. schedclock() increases p_estcpu of curproc by 1,
   at about 16 hz.

in the consequence, if a system has >16 processes
with runnable lwps, their p_estcpu are not likely increased.

by making p_estcpu fixpt_t, we can decay it more slowly
when loadavg is high.  (ie. solve #1.)

i left kinfo_proc2::p_estcpu (ie. ps -O cpu) scaled because i have
no idea about its absolute value's usage other than debugging,
for which raw values are more valuable.
2005-11-01 09:07:53 +00:00
jmcneill b755c1973c Change description to contain the text 'audio device driver', for consistency
with other audio device manuals.
2005-11-01 02:20:17 +00:00
chs 04084538be use correct types, allow size to be larger than 1 TB. 2005-11-01 01:42:29 +00:00
dyoung fec0b664fc Oops, condition another printf on verbose_level > 0. 2005-10-31 23:21:25 +00:00
dyoung 96801f79bb Condition several cd9660 printfs on verbose_level > 0. Silences
makefs -t cd9660.
2005-10-31 23:19:54 +00:00
dyoung 933a7c2901 Change cd9660's default verbosity level to 0, quieting it down
considerably.
2005-10-31 23:19:06 +00:00
manu b7ba0ebc16 Fix pipe linux emulation on amd64 2005-10-31 18:00:30 +00:00
manu 5d2a593dcd build fix 2005-10-31 17:58:07 +00:00
christos 8f1498a599 - Don't use a stale errno when printing an error
- Redo all error printing using varargs
- KNF
- More descriptive error messages
2005-10-31 16:15:42 +00:00
christos 1cb716844a Don't use hard-coded values for nobody. Specially ones that don't match
what /etc/group has.
2005-10-31 15:46:50 +00:00
wiz a74bb8d083 Begin sentence with upper case letter, and uppercase an acronym. 2005-10-31 15:30:44 +00:00
wiz 8ab58d4943 Sync usage with man page. 2005-10-31 15:29:23 +00:00
wiz 14a2986cc2 Small improvements. Sort options. From jmc@openbsd. 2005-10-31 15:28:53 +00:00
wiz 25988cacf4 Sync usage with man page. From jmc@openbsd. 2005-10-31 15:22:10 +00:00
wiz 432e7125bf Use .Pp instead of less usual .Lp. From jmc@openbsd. 2005-10-31 15:21:02 +00:00
wiz 129d953b7a Improve description for /var/run/rtsold.dump. From jmc@openbsd. 2005-10-31 15:19:45 +00:00
wiz 710dff7215 Small cleanup. From jmc@openbsd. 2005-10-31 15:17:22 +00:00
wiz e7e684f30a Sort options. From jmc@openbsd. 2005-10-31 15:14:54 +00:00
yamt 8217506e75 fix ioctl problems after the recent physio changes
in some drivers including wd and scsi.

- physio: if a caller provided a buf, stick to use it
  because some drivers use it as an identifier.
- sprinkle simple_locks.
- scsistrategy: rather than issueing an async request and
  waiting for its completion, simply issue a sync request.
  the way to wait for the completion had an assumption that
  B_CALL is never used.  it isn't the case after the recent
  physio() changes.

pointed/analyzed/tested by Martin Husemann.
2005-10-31 14:36:41 +00:00
thorpej f243f4debb Fix paste-o in the NFSV3SATTRTIME_TOSERVER case of mtime handing (need
to set va_mtime, not va_atime).
2005-10-31 14:21:35 +00:00
jschauma 0386433d98 Somehow missed this in the last commit, where I only changed the commentary
to reflect the actual change (plus minor nits).  So here's the actual change:

Rather than '-h' suppressing '-s' when using '-l', make it display
the blocks used in human readable form, as suggested by Alan Barrett
and Daniel Carosone.

(Missing bits spotted, as usual, by wiz@.)
2005-10-31 14:13:33 +00:00
wiz 28b104b3ee Reword a sentence slightly, and add more markup. 2005-10-31 12:05:21 +00:00
uwe f3cbdab068 Minus sign is \-
Mark up function argument in the text.
2005-10-31 11:55:04 +00:00
uwe ce9408481d Minus sign is \- 2005-10-31 11:45:49 +00:00
wiz 3a6af42b59 Bump date for previous. 2005-10-31 11:34:55 +00:00
wiz 9b6a45d9e2 Bump date for previous. Use more appropriate markup.
Add an article.
2005-10-31 11:34:16 +00:00
dyoung 2fa0e02b0b Remove the cd9660_inode hashtable for hard-links support, and re-use
the fsinode for the same purpose, per Luke Mewburn's suggestion on
source-changes@.
2005-10-31 08:29:19 +00:00
christos fae23817af back out the lwp portion of the previous commit which is not ready yet to
be committed.
2005-10-31 04:39:41 +00:00
christos cd2a437026 Don't clear unconditionally P_SUGID when we exec. Clear it only when the
real and effective user and group ids match. From Tavis Ormandy.
2005-10-31 04:31:58 +00:00
simonb a3defee552 Don't check <sys/systm.h> anymore. 2005-10-30 23:36:22 +00:00
simonb 17fbcfa746 Mark /usr/include/sys/systm.h as obsolete. 2005-10-30 23:35:55 +00:00
simonb ad6779af8d Don't install <sys/systm.h>. 2005-10-30 23:35:17 +00:00
simonb ad33b0d825 We don't need <sys/systm.h> here. 2005-10-30 23:34:34 +00:00
simonb 1d1300cd80 Only include <sys/systm.h> if _KERNEL is defined. 2005-10-30 23:34:04 +00:00
joerg 82543d8598 Treat FTP error 450 like 550, otherwise pkg_add from a proftpd server
can hang.

Submitted-by: Eirik Nygaard
2005-10-30 21:52:02 +00:00
erh 4535d519d7 Mention that VOP_CREATE always unlocks the directory vnode. 2005-10-30 20:49:05 +00:00
yamt a9894b0f08 - localize some definitions.
- use PPQ macro where appropriate.
2005-10-30 20:28:56 +00:00
chs d17f6e14bc add support for the linux PROT_GROWS{DOWN,UP} mprotect() flags.
fixes PR 30008.
2005-10-30 16:25:50 +00:00
chs df1287ee8b fix crash dumps on m68k platforms, cpu_kcore_hdr_t is larger than
512 bytes now so we need a bigger buffer.  PR 26958.
2005-10-30 15:49:39 +00:00
yamt 94ce3d822f don't include uvm_*_i.h unless needed,
to reduce bogus header dependencies.
2005-10-30 11:56:51 +00:00
dyoung 1da546647c Add hard-link support: keep a hashtable that maps inodes for
regular files on the source filesystem to the offset of the first
data block on the target filesystem.  Don't allocate blocks for a
file a second time (i.e., if it is already present in the hashtable).
Avoid writing the blocks of a file twice (use the FS_WRITTEN flag
in fsinode->flags for this purpose).
2005-10-30 09:27:49 +00:00