Commit Graph

11375 Commits

Author SHA1 Message Date
Ceri Davies
c12e775489 Clarify the description of the shutdown command. 2007-02-18 22:04:14 +00:00
Tom Rhodes
af3c679d46 Kill blank line at EOF. 2007-02-15 02:45:14 +00:00
John Baldwin
897d31be9d Another crashdump fix: nfiles was renamed to openfiles in 5.x.
MFC after:	3 days
2007-02-14 04:20:41 +00:00
Kevin Lo
1b58411365 Eliminate duplicate header files. 2007-02-09 09:23:10 +00:00
Pav Lucistnik
9486c31113 Fix a bug in 1.40 - it missed three occurences in pkg_info which leads to
(null)/file output.

MFC after:	1 week
2007-02-07 19:44:44 +00:00
John Baldwin
8d56a4caf9 Make iostat(8) fully work on crash dumps again (broken since 5.0):
- Pass the address of the variable we are reading to kvm_read() rather
  than the index into the nlist array.
- Properly report errors from kvm_read() which returns -1 on error, not
  0.

MFC after:	3 days
2007-02-06 20:29:40 +00:00
Kevin Lo
9c20ad30e0 getopt(3) returns -1, not EOF. 2007-02-06 08:48:28 +00:00
Ruslan Ermilov
6a290a48ca - Bump document date.
- Kill whitespace at EOL.
- Add missing markup bit.
2007-02-06 08:46:20 +00:00
Kevin Lo
1c6adfcfdf getopt(3) returns -1, not EOF when out of args. 2007-02-05 07:35:23 +00:00
Mike Pritchard
aecf742ea2 Document that quotas must be turned off on a file system and
then turned back on in order for grace time changes to take
effect.
2007-02-04 14:26:01 +00:00
Shteryana Shopova
ffdddc92b4 Remove all #if __FreeBSD_version checks now that RSTP support has been
MFCed to RELENG_6. We no longer need that to compile the bridge module
under both RELENG_6 and CURRENT.

Approved by:	bz (mentor)
2007-02-04 13:31:05 +00:00
Mike Pritchard
fbb42904c4 If two files systems, /a and /b are marked as having quotas enabled
in fstab and they are normally mounted as /a/b, if /b is not mounted,
the various quota utilities will incorrectly operate with the quotas on
/a (silently) when operations are attemted on /b.

Sync up all the hasquota() routines between all the different
quota utilities and change it to detect if the file system we are
attempting to perform quota operations on is not currently mounted
and warn the user accordingly.

PR:	bin/38918
2007-02-04 06:33:15 +00:00
Mike Pritchard
dbbc0c8312 If quotas are not currently enabled for a file system, edquota -p
will operate directly on the quota file.  It will incorrectly write
the prototype user's usage information for each new quota it sets.

Fixed to read in the current quota information and update the
file correctly.

If quotas are enabled the kernel handles this case fine.

PR:	bin/15410
2007-02-04 01:41:32 +00:00
Pawel Jakub Dawidek
3201fe06ce Grr, committed manual page without the last change - make the comment a bit
prettier.
2007-02-03 00:15:46 +00:00
Pawel Jakub Dawidek
96968c223b Add support for multiple exports files. This will be useful for example for
ZFS, where we have automatically generated /etc/zfs/exports file, which
should not be edited directly.

Discussed with:	rwatson
2007-02-03 00:12:18 +00:00
John Baldwin
8866f04eb1 - Teach pciconf(8) to list the PCI capabilities supported by each device
via a new -c flag to be used with -l.  Some simple parsing code is
  present for the following capabilities: Power Management, AGP, VPD,
  MSI, PCI-X, HyperTransport, Vendor-specific, EHCI Debug Port, PCI-PCI
  bridge subvendor ID, PCI-express, and MSI-X.
- Fix a few warnings in pciconf.c.
- Update some cruft in pciconf(8):
  - PCI 2.1 is no longer a revolutionary standard, and subvendor ID's are
    fairly common at this point, so reflect that.
  - Header type 2 is used for PCI-CardBus bridges.
  - Describe the -v option for -l after completing the basic -l description
    instead of disrupting the flow in the middle.

Reviewed by:	imp (partially)
MFC after:	1 week
2007-02-02 19:54:17 +00:00
Pav Lucistnik
103fcbb3ba Fix previous rev.: don't step behind the end of memory we allocate 2007-02-01 15:52:47 +00:00
Ade Lovett
1bc1069b83 Remove hard-coded limit (200) on maximum number of packages that can be
added with a single invocation of pkg_add, replacing it with something
rather more dynamic.

Approved by:	portmgr (pav)
Tested by:	full pointyhat package run
MFC after:	1 week
2007-01-31 22:34:45 +00:00
Erwin Lansing
d43c17aa76 Add gnustep and ports-mgmt ports categories.
Reviewed by:		simon
MFC after:		3 days
2007-01-31 19:13:08 +00:00
Ruslan Ermilov
7d3017efd2 Add missing library dependencies and sort libraries
using lorder(1) so that static linkage is possible.
2007-01-30 15:10:37 +00:00
Ruslan Ermilov
e2f227fbaa Fix the logic bug that caused the custom versions of warn(3) and
warnx(3) to be compiled on systems that have it (e.g. FreeBSD),
while the intention was opposite, i.e., compile them on systems
that don't have them.  Also fixes static linkage of pkg_sign(1).
2007-01-30 15:09:30 +00:00
Poul-Henning Kamp
da7f7d4b34 Long overdue removal of vnconfig(8)
mdconfig(8) took over the job back when GEOM happened.

PR:	108360
Submitted by:	Alex Kozlov<spam@rm-rf.kiev.ua>
2007-01-28 08:53:48 +00:00
Craig Rodrigues
37518a88fb If nmount() fails to export a directory, in the syslog() error message,
add the errmsg string returned by nmount().
2007-01-26 13:26:43 +00:00
Mike Pritchard
fd7b77628d Display the name of the quota data file in verbose mode. 2007-01-24 22:52:32 +00:00
Craig Rodrigues
8a7b7c22be Decrease to WARNS=3. 2007-01-20 23:24:11 +00:00
Craig Rodrigues
bec41fbe83 Clean up compilation warnings. Set WARNS=6 in Makefile.
PR:	71659
Submitted by:	Dan Lukes <dan obluda cz>
2007-01-20 21:35:11 +00:00
Maxim Konovalov
ba5b74d001 o Remove duplicate includes.
Obtained from:	Slava Semushin via NetBSD
2007-01-20 08:24:02 +00:00
Christian Brueffer
fce8985370 Fix a typo in a comment, introduced in rev. 1.19. 2007-01-16 19:46:05 +00:00
Maxim Konovalov
198ecec6b9 o Remove duplicate #include <errno.h>.
Obtained from:	NetBSD (submitted by Slava Semushin)
2007-01-16 18:28:43 +00:00
Murray Stokely
71ed4e3258 Provide a more accurate description of the size of the ports collection. 2007-01-16 10:29:10 +00:00
Joel Dahl
80ffc9b73b Fix typos. 2007-01-12 08:44:55 +00:00
Sam Leffler
30a270b44b add man page 2007-01-12 05:36:28 +00:00
Sam Leffler
c31d92bb3d fix typo
MFC after:	1 week
2007-01-12 05:36:17 +00:00
Bernd Walter
f219cbb721 MFp4: struct fsm_opt_hdr needs to be __packed as it is used as an array for
handling wire data
	This is required to get ppp working on arm.
2007-01-05 00:33:00 +00:00
Matt Jacob
84292608b3 some whitespace cleanup (which I usually don't bother with)
so I could note that the previous delta was:

Reviewed by:	Mohan
2007-01-04 20:45:33 +00:00
Matt Jacob
96f8e17c48 Add a function that checks for duplicate requests (based
on some fairly tight criteria) so we avoid having broken
clients spam rpc.lockd to death.

PR:		107530
Obtained from:	Doug Rudoff
MFC after:	1 week
2007-01-04 20:38:50 +00:00
Ceri Davies
e2ad49199c During an upgrade, if /boot/kernel.prev exists then the backup of
/boot/kernel can fail.  Try to remove /boot/kernel.prev and cope the
best we can if that fails.

PR:		bin/106376
Submitted by:	Nobuyuki Koganemaru
Approved by:	ru
MFC after:	2 weeks
2007-01-01 17:25:51 +00:00
Ceri Davies
bb3d40ed84 Clarify a comment. 2006-12-31 19:12:00 +00:00
Ceri Davies
c9ffd81332 Fix typo. 2006-12-31 18:53:45 +00:00
Colin Percival
87b66e43a4 "block is set to UTC" -> "clock is set to UTC"
Submitted by:	csjp
2006-12-31 05:18:35 +00:00
Bjoern A. Zeeb
61644918e3 Re-connect snmp_bridge to the build. It survived a make universe
(apart from powerpc where the build broke earlier).
2006-12-29 19:24:51 +00:00
Bjoern A. Zeeb
a245531a29 bridge_snmp.h
* Change the API of bridge_get_basemac to take a maximum buffer length.

bridge_if.c
* Adopt to new API.
* In bridge_attach_newif() remove an additional pointer to the buffer
  by shuffling the code a bit. Also makes the code more readable.

bridge_sys.c
* bridge_get_basemac():
  - Adopt to the new API.
  - Change check for error code of getifaddrs().
  - First check for sa_family != AF_LINK.
  - Copy sockaddr_dl * to get around alignment constraints on some
    platforms.
  - Use strcmp instead of strncmp so that "foo11" != "foo1".
* other functions:
  - Allocate n times of the struct we need instead of arbitrary len,
    cast to the type we want it to be and pass around struct *s instead
    of char *s. This gets us around alignment restrictions on some
    platforms and in addition it is more clear what data is passed around.
  - Name variables for same types consistently.

Reviewed by:    syrinx
2006-12-29 19:23:38 +00:00
Yaroslav Tykhiy
9b3d1b0253 Fix a group of typos:
preceed -> precede,
preceeded -> preceded,
preceeding -> preceding.

Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2006-12-29 13:08:46 +00:00
Ruslan Ermilov
2552ba3619 Fix markup and change some layout; no content changes. 2006-12-27 13:52:57 +00:00
Colin Percival
764dd6b424 Add a sentence to the DESCRIPTION noting that updates aren't available
for -STABLE or -CURRENT.

Inspired by submission from:	Scott Robbins
MFC after:	3 days
2006-12-26 05:49:06 +00:00
Ruslan Ermilov
e36f056f97 Simplify and improve the markup. 2006-12-25 18:36:53 +00:00
Ruslan Ermilov
6855a26320 Tweak some wording and markup. 2006-12-22 23:23:59 +00:00
Ceri Davies
af0673c204 Correct the description of minpoll and maxpoll.
Note that while later versions of the ntpd documentation use the term
"dual logarithm", the text added here is consistent with the remainder
of the current document.

PR:		docs/106926
Submitted by:	Jeremy Chadwick
2006-12-21 19:08:25 +00:00
Bjoern A. Zeeb
6f3914bcf4 ia64 is nit-picking according to tinderbox so temporary disconnect
the bridge module from the build until this is fixed.
2006-12-21 01:58:22 +00:00
Shteryana Shopova
814c25f3ad Connect the snmp_bridge(3) module to the build.
Approved by:	bz (mentor)
2006-12-20 22:08:35 +00:00
Shteryana Shopova
3c6bf05583 Keep in sync with the if_bridge(4) module (rev. 1.20 if_bridgevar.h,
1.12 bridgestp.h) and rename all PointToPoint related variables
from P2P to PTP (s/P2P/PTP/g s/p2p/ptp/g).

Approved by:	bz (mentor)
2006-12-20 22:02:45 +00:00
Shteryana Shopova
42910bde6c Remove an unused variable.
Approved by:	bz (mentor)
2006-12-20 21:31:28 +00:00
Yaroslav Tykhiy
b8115f0517 Make grammar a bit more consistent in this document. 2006-12-20 06:21:51 +00:00
Yaroslav Tykhiy
736304033d Allow for module-path being a semicolon-separated list of dirs.
This is consistent with kern.module_path sysctl and also compensates
for the unconventional syntax of asf(8) where the last of multiple
arguments is the output file, which prevents us from using the
traditional Unix syntax "foo file ..." to specify multiple module
dirs.

Submitted by:	emaste
MFC after:	1 week
2006-12-20 06:20:04 +00:00
Erwin Lansing
db8e6345c3 - Add geography and spanish ports categories
- Use "related to" instead of "relating to" consistently [1]

Submitted by:   Rostislav Krasny <rosti.bsd@gmail.com> [1]
Reviewed by:    simon
MFC after:      3 days
2006-12-19 16:46:44 +00:00
Nick Hibma
0f71a1cba6 Don't exit from watchdogd on receiving a signal if we cannot stop the watchdog.
That'll require -KILL. This avoids resetting your system on one of the
watchdogs that you cannot disable.
2006-12-15 22:47:36 +00:00
Shteryana Shopova
f02a1e5794 Do not add 'default:' cases inside a switch() on an enum like the
SNMP option argument. That way the compiler will give a warning in
case of a missing or an extra but unknown 'case:'.
Do the same for SNMP LEAF objects to be prepared once gensnmptree will
auto-generate enums for those too.
Add an abort() after the switch() instead of the 'default:' to catch
any errors. The nice side effect is that the compiler will correctly
track supposed to be 'uninitialized' variables with that.

When trying to set a value sanity check it before calling the OS
dependent API of snmp_bridge to tell whether it is an attempt to
set a bad value or a general error.

Suggested by:	harti (first part)
Approved by:	bz (mentor)
2006-12-15 20:01:57 +00:00
Pyun YongHyeon
6451876451 Add msk(4) to the list of supported network interface. 2006-12-13 02:51:26 +00:00
Erwin Lansing
ab5e0c9ec1 Fix a typo ceri found while reviewing and I forgot to commit
in the previous version.

Submitted by:	ceri, matteo
Reviewed by:	cperciva

Also note that the last revision was:
Reviewed by:	ceri, simon
2006-12-11 11:01:13 +00:00
Erwin Lansing
60be46aeff Update the list of ports categories.
This is an updated version of:
PR:             85367
Submitted by:   linimon

Reviewed by:    simon
MFC after:      3 days
2006-12-11 08:54:17 +00:00
Erwin Lansing
6c99f866c8 Add a new turkish mirror
Submitted by:   Evren Yurtesen <yurtesen@ispro.net>
Reviewed by:    simon
MFC after:      3 days
2006-12-10 16:33:38 +00:00
Shteryana Shopova
5b6598a8c2 Instead of explicitly initializing variables to avoid compiler warnings,
add a default case to handle the situation when the variables are not
initialized.
Furthermore, abort() if the snmp agent passes an invalid option to the
bridge module. As the option (SET, GET, GETNEXT, COMMIT, ROLLBACK) is
determined by the snmp agent based on the operation requested by user,
this behaviour is unlikely to be abused as a source for a DoS, but if
ever hit will likely reveal a problem in the snmp agent or bridge
module.

Approved by:    bz (mentor)
2006-12-09 20:58:26 +00:00
Shteryana Shopova
b5906f8eed Add support for RSTP (RFC4318) to the SNMP bridge monitoring module.
Approved by:	bz (mentor)
2006-12-07 22:36:17 +00:00
Ceri Davies
3f61998e1c Flush my typo fix queue for this directory. 2006-12-05 23:20:14 +00:00
Ceri Davies
b3bd9a1702 Fix typos. 2006-12-05 23:05:53 +00:00
Erwin Lansing
1de945d663 Add ftp.il.freebsd.org to the IPv6 server section.
Submitted by:	Rostislav Krasny <rosti.bsd@gmail.com>
Reviewed by:	simon (also previous commit)
MFC:		3 days
2006-12-02 09:58:01 +00:00
Erwin Lansing
e48b3d7ad7 - Add israeli mirror [1]
- Add an IPv6 main site now both ISC and TDC have IPv6

Submitted by:	Rostislav Krasny <rosti.bsd@gmail.com> [1]
MFC:		3 days
2006-12-01 22:49:51 +00:00
Ceri Davies
95b9bd2890 Bump .Dd for revision 1.8. 2006-11-30 18:06:57 +00:00
Maxim Konovalov
ca60a6fe85 o Xr netconfig(5).
PR:		docs/105720
Submitted by:	koitsu
MFC after:	1 week
2006-11-29 09:01:28 +00:00
Yoshihiro Takahashi
983bba070e Increase USR_MIN_SIZE to 160 because it requires more disk space.
MFC after:	3 days
2006-11-28 11:48:34 +00:00
Maksim Yevmenkin
06912ebab3 Do not mark Bluetooth HID device as a "potential keyboard" if its descriptor
has items with CONSUMER page. For now only check for items with KEYBOARD page.
This should prevent bthidd(8) from allocating vkbd(4) keyboard for Microsoft
Bluetooth Explorer mouse.

Reported by:	Eric Anderson
MFC after:	3 days
2006-11-27 22:52:11 +00:00
Ruslan Ermilov
968ed7eedb Push the detection of threading libs support down to ngctl/Makefile
as the latter can be built without threading (with the loss of line
editing functionality).

Pointed by:	glebius
2006-11-27 16:55:14 +00:00
John Birrell
51d9ddc635 Back out half of my previous change to support parallel makes.
The generated Makefile clashes with the src/bin/sh/Makefile, causing
it to try to use a rule to build something it doesn't need to.
2006-11-27 01:35:11 +00:00
Sam Leffler
cb3b333294 add rate knob for net80211 rate control modules
MFC after:	1 month
2006-11-26 19:56:25 +00:00
Ruslan Ermilov
1d5dd15d75 Fix "make checkdpadd". 2006-11-26 14:43:03 +00:00
Ruslan Ermilov
8af480aec1 - When building world WITHOUT_LIBPTHREAD, link libthr to libpthread.
- Don't build ngctl(8) and cached(8) if threading libs aren't built.
- Fix various issues in a cached(8) makefile.
2006-11-26 14:36:34 +00:00
Colin Percival
bce02f9836 Three minor bug fixes:
1. When downloading metadata files, make sure we only download each
file once; without this fix, "freebsd-update fetch" will fail the first
time it is run if there have been no updates yet for the installed
release.
2. If the FOO kernel is installed in /boot/kernel instead of /boot/FOO
and the /boot/FOO directory does not exist, don't try to update
/boot/FOO.  This is an issue only where an update involves adding a new
kernel module.
3. When removing files and directories, operate in reverse
lexographical order, in order to ensure that files are removed before
the directory which contains them.

MFC after:	3 days
2006-11-25 07:30:12 +00:00
John Birrell
80f498e559 Fix another parallel make problem with the generated make file.
Define the xxx_OBJPATHS earlier and then use it in the xxx_make
target because each obj is actually made through that.

This allows the crunch to work with -j32 on sun4v.

The makefile generated is still poor, though. It really shouldn't use
the general 'make all' to do the submakes in the app directories being
crunched because each of those objects is listed as a dependency in
the generated crunch makefile. Doing that really requires a unique rule
to generate them.
2006-11-24 03:56:25 +00:00
Ken Smith
d91461f372 Oops - what people refer to as linux_base-fc4 calls itself linux_base-fc
and that's what pkg_add needs.

MFC after:	1 day
2006-11-23 00:57:10 +00:00
John Birrell
e8a1d46e97 Add the SUBMAKE_TARGETS (like ppp_make) to the dependency list
for linking the crunched app so that when a parallel make is run
(like -j32 on sun4v), the link waits for the sub-make processes
to complete.
2006-11-22 07:52:14 +00:00
Craig Rodrigues
c327d865f6 Remove reference to mount_fdescfs.
Reminded by:	ru
2006-11-22 00:34:17 +00:00
Craig Rodrigues
91f9dc8492 Change mount_devfs reference to "mount -t devfs".
Reminded by:	ru
2006-11-21 23:45:44 +00:00
Shteryana Shopova
7850265edd Bring in a SNMP module to support monitoring if_bridge(4) interfaces
via bsnmpd(1). The module implements IETF BRIDGE-MIB as defined in
RFC4188 and a private BEGEMOT-BRIDGE-MIB.

Sponsored by:  Google Summer of Code 2006
Reviewed by:   bz
Approved by:   bz (mentor)
2006-11-19 15:42:48 +00:00
Ken Smith
baddd88f3f Move the check for which disc volume we have/want to after we install
the package dependencies.  Installation of the dependencies may leave
us on the wrong disc volume.

MFC after:	3 days
2006-11-19 08:12:54 +00:00
Craig Rodrigues
09fc9dc689 Ignore SIGPIPE, instead of terminating process.
PR:		81230
Submitted by:	Dmitrij Tejblum <tejblum yandex-team ru>
MFC after:	1 month
2006-11-18 22:43:20 +00:00
Sam Leffler
52f01b3b0e add wpa_passphrase utility to the build
PR:		bin/104457
Submitted by:	Henrik Brix Andersen
MFC after:	1 week
2006-11-17 19:38:51 +00:00
Ken Smith
b720454e87 Switch to linux_base-fc4 for the Linux emulation package.
MFC after:	3 days
2006-11-16 19:09:41 +00:00
SUZUKI Shinsuke
5e5792a887 implemented more validation checks about incoming responses per RFC2080, and one additional heuristic check for safer operation.
Obtained from: KAME
MFC after: 1 week
2006-11-16 19:03:03 +00:00
Ruslan Ermilov
c5233647e2 Grammar fix from Ceri. 2006-11-16 13:43:05 +00:00
Ruslan Ermilov
b59cc9bbf4 Document that visual bell is the global setting, while
other bell types can be set individually for each vty.
2006-11-16 12:37:35 +00:00
Ruslan Ermilov
5a66b66324 Replace magic numbers for console bell types with defines. 2006-11-16 12:27:51 +00:00
Yaroslav Tykhiy
c42d8ce5f6 Building faithd(8) has no sense if WITHOUT_INET6 is set.
PR:		bin/100805 (audit-trail)
Noticed by:	Alex Kozlov
2006-11-15 14:57:05 +00:00
Ruslan Ermilov
7134f7ea44 The utility accepts multiple arguments. 2006-11-13 09:12:25 +00:00
Markus Brueffer
cb233e74cf - Grammar fixes
- Reword some sentences
- Use .Cm for arguments
- s/CAVEAT/CAVEATS/

Based on PR:	docs/78174
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
Reviewed by:	brueffer
Approved by:	emax (mentor)
MFC after:	3 days
2006-11-13 01:13:28 +00:00
Joel Dahl
a9e889bc33 Change authors e-mail.
Requested by:	Niclas Zeising
2006-11-12 21:43:21 +00:00
Hajimu UMEMOTO
da525eb2e7 Teach an IPV6CP to pppd(8).
The eui64.[ch] and ipv6cp.[ch] were taken from ppp-2.3.11.
However, our stock pppd(8) doesn't provide option_t nor some
utility functions.  So, I made some hacks to adjust to our
stock pppd(8).
The sys_bsd.c part was taken from NetBSD with some
modifications to adjust to our stock pppd(8).

MFC after:	1 week
2006-11-12 17:36:58 +00:00
Hajimu UMEMOTO
39383a88d2 This commit was generated by cvs2svn to compensate for changes in r164219,
which included commits to RCS files with non-trunk default branches.
2006-11-12 17:13:45 +00:00
Hajimu UMEMOTO
1b1804f84b Import eui64.[ch] and ipv6cp.[ch] of ppp-2.3.11 2006-11-12 17:13:45 +00:00
Ceri Davies
9741b9d59b Remove a warning regarding disk entries in /dev.
Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 12:59:59 +00:00
Ceri Davies
6e92263034 Fix a pair of user-visible typos.
Approved by:	ru (mentor)
2006-11-11 10:43:11 +00:00
Ceri Davies
6de4428149 Back up /boot/kernel rather than /kernel for non-interactive upgrades.
Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 10:42:04 +00:00
Ceri Davies
c615ed418d Add /lib and /libexec to the list of directories that have the schg
flag removed prior to an upgrade.

Approved by:	ru (mentor)
MFC after:	4 days
2006-11-11 10:38:10 +00:00
Hartmut Brandt
1e1c4c13fb Make the generated oid.h dependend on the Makefile. The Makefile defines
the symbols to be extracted from the MIB and if that list of symbols is
changed, oid.h should be re-generated.
2006-11-08 10:36:57 +00:00
Ceri Davies
46bcfc7375 Fix typos in comments. 2006-11-07 23:54:14 +00:00
Colin Percival
ab5b7534b6 Add support for the HTTP_TIMEOUT environment variable (integer number
of seconds, just like in fetch(1)).

Submitted by:	rdivacky
2006-11-07 09:18:09 +00:00
Maksim Yevmenkin
a85871a72c Properly htole16() PSM in sockaddr_l2cap
MFC after:	3 days
2006-11-02 18:57:09 +00:00
Maxim Konovalov
1ab1fe7628 o There is no securenets(5) man page, refer to ypserv(8).
Obtained from:	DragonFlyBSD
MFC after:	1 week
2006-11-02 07:36:33 +00:00
Gleb Smirnoff
99eebd2a7c Fix buildworld. 2006-10-31 21:44:46 +00:00
Markus Brueffer
77814ea000 - Add a 'verbose' switch -v
- Only dump items that are being used for padding when being verbose. This
  brings bthidcontrol in line with the behaviour of usbhidctl(1).
- Update the manpage accordingly

Approved by:	emax
2006-10-31 00:26:58 +00:00
Warner Losh
6d815a7d8c Add MPEG2-TS/HDV support to fwcontrol.
Submitted by: Petr Holub" <hopet@ics.muni.cz>
Clean up by: mi@
Pr: 98134
2006-10-26 22:33:38 +00:00
Ruslan Ermilov
ef65fa0fcc Force the use of the tbl(1) preprocessor. 2006-10-25 10:44:59 +00:00
Warner Losh
a4ae1f8999 Don't leak files.
This also eliminates the need for ifp init.

Submitted by: ru@
2006-10-24 07:12:31 +00:00
Warner Losh
5fd6a6b362 Document multiple hints lines.
Tweak machine description to more accurately reflect second argument being
the cpu architecture.  Note correspondence with MACHINE and MACHINE_ARCH.
2006-10-24 00:44:40 +00:00
Warner Losh
86418d0cef End my resistance to jmg's multiple hints files and bring in support
for having multiple hints files generate a correct hints.c (eg, with
all the specified ones catenated together).
2006-10-24 00:31:59 +00:00
Warner Losh
55659bb594 style(9) pedantry 2006-10-24 00:07:39 +00:00
Warner Losh
f4359e4e36 Since multiple hints lines do not work, make doing that a fatal error. 2006-10-24 00:02:23 +00:00
Erwin Lansing
82336c7dbb If the user did not chose a distribution from the menu, a sensible
default distribution (user) will be installed, however, no kernel
will be installed.  Fix this by installing a sensible default kernel,
SMP/GENERIC, depending on WITH_SMP and number of CPUS found.

Reviewed by:    jhb
2006-10-23 20:49:49 +00:00
Ruslan Ermilov
fffa30fb6d Comment out the first paragraph; while it tells the true (we're using
the old BSD config(8) utility in FreeBSD), it does not look good.

PR:		docs/100328
2006-10-21 20:09:51 +00:00
Colin Percival
f2890dbd24 Set LC_ALL=C in order to avoid problems with character ranges and
sorting.

PR:		bin/104505
MFC after:	3 days
2006-10-21 11:04:34 +00:00
Rink Springer
300a6ee829 My previous commit made it impossible to export / over NFS; this small
change fixes this.

Reported by:	Lin Jui-Nan Eric < ericlin dot jnlin at gmail dot com >
Submitted by:	Erik Trulsson < ertr1013 at student dot uu dot se > (commit is inspired by a patch from Erik)
Pointyhat to:	me
Reviewed by:	stable@
Approved by:	imp (mentor)
MFC after:	3 days
2006-10-19 19:46:49 +00:00
Warner Losh
42e49837d9 Package the dumpcisfile functionality into a new dumpcis command.
Also, don't build pccardc now.  I've left it in place for people that
wish to build it to test experimental support for oldcard
functionality that may have been lost in newcard.
2006-10-18 21:09:43 +00:00
Warner Losh
876e9ce41a Delete now-unused portion of pccardd. OLDCARD is gone from the kernel. 2006-10-18 20:48:05 +00:00
Warner Losh
a8a3bce91e Always build pccardc.
# I should remove the oldcard vestages from it...
2006-10-18 19:56:41 +00:00
Ruslan Ermilov
000723a6f8 Normalize MAN. 2006-10-18 12:35:24 +00:00
Gleb Smirnoff
06274cee44 - Before doing ioctl(SIOCGIFNETMASK) put the proper IP address into the ifreq,
to obtain correct netmask in case of interface with multiple aliases.
- While here, remove a comment with a bad idea.

PR:		bin/42120
Submitted by:	Dmitry Frolov <frolov riss-telecom.ru>
2006-10-13 12:38:43 +00:00
Ruslan Ermilov
023231280f Fix manpage's SYNOPSIS and program's usage().
XXX: some options are still left undocumented.

PR:		docs/43861
2006-10-12 13:01:34 +00:00
Tom Rhodes
42c3aae2ea Mark up keywords with .Cm.
PR:		95039
Sumitted by:	SeaD (older version)
Reviewed by:	ru
2006-10-12 01:59:34 +00:00
Markus Brueffer
f7b2cb32e1 - Grammar and typo fixes
- Rewording of some sentences

Reviewed by:	brueffer
Approved by:	emax (mentor)
MFC after:	3 days
2006-10-10 22:38:31 +00:00
Tom Rhodes
57e72b9534 Remove ndisapi.9 Xref.
PR:	97375
2006-10-10 07:19:30 +00:00
Markus Brueffer
13d38e1a13 Fix a typo introduced in the last commit: WWW Refresh is 0x227, not 0227
Approved by:	emax (mentor)
MFC after:	1 day
2006-10-09 22:27:23 +00:00
Tom Rhodes
fd59f59ae3 Better mdoc(7). Bump doc date.
Kicked by:	ru
2006-10-09 19:01:02 +00:00
Tom Rhodes
31e224dd37 Note the naming convention of files in share/skel and explain the "dot"
prefix is removed.

PR:	103828
2006-10-09 17:57:40 +00:00
Rink Springer
6a5a80bd0f Prevent mountd(8) from resetting mount options when exporting a filesystem.
Approved by:		imp (mentor)
Sponsored by:		Quality Service Provider BV
MFC after:		3 days
2006-10-09 17:38:18 +00:00
Ceri Davies
297a4b8352 When using sysinstall on a running system and editing a disk label
fails, suggest setting kern.geom.debugflags to 16.

PR:		bin/94409
Submitted by:	Markus Oestreicher <m punkt oe at x dash trader dot de>
MFC after:	10 days
2006-10-08 21:16:00 +00:00
Ruslan Ermilov
c0f20e2720 Sort SUBDIR. 2006-10-05 12:18:15 +00:00
Ruslan Ermilov
d9fb65c84d Added rudimentary support for the "include" directive (inside "files").
This will be used to split sys/conf/files into multiple files similar
to how this is done in NetBSD.
2006-10-01 17:17:29 +00:00
Ruslan Ermilov
66f6e0e5df Revise markup. 2006-09-30 19:07:03 +00:00
Ruslan Ermilov
0708945a3c Fix usage(). 2006-09-30 18:11:59 +00:00
Ruslan Ermilov
ebfbcb8bec Create section 8 man subdirectories for PowerPC. 2006-09-30 09:02:38 +00:00
Maxim Konovalov
c433b438f2 o Check we have a non-NULL pointer to a super block before dereference it.
PR:		misc/103822
Submitted by:	Dmitry Stefankov
MFC after:	2 weeks
2006-09-30 07:34:20 +00:00
Ruslan Ermilov
bc84aa4ba3 Markup fixes. 2006-09-29 17:57:04 +00:00
Ruslan Ermilov
b3e2f7a6d8 Sync usage() with manpage's SYNOPSIS. 2006-09-29 17:36:38 +00:00
Ruslan Ermilov
24bffe0613 Line up usage output. 2006-09-29 17:28:01 +00:00
Ruslan Ermilov
7bd89ff038 Fix usage(). 2006-09-29 17:23:14 +00:00
Ruslan Ermilov
37085ccacf Sync usage() with manpage's SYNOPSIS. 2006-09-29 17:17:53 +00:00
Ruslan Ermilov
36610ce416 Sync usage() with manpage's SYNOPSIS. 2006-09-29 17:04:03 +00:00
Ruslan Ermilov
ae67ba29a4 Language tweak. 2006-09-29 16:51:29 +00:00
Ruslan Ermilov
d20241a618 Sync usage() and SYNOPSIS. 2006-09-29 16:46:01 +00:00
Ruslan Ermilov
34cd417b64 Whitespace nit. 2006-09-29 16:10:28 +00:00
Ruslan Ermilov
f6385e481e Sync utility's usage() with manpage's SYNOPSIS. 2006-09-29 16:07:44 +00:00
Bruce M Simpson
2d20d32344 Push removal of mrouted down to the rest of the tree. 2006-09-29 15:45:11 +00:00
Bruce M Simpson
aa805a5eb7 Remove mrouted from -CURRENT.
Discussed with:	fenner, net@
2006-09-29 10:40:53 +00:00
Bruce M Simpson
13b3ebf134 Remove mrouted and its utilities from the base system.
They may now be obtained from ports.

Discussed with:	fenner, net@
2006-09-29 10:39:23 +00:00
Ruslan Ermilov
eb0fa6f5d7 Remove bogus casts of valid integer ioctl() arguments. 2006-09-26 21:46:12 +00:00
Brian Somers
cf2603700e Behave as documented when reading fields saying "X/Y" where X != *
rather than mis-parsing them as "X".

MFC after: 1 day
2006-09-26 18:06:09 +00:00
Ken Smith
3aaadbcce2 Oops. Catch up on the last couple of releases and prepare for the next
one.
2006-09-26 14:51:33 +00:00
David E. O'Brien
b14f05094a Catch up with share/mk/bsd.sys.mk rev. 1.38. 2006-09-26 02:18:35 +00:00
Robert Watson
be3ca90685 auditreduce now requires OpenBSM's config/config.h, so add that to the
build include path.

MFC after:	3 days
Obtained from:	TrustedBSD Project
2006-09-25 11:56:20 +00:00
Bruce M Simpson
790ca1147e De-orbit burn tcpslice.
Reviewed by:	sam, bmah
2006-09-24 09:18:36 +00:00
Bruce M Simpson
81fbc3d1f3 Disconnect tcpslice from build.
Reviewed by:	sam, bmah
2006-09-24 09:16:27 +00:00
Bruce M Simpson
2c2da9973b Fix our ancient tcpslice for >2GB limits.
PR:		bin/13691
MFC after:	1 week
Submitted by:	Bruce A. Mah
2006-09-23 21:12:23 +00:00
Alexander Kabaev
24c2567f03 Do not bypass WARNS machinery by hadcoding -Werror into CFLAGS. 2006-09-21 18:16:22 +00:00
Maksim Yevmenkin
6e9bee6438 Pacify new GCC4 warnings.
Submitted by:	kan
MFC after:	1 week
2006-09-21 17:16:37 +00:00
Maksim Yevmenkin
89facd824a Get rid of extra const to pacify new GCC4 warnings.
Submitted by:	kan
MFC after:	1 week
2006-09-21 02:41:04 +00:00
Maksim Yevmenkin
831a4264af Use socklen_t instead of int32_t where appropriate to pacify new GCC4
warnings.

Submitted by:	kan
MFC after:	1 week
2006-09-21 02:32:28 +00:00
Alexander Kabaev
62d9c4f594 Do not use int where socklen_t is expected. 2006-09-21 02:01:46 +00:00
Alexander Kabaev
9a4194814d Silence GCC4 signed/unsigned pointer mismatch warning. 2006-09-21 01:48:47 +00:00
Alexander Kabaev
53d588be85 Do not use int where socklen_t is expected. 2006-09-21 01:41:03 +00:00
Maxim Konovalov
04cfd91b6a o Fix groupadd getopt line and make 'pw groupadd -o' work.
PR:		bin/100684
Submitted by:	Devon H. O'Dell
MFC after:	3 weeks
2006-09-18 14:00:39 +00:00
Hajimu UMEMOTO
bba6dc1d5b Listen to a control socket on an IPv4 as well through
an IPv4-mapped IPv6 address.

Reported by:	Julian H. Stacey <jhs__at__flat.berklix.net>
Test by:	Julian H. Stacey <jhs__at__flat.berklix.net>
MFC after:	1 week
2006-09-18 03:50:30 +00:00
Maksim Yevmenkin
eb65c05e44 Make op parameter to mux_keyboard() u_int instead of int.
This should fix sparc64 messages like

Sep 15 11:17:39 peahi kernel: WARNING pid 5477 (kbdcontrol): ioctl sign-extension ioctl ffffffff80244b45

PR:		sparc64/96798
MFC after:	1 week
2006-09-15 18:41:12 +00:00
Ruslan Ermilov
906c8a734c Removed T/TCP bits. 2006-09-14 08:36:53 +00:00
Philippe Charnier
606a36b9eb initialize unitialized variables (WARNS=6) 2006-09-14 04:45:44 +00:00
Philippe Charnier
e55942e33c compile under WARNS=6 2006-09-13 05:01:25 +00:00
Maksim Yevmenkin
2d7f9912e0 Temporarily put ugly workaround in place to make sparc64 build happy.
panther is down at the moment, so better fix will follow later.
2006-09-08 15:05:38 +00:00
Maksim Yevmenkin
7aebfa93ac Update bthidd(8) code and hook it up to the build.
bthidd(8) now was integrated with vkbd(4) and supports
multiple keyboards via vkbd(4)/kbdmux(4).

The code was tested with Apple Bluetooth keyboard and
SE k700i cell phone (remote control feature).

MFC after:	1 month
2006-09-07 21:47:49 +00:00
Brian Somers
e5bec77751 Remove leading zeros
Suggested by:	mdoc police (ru)
2006-09-06 15:58:59 +00:00
Brian Somers
d398d50285 Remove __DATE__ so that compiling the same source produces the same binary
(for non-static binaries at least).
2006-09-06 06:33:39 +00:00
Brian Somers
3026fd06ca If the peer REJects our MRU request and that request is for a value
less than the current MTU, set our mtu to the value requested.
2006-09-06 06:23:55 +00:00
Sam Leffler
56e4b2d3cc update for v3.9.4
MFC after:	1 month
2006-09-04 20:27:05 +00:00
Sam Leffler
85fb34beb0 add define's from config.h for pcap-int.h; this is a noop now
but will be required for libpcap 0.9.4
2006-09-04 19:30:44 +00:00
Ruslan Ermilov
405a44d326 Use a #define to refer to /etc/crontab. 2006-09-03 17:52:19 +00:00
Sam Leffler
b3f627ac81 incorporate Rui Paulo's work
Obtained from:	netbsd
2006-09-02 17:56:24 +00:00
Colin Percival
b698a3ab22 Conform to wider English usage.
Submitted by:	Royce Williams
2006-09-02 10:47:01 +00:00
Poul-Henning Kamp
efc88ae81d Document that the default timeout is 16 seconds 2006-09-02 09:11:58 +00:00
Marius Strobl
d647ed4cf6 - Improve the description of gem(4); the Sun chips it supports are
termed ERI and GEM rather than GMAC.
- Bring the description of le(4) in line with the current le(4); it
  was still refering to the old i386 ISA-only le(4) which was nuked
  along with ISA_COMPAT while HEAD was FreeBSD 5.
- Add an entry for hme(4).
- Remove the obsolete entry for lnc(4).

MFC after:	1 day
2006-09-01 22:34:49 +00:00
Marius Strobl
ad3c888766 Add missing '?' in "watchdog-enable?".
MFC after:	1 day
2006-09-01 20:09:22 +00:00
Marius Strobl
6ca1d15e09 Fix indentation in two spots to match the rest of this file. 2006-09-01 20:07:15 +00:00
Colin Percival
444f80d54b s/MAN8/MAN/
Pointed out by:	ru
2006-09-01 09:49:09 +00:00
Ruslan Ermilov
458c311721 Style. 2006-09-01 09:24:28 +00:00
Ruslan Ermilov
23e8fc3aeb It's spelled MAN. 2006-09-01 09:07:11 +00:00
Colin Percival
48ffe56ac5 Add FreeBSD Update 2.0 client code. The build code is in the projects
repository.

Sponsored by:	FreeBSD security development fundraiser
2006-08-31 09:51:34 +00:00
Brooks Davis
0fffba68bd When generating localhost entries in /etc/hosts, put localhost before
localhost.domain so that naive users of gethost* think 1:: and 127.0.0.1
are "localhost" which is what the user expects.  This also matches the
sample hosts file in src/etc/hosts.
2006-08-30 15:14:00 +00:00
Thomas Quinot
35a64c9f6f Set alarm timer for grace period from the grace_period variable, instead
of hard-coding a value of 10 seconds. Command line flag -g is thus now
correctly taken into account.

PR:		bin/102176
MFC after:	1 week
2006-08-23 15:59:43 +00:00
Ruslan Ermilov
2b46c64c9c Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
Marcel Moolenaar
a18003357c Build mount_smbfs on ia64. 2006-08-22 03:31:24 +00:00
Christian Brueffer
ae277cc673 Add several missing NIC drivers, remove two obsolete ones (el, ix).
Approved by:	rwatson (mentor)
MFC after:	1 week
2006-08-21 09:25:59 +00:00
Ruslan Ermilov
7b64620d93 Fix the output glitch. 2006-08-21 09:15:17 +00:00
Xin LI
ccb43d66aa Use same signedness for i and matched_c. This should make
newsyslog(8) WARNS=6 clean.
2006-08-17 18:15:43 +00:00
Yaroslav Tykhiy
81cd89bd43 Enumerate all cases where -i is applicable.
MFC after:	3 days
2006-08-17 07:14:01 +00:00