Commit Graph

5682 Commits

Author SHA1 Message Date
Warner Losh
097fcfeb8f Sprinkle a few stars where they belong. 2005-09-20 02:38:43 +00:00
Damien Bergamini
6a7bbb6e80 Update the list of supported hardware.
MFC after:	5 days
2005-09-19 18:16:29 +00:00
Giorgos Keramidas
a56e23da23 A single `*' character doesn't disable *ANY* form of authentication.
Make sure that this is clearly stated.

Prodded by:	simon, Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
2005-09-19 16:32:27 +00:00
Ruslan Ermilov
6ed0b39d28 Restore the ability to detach from a tty via SIOCSTTY and document
recent changes in a manpage.

Reviewed by:	cognet
2005-09-19 13:48:45 +00:00
Christian Brueffer
e654ac0769 Change the DESCRIPTION section into HARDWARE, since it already lists
the supported hardware.

MFC after:	3 days
2005-09-18 16:20:38 +00:00
Giorgos Keramidas
36cc06ff31 Explain the use of `*' in master.passwd and that it's slightly
different from the use of `*' in /etc/passwd.

PR:		docs/86234
Submitted by:	Paul Hoffman <phoffman@above.proper.com>
MFC after:	1 week
2005-09-18 15:40:02 +00:00
Christian Brueffer
929962108a Sort list of supported hardware.
MFC after:	3 days
2005-09-18 07:32:49 +00:00
Joel Dahl
90412be1fd Bump .Dd
Reminded by:	simon
2005-09-17 15:13:22 +00:00
Joel Dahl
d1625404ac Add HARDWARE section.
Reviewed by:	brueffer
2005-09-17 09:20:16 +00:00
Ralf S. Engelschall
724447ac41 Fix system shutdown timeout handling by again supporting longer running
shutdown procedures (which have a duration of more than 120 seconds).

We have two user-space affecting shutdown timeouts: a "soft" one in
/etc/rc.shutdown and a "hard" one in init(8). The first one can be
configured via /etc/rc.conf variable "rcshutdown_timeout" and defaults
to 30 seconds. The second one was originally (in 1998) intended to be
configured via sysctl(8) variable "kern.shutdown_timeout" and defaults
to 120 seconds.

Unfortunately, the "kern.shutdown_timeout" was declared "unused" in 1999
(as it obviously is actually not used within the kernel itself) and
hence was intentionally but misleadingly removed in revision 1.107 from
init_main.c. Kernel sysctl(8) variables are certainly a wrong way to
control user-space processes in general, but in this particular case the
sysctl(8) variable should have remained as it supports init(8), which
isn't passed command line flags (which in turn could have been set via
/etc/rc.conf), etc.

As there is already a similar "kern.init_path" sysctl(8) variable which
directly affects init(8), resurrect the init(8) shutdown timeout under
sysctl(8) variable "kern.init_shutdown_timeout". But this time document
it as being intentionally unused within the kernel and used by init(8).
Also document it in the manpages init(8) and rc.conf(5).

Reviewed by: phk
MFC after: 2 weeks
2005-09-15 13:16:07 +00:00
Joel Dahl
9e40ae709f Remove superfluous reference to the FreeBSD handbook.
Approved by:	brueffer (mentor)
2005-09-14 16:32:21 +00:00
Christian Brueffer
0725fb2074 Hook up acpi_sony.4 2005-09-14 05:09:33 +00:00
Christian Brueffer
58b1d9e7b0 Manpage for the acpi_sony(4) driver. This is more of a dummy page at the
moment, but better than nothing.

MFC after:	3 days
2005-09-14 05:04:12 +00:00
John Baldwin
a30c1e0a0b Various and sundry improvements:
- Replace 'process' with 'thread' everywhere.
- Update several places to note that that the fact that default mutexes
  may adaptively spin isn't necessarily MD, but is just part of the
  implementation as a whole.
- Clarify the text about MTX_SPIN mutexes only being appropriate for
  INTR_FAST interrupts or other low level scheduler code to make the
  jargon more FreeBSD-ish rather than BSD/OS-ish.
- Also, note that it is possible that interrupts aren't blocked but just
  deferred when a spin lock is held (the whole blocked vs. deferred bit is
  an MD implementation detail).
- Remove statements saying that spin locks must be released in the exact
  opposite order that they were acquired.  This stopped being true several
  years ago when we first added critical sections that stored their state
  in the current thread rather than in struct mtx.
- Note that a mutex must be initialized before it is passed to any other
  mutex function, not just mtx_lock.
- Clarify that mtx_trylock() only operates on MTX_DEF mutexes.
- Simplify the text about possible preemption during a mtx_unlock().
- Use complete English sentences in place of phrases in a few places.
- Clarify that it isn't ever safe to sleep with a mutex held.  The kernel
  tends to panic when you do that.

Requested by:	scottl (7)
MFC after:	3 days
2005-09-13 15:16:50 +00:00
Gary W. Swearingen
628f88b8b4 Added missing builtins; a few other clean-ups.
- The first "alias" "Yes" should be "No**".
- Made "builtin echo command" consistent with csh and sh manpages.
- In group of 3 interactive commands, 2 used .Pa instead of .Ic.
- "Name" section now has "builtin" and "built-in" for better apropos.
- Added these builtins: !, %, ., :, @, {, }, local, return

PR:             docs/85065
Approved by:    keramida
MFC after:      3 days
2005-09-09 17:02:08 +00:00
Gleb Smirnoff
d04304d155 Make callout_reset() return a non-zero value if a pending callout
was rescheduled. If there was no pending callout, then return 0.

Reviewed by:	iedowse, cperciva
2005-09-08 14:20:39 +00:00
Yaroslav Tykhiy
e5b3a11677 Reflect a recent change in /etc/rc.subr that made ``-M''
appear in tmpmfs and varmfs default flags explicitly.
Explain why -M is good for these file systems (it maximizes
performance and makes the system more stable at low memory
conditions by reducing the chance of thrashing.)

Bump .Dd accordingly.

MFC after:	3 days
2005-09-08 09:22:21 +00:00
Andrew Thompson
4f3cfcc12b Clarify that any firewall that has pfil(9) hooks can be used.
Suggested by:	sam
Approved by:	mlaier (mentor)
MFC after:	3 days
2005-09-06 22:38:40 +00:00
Colin Percival
ff69e5b71e Teach portsnap how to ignore unwanted parts of the ports tree. A line
of the form "REFUSE foo" in portsnap.conf will result in parts of the
tree matching "^foo" being (a) not extracted by "portsnap extract", (b)
not updated by "portsnap update", and (c) not having any patches or new
ports downloaded by "portsnap fetch" or "portsnap cron". The example
shown in portsnap.conf demonstrates ignoring all the language categories.

As mentioned in portsnap.conf.5, the use of an imcomplete ports tree is
not officially supported; but this is something which many users have
requested, so I'm adding it anyway.

PR:		bin/85619 (but not the patch provided therein)
MFC after:	1 month
2005-09-06 19:28:37 +00:00
Sam Leffler
aa2fce50a2 updates:
o note all pci/cardbus parts are supported (modulo hal updates)
o use ath_rate_sample instead of ath_rate_onoe
o note SuperG support is missing
o note WPA not supported on 5210
o remove stuff about needing a better tx rate control algorithm

MFC after:	3 days
2005-09-06 03:59:22 +00:00
Joel Dahl
56b1eaf645 Remove reference to el(4).
Approved by:	brueffer (mentor)
2005-09-05 17:09:59 +00:00
Tim J. Robbins
d667076bb2 Remove all references to nonexistent FreeBSD Security Architecture
document.
2005-09-05 10:03:07 +00:00
Gary W. Swearingen
e17c0e3256 Moved descriptions of securelevels from init(7) to security(7).
Files used both "securelevel" and either "secure level" or
"security level"; all are now "security level".

PR:             docs/84266
Submitted by:   garys
Approved by:    keramida
MFC after:      3 days
2005-09-03 17:16:00 +00:00
Scott Long
a79d1e8314 Fix a few small problems and bump the date.
Submitted by: ru
2005-09-01 19:14:41 +00:00
Scott Long
6f3d270147 More clarification on how bus_dmamap_sync works. Fix bogus text concerning
bus_dmamem_alloc.
2005-08-31 16:55:00 +00:00
Scott Long
78b6525e1e Remove a stale manpage. 2005-08-30 16:14:25 +00:00
Joel Dahl
280b8c11b0 s/PDC2061/PDC20621
Approved by:	brueffer (mentor)
2005-08-30 07:03:03 +00:00
Marius Strobl
20d0f9221b Add gem(4) to the list of devices supporting VLAN-sized frames natively
(since sys/dev/gem/if_gem.c rev. 1.34).

MFC after:	1 week
2005-08-28 15:08:57 +00:00
Marius Strobl
8a8ffed41b Remove the man page of the recently axed el(4). 2005-08-27 18:14:53 +00:00
Scott Long
1cb112ab25 Clarify the description of the bus_dmasync_op_t operation flags. This has
been misleading and even wrong since the import of the page.
2005-08-26 18:19:01 +00:00
Warner Losh
89b9c5360e Clarify the confusion over Farallon cards taht differ only by arrow color 2005-08-25 23:11:10 +00:00
Gleb Smirnoff
88cd456676 Remove all references to T/TCP, which was removed several months ago.
Approved by:	andre
2005-08-25 13:47:41 +00:00
Brooks Davis
41f7ee42ae - Remove the removable_interfaces variable. /etc/pccard_ether will
now run on any interface.
- Add a new ifconfig_<ifn> keyword, NOAUTO which prevents configuration
  of an interface at boot or via /etc/pccard_ether.  This allows
  /etc/rc.d/netif to be used to start and stop an interface on a purely
  manual basis.  The decision to affect pccard_ether may be revisited at
  a later date.

Requested by:	imp, gallatin (removable_interfaces)
Discussed with:	sam, Randy Bush (NOAUTO)
2005-08-24 01:23:49 +00:00
Markus Brueffer
b192b1d38e - Document the led(4) interface for the Thinklight
- Bump .Dd

Approved by:	brueffer
MFC after:	3 days
2005-08-23 18:34:39 +00:00
Joseph Koshy
953adc1723 Document the diagnostic message printed at startup time. Keep the
list of diagnostic messages sorted.

Document the recently introduced EOPNOTSUPP error return.  Repair
sort ordering for the list of error descriptions.

MFC after:	3 days
2005-08-23 17:18:27 +00:00
Christian S.J. Peron
49db78b0e0 Add documentation for the BIOCLOCK and BIOCSETWF ioctl commands. Also
modify the documentation for BIOCSETF to note that it sets the read
filter.

Pointed out by:	simon
2005-08-23 17:08:59 +00:00
Andre Oppermann
5090c7544f Document IP_MINTTL socket option.
MFC after:	2 weeks
Sponsored by:	TCP/IP Optimization Fundraise 2005
2005-08-22 16:14:53 +00:00
Andre Oppermann
e875dfb826 Add a sysctl to change to length of the quotation of the original
packet in an ICMP reply.  The minimum of 8 bytes is internally
enforced.  The maximum quotation is the remaining space in the
reply mbuf.

This option is added in response to the issues raised in I-D
draft-gont-icmp-payload-00.txt.

MFC after:	2 weeks
Spnsored by:	TCP/IP Optimizations Fundraise 2005
2005-08-21 15:09:07 +00:00
Andre Oppermann
a0866c8d4e Add an option to have ICMP replies to non-local packets generated with
the IP address the packet came through in.  This is useful for routers
to show in traceroutes the actual path a packet has taken instead of
the possibly different return path.

The new sysctl is named net.inet.icmp.reply_from_interface and defaults
to off.

MFC after:	2 weeks
2005-08-21 12:29:39 +00:00
Craig Rodrigues
8ddda52485 Update man page to reflect the fact that VOP_LISTEXTATTR
does not return a list of ASCII NUL terminated strings.
Instead, a list of attribute names is returned, where each
list entry consists of one byte for the name length, followed
by the name, without a terminating ASCII NUL.
This in similar to change 1.17 to extattr_get_file.2

Reviewed by:	rwatson, ru
2005-08-19 12:17:47 +00:00
Brooks Davis
069dfe8315 Refer to the OpenBSD dhclient instead of the ISC dhclient.
Reported by:	Bob Johnson <bob89 at eng dot ufl dot edu>
PR:		84963
2005-08-18 19:39:27 +00:00
Joel Dahl
9aa2457d66 Be more specific about supported chipsets.
Approved by:	brueffer (mentor)
2005-08-18 19:12:14 +00:00
Giorgos Keramidas
7bdc0bba0b Change the modem description of the previous commit to something that is
more likely to match the product name, as seen by the user on product
listings.

Suggested by:	blackend, brueffer
2005-08-18 15:05:28 +00:00
Giorgos Keramidas
d5648a65b9 Add ELSA MicroLink 56k USB to the list of supported umodem devices.
PR:		docs/85079
Submitted by:	Rene Ladan <r.c.ladan@student.tue.nl>
MFC after:	3 days
2005-08-18 13:04:13 +00:00
Giorgos Keramidas
1a1fa3bd68 Typo: s/adverisement/advertisement/.
Submitted by:	Fredrik Lindberg <fli+freebsd@shapeshifter.se>
PR:		docs/85050
2005-08-17 18:43:07 +00:00
Joel Dahl
3dd63d5256 Bump .Dd before someone notice.
Approved by:	brueffer (mentor)
2005-08-17 16:45:54 +00:00
Joel Dahl
7fb1ef385d Be more specific about supported chipsets.
Approved by:	brueffer (mentor)
2005-08-17 16:36:07 +00:00
Joel Dahl
76de1215bd Remove a few items from the hardware list. This support is already
covered in the manual pages for each bridge device driver.

Approved by:	brueffer (mentor)
2005-08-17 16:24:57 +00:00
Giorgos Keramidas
f87fc6e31c Add a small paragraph that describes how the current environment
settings can be displayed, near the end of the DESCRIPTION section,
immediately after the paragraph that describes how they can be set.

Add a reference to printenv(1) too (and the ``printenv'' csh builtin).

Submitted by:   Gary W. Swearingen <garys@opusnet.com>
PR:             docs/85008
2005-08-17 13:02:47 +00:00
Joel Dahl
c6fd52cbe7 * Be more specific about supported ALI-chipsets.
* Add two missing dots.

Approved by:	brueffer (mentor)
2005-08-16 14:28:03 +00:00