Commit Graph

9799 Commits

Author SHA1 Message Date
wiz 85e4f3c354 security(7), not (8). 2011-04-28 11:23:57 +00:00
wiz 5989309eef Add -f to usage, and make it match man page. 2011-04-25 22:54:05 +00:00
wiz 819b5392dd New sentence, new line. Use more markup. 2011-04-25 22:53:09 +00:00
wiz 933a549c56 Make usage match manpage. 2011-04-25 22:51:26 +00:00
wiz 9ebf684514 Remove unimplemented -b option. From YOMURA Masanori. 2011-04-25 22:49:06 +00:00
wiz d76f551343 Add option arguments to descriptions. From YOMURA Masanori. 2011-04-25 22:46:35 +00:00
wiz f62c7cc384 Typo, and markup consistency. From YOMURA Masanori. 2011-04-25 22:45:31 +00:00
wiz a3587e505a Use Fl for flags, not Ar. 2011-04-25 22:34:46 +00:00
wiz 2da9b3e053 New sentence, new line. 2011-04-25 22:32:27 +00:00
wiz 2c1d99899f New sentence, new line. Remove trailing whitespace. 2011-04-25 22:20:29 +00:00
wiz 9c28d8c767 Use more markup. 2011-04-25 22:12:05 +00:00
martin 0210de65a6 Use rsd0c instead of the (far less common) rwd0c as boot disk in the
sparc64 example.
2011-04-25 07:04:50 +00:00
manu 33c1bbe9da - fix warnings
- try to handle ENOBUFS in a nicer way
- use errx() for usage message, not err(), as we do not waht strerror(errno)
2011-04-25 04:30:59 +00:00
martin 4b3298a1fe Invert the chroot/tcpdump/etc test and make it remove the (not needed
anymore) directory.
2011-04-17 13:16:59 +00:00
elric 98fbe74f8c Upgrade Heimdal to 1.5pre1 by switching the build from crypto/dist/heimdal
to crypto/external/bsd/heimdal.  The latter was just imported as the head
of the Heimdal tree as of a few days ago.
2011-04-15 18:05:42 +00:00
mrg e813220ee8 enable crash(8) for sparc64. it's still sort of minimal and segvs
on some commands, but it sort of works and isn't useless.
2011-04-14 08:21:06 +00:00
mrg 8ca46a05f4 replace a non-working make construct with a working one.
now crash only builds unsupported.c on non-x86 systems again.
2011-04-12 01:47:20 +00:00
martin c98db97906 Add a new check to populate /var/chroot/tcpdump/etc 2011-04-11 20:29:50 +00:00
mrg 07a98cd33f obsolete DB_AOUT_SYMBOLS. however, we need to leave most of the code
in db_sym.[ch] as it is used by the elf version of crash(8).

i will be cleaning up the db_sym.c code in a follow up commit to avoid
having dead code compiled.
2011-04-11 04:22:30 +00:00
pgoyette 4516c056be Synchronize -N option name in Synopsis with that in the Description 2011-04-10 22:49:52 +00:00
christos bee149d152 - amd64 support
- fix end of file handling
From: Vladimir Kirillov proger at wilab dot org dot ua
2011-04-10 20:39:42 +00:00
ahoka 76a36edbfd fix one more flash_addr_t fallout 2011-04-04 18:30:07 +00:00
mbalmer 428c959348 Fix PR 42923, from Takahiro HAYASHI, thanks. 2011-04-02 10:19:27 +00:00
dholland 81f95bf6fa Don't cast return value of malloc 2011-03-30 05:24:05 +00:00
dholland b639c25325 use __printflike() 2011-03-30 05:20:59 +00:00
bouyer e5fa3d981b Make sure to not report quotas for a class if we didn't get valid datas
from kernel.
2011-03-27 17:15:17 +00:00
bouyer c5e67c7b83 quota2_prop.c moved to libquota 2011-03-25 10:30:35 +00:00
bouyer d9210c2405 Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)
2011-03-24 17:05:39 +00:00
jruoho b0ced04988 As per request from the author, put non-standard PERFORMANCE back. 2011-03-24 05:48:54 +00:00
christos 8bd84b0401 Fix typos in character ranges from: Baptiste Daroussin bapt at freebsd dot org 2011-03-23 13:11:51 +00:00
jruoho 761da725b5 Use 'offset indent' for the list of commands. Emphasize valid commands.
Remove PERFORMANCE (too small paragraph to warrant a section).
2011-03-22 07:40:10 +00:00
jruoho b9f2143d66 Use .Ss for non-standard subtitles in the DESCRIPTION. 2011-03-22 07:31:42 +00:00
jruoho 3ce23e1c1e Use a better width for the list. 2011-03-21 15:35:21 +00:00
joerg ff53df718a Create vers.c with -r, there is no point in embedding an ever changing
token that isn't even used.
2011-03-21 05:09:33 +00:00
plunky 0e26bab8bd provide more informative error messages 2011-03-20 19:46:13 +00:00
ahoka ab7aeea36d Fix markbad command 2011-03-20 06:10:27 +00:00
christos ade14f59b9 don't decrement if children are 0 2011-03-17 19:43:34 +00:00
joerg 080ec811b2 Remove chrtbl(8). Since NetBSD 1.6, the rune type based file format for
LC_CTYPE has been used.
2011-03-17 02:35:27 +00:00
christos 155180a9df - safer way to count kids
- if we are really bombarded with connections, don't bother to fork() and
  converse.
2011-03-16 20:17:00 +00:00
christos 976d43ec5c provide unconst for the havenots 2011-03-16 20:15:59 +00:00
pooka 8a0861f462 remove unnecessary superuser check -- bind will fail if bind fails 2011-03-14 12:03:45 +00:00
erh b0e49f7e0c Fix the usage of the -s option to mention using it multiple times, rather
than the deprecated colon separated syntax.
2011-03-12 23:04:16 +00:00
njoly d96aa7b8c7 - Protect flags to avoid macro expansion by mandoc.
- Explicitely close display block.
2011-03-07 17:44:37 +00:00
bouyer 5fd63a9777 Don't use the same char b0[] for BLOCK and FILE timeprt(), they would
override each others.
2011-03-07 11:56:31 +00:00
christos e73fcb7199 KNF 2011-03-06 23:41:47 +00:00
christos 6a453cd117 more code deduplication 2011-03-06 23:25:42 +00:00
christos cb869888d4 use common utils 2011-03-06 23:24:33 +00:00
christos 412de05f04 more KNF 2011-03-06 23:13:22 +00:00
christos a518d1d73c use merged out code. 2011-03-06 23:07:23 +00:00
christos 3f339fb13b - KNF
- merge code
- fix error printing
- don't use static buffers
2011-03-06 22:33:55 +00:00
wiz 54f3ceb271 Sort options, split "file system". 2011-03-06 17:36:32 +00:00
wiz 9758975014 Remove trailing whitespace; remove dot at end of SEE ALSO; new sentence, new line;
split "file system"; more markup.
2011-03-06 17:34:57 +00:00
wiz ee43c34a26 Split "file system" like usual. Improve SYNOPSIS. Various other fixes. 2011-03-06 17:32:38 +00:00
bouyer 063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
wiz 537c852bde Fix a typo, sort commands. 2011-02-27 23:28:12 +00:00
ahoka f338bae6fa Add manpage for flashctl 2011-02-27 17:51:45 +00:00
ahoka 2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
jmcneill 6c24ed80e8 make pcictl pci0 list dump all busses by default, unless a bus number is
specified with -b
2011-02-25 21:40:48 +00:00
wiz 1cc61a3b95 Add quoting for minus, for PostScript output. 2011-02-25 14:11:25 +00:00
jmcneill 29a080d47e Today I learned that 'pcictl pci0 list -b -1' lists devices on all busses. 2011-02-25 13:50:18 +00:00
hannken 05e91bfee8 fss(4): Allow FSSIOCSET to set the initial flags. Add a new flag
"FSS_UNLINK_ON_CREATE" to unlink the backing store before
        the snapshot gets created.

With this change dump(8) no longer dumps the zero-sized, but named
snapshot it is working on.  Same applies to fsck_ffs(8).
2011-02-24 09:38:57 +00:00
dyoung 6c185a0be8 Don't use bool as a variable name.
Remove a bunch of parameter names form function prototypes.
2011-02-23 01:23:03 +00:00
jmcneill 623e90f32d fix printing of padlock features 2011-02-19 13:34:38 +00:00
wiz 3d273e44b9 Sort option descriptions. Merge single-letter options in SYNOPSIS. 2011-02-17 17:05:05 +00:00
jruoho e96937f774 Provide a definition for the size of the RSDP in ACPI 1.0.
Appears to be missing in the new ACPICA.
2011-02-17 15:06:34 +00:00
jmcneill 0a87e1998a document -c and -s flags 2011-02-17 10:21:02 +00:00
jmcneill d34a996f1f - when dumping table bytes, make sure to dump our header and not the next one
- also dump tables with bad checksums, unless the -s flag is specified
2011-02-17 10:18:05 +00:00
jmcneill d91f7d5299 dump bytes for tables that acpidump doesn't decode, and print them
as characters instead of hex if '-c' flag is provided
2011-02-17 02:55:16 +00:00
uebayasi dbb2d01c6b Suppress a superfluous whitespace after "time=..." in the output. 2011-02-14 16:27:58 +00:00
kefren a9e39e843e get rid of unused variable/assignments 2011-02-14 11:43:59 +00:00
enami e8824b0da4 A number greater than or equal to 1.0 is a positive number. 2011-02-14 02:43:37 +00:00
enami 5a1e40df4f Put space after comma and around binary operator. 2011-02-14 02:42:26 +00:00
tron cdfb116b0f Install "etc/gpio.conf" if it is missing. 2011-02-13 20:25:35 +00:00
tron 85add3c312 Add "npf" to the list of startup scripts that get checked. 2011-02-13 20:17:26 +00:00
tsutsui 14d39e456d Fix botch in previous revision. Sorry for a stupid change. 2011-02-10 23:25:11 +00:00
kefren d2ac267049 stop processing a label mapping message if we don't have a route for it.
This way we avoid failing an assert later in mpls_add_label()
2011-02-10 12:44:41 +00:00
kefren 34493327dd use RT_ROUNDUP provided by net/route.h 2011-02-09 11:38:57 +00:00
rmind bb9ae7c0c2 Restore historic SCCS IDs in the comments (were removed in previous commit).
Noted by wiz@.
2011-02-09 10:25:40 +00:00
plunky 9119e9c88f the default socket rcvbuf for L2CAP is only 4Kbytes which is only
2 and a bit ethernet packets. Check and increase SO_RCVBUF on startup
so that we have buffers for 10 complete packets, should solve a
reported problem with overruns at higher connection speeds (our L2CAP
does not have any flow control).

(the default can still be adjusted upwards using sysctl)
2011-02-08 21:59:50 +00:00
plunky bc0aea6bfb check number of filters received against max possible 2011-02-08 21:43:45 +00:00
rmind 9b6bd2d968 Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
2011-02-08 20:20:06 +00:00
tsutsui 7efd442c9a Retire legacy grfinfo and hilinfo derived from HPBSD
since finally hp300 got wscons.
2011-02-07 18:11:28 +00:00
dholland b0b5abdaa0 Fix typo, from Henning Petersen in PR 44513. 2011-02-07 01:37:12 +00:00
yamt 6825a3d2a8 whitespace. no functional changes. 2011-02-05 13:32:32 +00:00
martin 82fe9809af Use RT_ROUNDUP() and friends from sys/route.h instead of homegrown
variants.
2011-02-04 14:31:23 +00:00
rmind 3bb326c464 Fix sun2 builds. Noted by joerg@. 2011-02-04 00:19:51 +00:00
rmind 07ac07d35f NPF checkpoint:
- Add libnpf(3) - a library to control NPF (configuration, ruleset, etc).
- Add NPF support for ftp-proxy(8).
- Add rc.d script for NPF.
- Convert npfctl(8) to use libnpf(3) and thus make it less depressive.
  Note: next clean-up step should be a parser, once dholland@ will finish it.
- Add more documentation.
- Various fixes.
2011-02-02 02:20:24 +00:00
chuck f46c12c85c remove no-longer-valid wustl email address for me.
no functional change with this commit.
2011-02-01 21:00:25 +00:00
chuck e2bf3ae6ea udpate license clauses on my code to match the new-style BSD licenses.
remove no-longer-valid wustl email address for me.

no functional change with this commit.
2011-02-01 20:58:15 +00:00
plunky 9a8271a39a when a BNEP channel is opened, clear any NetType or MulticastAddress
filters that may be in effect at the remote side.
2011-01-27 12:19:48 +00:00
plunky a14e16bfe0 style nit 2011-01-27 11:13:59 +00:00
pooka 5f7e80a834 Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
2011-01-26 01:18:43 +00:00
kefren 716840ec3a avoid advertising 0/8 transport address (conforming RFC1122
Section 3.2.1.3)
2011-01-22 19:46:46 +00:00
kefren 0c3c6bf2b7 use SLIST_FOREACH_SAFE when deleting a peer in loop 2011-01-22 19:35:00 +00:00
ginsbach 818c8e81ff - Replace fatal2() with the appropriate err(3)/errx(3) calls. 2011-01-20 15:48:11 +00:00
rmind f938371887 NPF checkpoint:
- Add the concept of rule procedure: separate normalization, logging and
  potentially other functions from the rule structure.  Rule procedure can be
  shared amongst the rules.  Separation is both at kernel level (npf_rproc_t)
  and configuration ("procedure" + "apply").
- Fix portmap sharing for NAT policy.
- Update TCP state tracking logic.  Use TCP FSM definitions.
- Add if_byindex(), OK by matt@.  Use in logging for the lookup.
- Fix traceroute ALG and many other bugs; misc clean-up.
2011-01-18 20:33:45 +00:00
minoura 1dfc739f1d Whitespace. 2011-01-14 13:31:47 +00:00
minoura c98325a1d2 Fix restore() (-r option). It didn't read the input file.
Apparently I did not test that code.
Pointed out by wiz@, thanks.
2011-01-14 13:25:16 +00:00
haad 6f5bb5ac37 Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.
This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.
2011-01-13 22:28:35 +00:00
jakllsch a96fe1437c Fix copy/paste error that resulted in a extra space after the KB/t column. 2011-01-09 03:35:23 +00:00