Commit Graph

140935 Commits

Author SHA1 Message Date
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
yamt
eae67f894f physio: comment out IPL_BIO because it's not available for some ports.
(it isn't used in the current implementation anyway.)
2005-10-30 09:17:02 +00:00
tsutsui
5797e5013d DELAY() is done (though the implementation is MIPS3 dependent). 2005-10-30 07:55:46 +00:00
tsutsui
bdf356473e Use new delay(9) for DELAY(9). 2005-10-30 07:53:16 +00:00
sekiya
bfa9ff2e95 sparc needs mostly the same compilation flags for standalone build as does
sparc64.  Move them out of the sparc64 conditional.

Okayed by martin@
2005-10-30 07:50:31 +00:00
dyoung
f334b70aa1 Normalize {err,warn}{,x} uses. 2005-10-30 07:40:45 +00:00
dyoung
4a3fce43c0 Now that I understand what order boot-images and boot-entries are
intended to be kept on the boot-images and -entries lists, keep
them in that order: images grouped and entries grouped by system,
with later images nearer the front of the list.

*Really* apply boot options to the last boot-image specified.
2005-10-30 07:33:57 +00:00
dyoung
3c2cee9d4a Bug fix: record the actual number number of 512-byte "virtual"
sectors in the Sector Count field of the Initial/Default Entry in
the "El Torito" Boot Catalog, instead of blithely writing 1 (!!)
into the Sector Count field.  Ditto the Section Entries.

Remove last remnants of cd9660's unsupported boot-load-size option.

Really use cd9660's boot-load-segment argument.

Change the boot images list from a LIST to a TAILQ.

Re-implement CD9660_BLOCKS() with howmany().

Introduce ELTORITO_DPRINTF and some debug messages.

Zero memory malloc'd in the El Torito code.

Revise some debugging outputs.

Insert a new boot-image on the boot-images list after the last
boot-image for the same architecture.  It makes a (trivial) functional
difference.

Miscellaneous cosmetic changes.  Remove useless variable-assignment.
2005-10-30 06:45:46 +00:00
tsutsui
bc7a643d4f Use mips3_cp0_count_read() for precise microtime(9).
XXX microtime(9) function should be moved from machdep.c to timer.c?
2005-10-30 05:27:14 +00:00
tsutsui
2f451ddebd Use #define<space> for consistency. 2005-10-30 04:40:43 +00:00
tsutsui
48c586e2b6 According to the new mips3_cp0_count_read() based delay(9),
NEC-JC94 seems to have 200MHz clock, not 150MHz.
2005-10-30 04:35:49 +00:00
tsutsui
49b8c2626d - use mips3_cp0_count_read() for delay(9).
- delay(9) should take unsigned int, not int.
2005-10-30 04:34:03 +00:00
tsutsui
c0caafab2b Set up ci_cpu_freq, ci_cycles_per_hz and ci_divisor_delay in curcpu()
from platform->clock.
2005-10-30 04:31:22 +00:00
dyoung
b894baa422 boot-load-size, the number of load sectors for the boot image, is
not yet, and will not be, supported.
2005-10-30 03:52:03 +00:00
dyoung
397d1928f2 Cosmetic: add temporary variables for lengthy, repeated clauses
like 'default_entry->entry_data.IE'.  KNF.
2005-10-30 03:50:54 +00:00