Commit Graph

141023 Commits

Author SHA1 Message Date
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
dyoung f112f0b6d9 Remove invisible whitespace at ends of lines that disrupted my
speedy cursor-movement habits in vi.
2005-10-30 03:10:28 +00:00
mjl 7c7f1fe0ab Typos, duplicate words, consistent formatting. 2005-10-29 22:49:36 +00:00
mjl 4866f93355 Remove trailing spaces, double spaces between words, fix some typos. 2005-10-29 22:35:41 +00:00
jdc 14eb3fca0f Don't drop to ddb in the default case if ddb.onpanic is 0.
OK'd by martin@.
2005-10-29 21:18:28 +00:00
martin 417e934595 We use gcc's crtstuff now - update this acordingly (thanks to
Nick Hudson for instructions)
2005-10-29 20:43:35 +00:00
martin 35f890192b Oops, forgot this when switching v9 -> ultrasparc as default -mcpu 2005-10-29 20:40:45 +00:00
martin c66ae167ce Initialize error return value. 2005-10-29 19:19:38 +00:00
tshiozak 1beef8fe93 fix lib/31874.
- add _citrus_stdenc_get_state_desc() interface to get
  encoding-scheme-independent encoder/decoder state descriptions.
- make sure that iconv_std module uses it to judge whether the last
  sequences forms complete shift sequences.
- bump minor of i18n_module because of get_state_desc().
2005-10-29 18:02:04 +00:00
jmcneill 4b8daa06de Wow, this is clearly wrong (found in esa_set_params):
if (p->channels < 1 && p->channels > 2)
		return EINVAL;
Change the 'and' to an 'or' so the check actually does something.
2005-10-29 17:44:34 +00:00
rpaulo 2b6672222b regen 2005-10-29 17:18:40 +00:00
rpaulo b2880bdd35 Add Creative Labs's Notebook Optical Mouse. 2005-10-29 17:18:08 +00:00
mjl 6b25b3147c Correct typos. 2005-10-29 17:04:10 +00:00