Commit Graph

112459 Commits

Author SHA1 Message Date
ru
1f12ffeb1d Expand contractions. 2005-02-13 23:45:54 +00:00
kientzle
8028b76803 Fix a buffer overflow in the "none" decompression handler that
occurred with large read-ahead requests.  This only affected
formats that incorrectly make large requests (ZIP did this until
recently) or with block sizes over 32k.
2005-02-13 23:29:54 +00:00
ru
b4299d468b who's -> whose 2005-02-13 23:23:30 +00:00
alc
0551861521 Request a CPU private mapping from sf_buf_alloc(). 2005-02-13 23:09:36 +00:00
obrien
169b565444 Fix regression in output with -R compared to previous version.
PR:		77466
Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2005-02-13 23:07:30 +00:00
ru
d65df7068b Expand *n't contractions. 2005-02-13 22:25:33 +00:00
alc
430f24ff4d Request a CPU private mapping from sf_buf_alloc(). If the swap-backed
memory disk is larger than the number of available sf_bufs, this improves
performance on SMPs by eliminating interprocessor TLB shootdowns.  For
example, with 6656 sf_bufs, the default on my test machine, and a 256MB
swap-backed memory disk, I see the command
"dd if=/dev/md0 of=/dev/null bs=64k" achieve ~489MB/sec with the default,
shared mappings, and ~587MB/sec with CPU private mappings.
2005-02-13 21:51:50 +00:00
iedowse
c1f343593e When attached to a high-speed device, report a more appropriate
base transfer speed to CAM. The actual value used (40MB/s) is fairly
arbitrary, but assumes the same 33% overhead as was implied by the
1MB/s figure we used for USB1 devices.
2005-02-13 21:38:34 +00:00
ru
cb65bdfa42 Line up license text. 2005-02-13 21:31:50 +00:00
ru
2df7658371 mdoc(7) review.
(I thought Nate has committed it long ago, apparently not.)
2005-02-13 21:29:28 +00:00
njl
df6f7b29c7 Bump date. Reminded by: ru 2005-02-13 21:23:23 +00:00
njl
03f443149c Update documentation of tunables. 2005-02-13 20:26:04 +00:00
njl
049f7a20bd Allow users to manually override quirks with the tunable "debug.acpi.quirks".
Suggested by:	Jung-uk Kim
2005-02-13 20:10:28 +00:00
njl
1e3640c250 Unbreak the kernel build. Pointy hat to: sobomax. 2005-02-13 19:50:57 +00:00
njl
507869ee6b Add support for the CPUFREQ_FLAG_INFO_ONLY flag. Devices that report this
are not added to the list(s) of available settings.  However, other drivers
can call the CPUFREQ_DRV_SETTINGS() method on those devices directly to
get info about available settings.

Update the acpi_perf(4) driver to use this flag in the presence of
"functional fixed hardware."  Thus, future drivers like Powernow can
query acpi_perf for platform info but perform frequency transitions
themselves.
2005-02-13 18:49:48 +00:00
deischen
e792c1ee5e Increase the default stacksizes:
32-bit		64-bit
main thread	  2MB		  4MB
other threads	  1MB		  2MB
2005-02-13 18:38:06 +00:00
cognet
c7bd1f8912 Define NIRQ to 64 for CPU_ARM9, because Cirrus Logic EP93XX cores provides
64 irqs.
This should be re-thought later.
2005-02-13 18:26:31 +00:00
cognet
afb68fc98f Remove unused prototype. 2005-02-13 18:20:39 +00:00
cognet
369a407b4e Remove redondant includes. 2005-02-13 18:05:36 +00:00
sobomax
cf32a04909 Backout addition of SIGTHR into the list of signals allowed to be delivered
to the suid/sugid process, since apparently it has security implications.

Suggested by:   rwatson
2005-02-13 17:51:47 +00:00
sobomax
314fee08cf Backout previous change (disabling of security checks for signals delivered
in emulation layers), since it appears to be too broad.

Requested by:   rwatson
2005-02-13 17:37:20 +00:00
njl
64d6b421cf Set levels on all CPUs and attach a cpufreq device to each one. Sysctl
on dev.cpu.0 will affect all of the CPUs together.  In the future,
independent control will be supported but this is good enough for now.
Check that the timecounter isn't TSC before switching (from Colin Percival.)
2005-02-13 17:31:56 +00:00
cognet
198e9d1faf Don't prototype pmap_kenter(). 2005-02-13 17:18:20 +00:00
sobomax
52609f5f8a Split out kill(2) syscall service routine into user-level and kernel part, the
former is callable from user space and the latter from the kernel one. Make
kernel version take additional argument which tells if the respective call
should check for additional restrictions for sending signals to suid/sugid
applications or not.

Make all emulation layers using non-checked version, since signal numbers in
emulation layers can have different meaning that in native mode and such
protection can cause misbehaviour.

As a result remove LIBTHR from the signals allowed to be delivered to a
suid/sugid application.

Requested (sorta) by:	rwatson
MFC after:	2 weeks
2005-02-13 16:42:08 +00:00
archie
42e1f241cf Bump cookie value to reflect change in NGM_IFACE_GET_IFNAME semantics. 2005-02-13 16:36:41 +00:00
rwatson
2a781a13a3 Synchronize HEAD copyright/license with RELENG_5 copyright/license:
McAfee instead of NETA.
2005-02-13 13:59:34 +00:00
delphij
b7dc678f59 New order after _netcat has been changed to _nc: sort the list.
Submitted by:	ru
Pointy hat to:	me
2005-02-13 13:42:20 +00:00
harti
7be7a94bd2 Back out the previous commit. There is an obvious bug in it.
Pointy hat to:	harti
2005-02-13 13:33:56 +00:00
ru
ff81b3a0be Install netgraph type at an appropriate time. 2005-02-13 11:15:25 +00:00
delphij
c6f83e0a0d Spell the variable as underscore plus their possible value, to follow
the style nearby.

Submitted by:	ru
2005-02-13 10:11:21 +00:00
delphij
8e4a445cd1 Forgotten to commit this file during the last commit. Connect nc(1)
to build.
2005-02-13 07:12:23 +00:00
alc
169525911b Implement support for CPU private mappings within sf_buf_alloc(). 2005-02-13 06:23:13 +00:00
scottl
0ee4e5ef20 Use the correct variable name in ibsad() 2005-02-13 06:21:36 +00:00
obrien
862a767054 Barrow from kmod.mk and protect against adding -fno-strict-aliasing
when it is already in COPTFLAGS.
2005-02-13 05:58:40 +00:00
njl
0210665f94 Add the new CPUFREQ_FLAG_INFO_ONLY flag for drivers which can attach to
read info about the possible settings for a CPU but cannot control them
directly.
2005-02-13 05:37:19 +00:00
njl
832a893903 Be sure to register with cpufreq(4). On systems that only supported
throttling, neglecting to do this kept the sysctls from appearing.
Attach an acpi_throttle device to each CPU that supports it.
Don't add a device if the P_BLK is invalid or if _PTC is not present.
This removes extraneous probe/attach failure messages on some machines.
Make the cpu throttle state local to the softc to account for partial
successes when changing the clock rate on MP machines.
2005-02-13 05:34:52 +00:00
njl
80882d3495 Attach an acpi_perf device for every processor that offers the right
methods.
2005-02-13 05:25:27 +00:00
ru
00611032ac Drop mythical module dependency on ng_ether. 2005-02-13 00:50:18 +00:00
phk
da49f2ea88 Check handle types.
Implement more device functions.
Make DMA optional.
2005-02-12 23:52:44 +00:00
kientzle
b55a7e9b82 Oops. I missed a 0 => '\0' correction.
Thanks to: Ruslan
2005-02-12 23:33:31 +00:00
trhodes
a647543f9e Reword a sentence to conform with our mdoc(7) style.
Modify wording in a sentence to avoid a run on within ().
Remove a contraction.

Submitted by:	Joel Dahl <joel@automatvapen.se> (original version)
2005-02-12 23:23:53 +00:00
kientzle
53b8a9ca70 Clear the error message buffer on entry to major routines.
This avoids having error messages get concatenated over multiple calls.
2005-02-12 23:11:29 +00:00
kientzle
a8d24083ca Update the format descriptions to include ISO9660 and ZIP support.
Also remove some unnecessary blank lines from archive_read.3.
2005-02-12 23:09:44 +00:00
kientzle
663982e871 Performance optimization, code clarification, and bug workaround.
When reading the bodies of Zip archive entries, request a minimum of 1
byte, rather than a minimum of the full entry size.  This is faster
(since it does not force the decompression layer to combine reads) and
works around a bug in the "none" decompression handler (which I'm
testing a separate fix for now).  I've also renamed "bytes_read" to
"bytes_avail" in several places to more accurately reflect that the
value returned from (a->compression_read_ahead) is the number of bytes
available, not necessarily the number of bytes requested.
2005-02-12 23:00:31 +00:00
kientzle
0efee59a54 Fill in some more Rockridge details in ISO9660 support: Ignore PD
(padding) entries, extract inode value from PX entry, recognize SP and
ST (start/end of SUSP extensions).

I don't enforce SP yet, as I've seen CDROMs which use Rockridge
extensions but don't have the SP record (which is officially
required).

The ISO9660 support is now mature enough to extract FreeBSD
distribution CDROMs created with mkisofs.
2005-02-12 22:48:38 +00:00
kientzle
3d64a05820 Flush input when reading from pipe to avoid "broken pipe" warnings.
For example, when using 'gunzip | tar' to decompress.
Also, fix some style issues (write null character as '\0').

Thanks to: Jaakko Heinonen
2005-02-12 22:44:50 +00:00
ru
d2e036ed33 - Fixed description of the "destroy" command options.
- Document the "nuke" command.
- Mention which commands correspond to which functions.
2005-02-12 21:47:05 +00:00
phk
4f276cc87c Add ibcntl as alias for ibcnt
Add ibsta and start to use it.
Rename the argument structure more sensibly.
Improve timeout and error handling
2005-02-12 21:07:09 +00:00
rwatson
b95938bace Also build the netblast sub-directory, not just netreceive and netsend.
MFC after:	3 days
2005-02-12 20:04:23 +00:00
rwatson
abb1e91545 Mark the signum argument to signal_handler() as __unused.
MFC after:	3 days
2005-02-12 20:03:30 +00:00