Commit Graph

174442 Commits

Author SHA1 Message Date
Eitan Adler
b2c3d69208 Correct spelling of "lily" [0]
Correct spelling of Camellia

PR:		misc/173655 [0]
Submitted by:	John Ryan <john@shiftregister.net> [0]
Approved by:	cperciva
MFC after:	1 week
2012-11-16 14:46:32 +00:00
Joel Dahl
ddc936569c Remove trailing whitespace. 2012-11-16 14:30:40 +00:00
Eitan Adler
f4dc482683 last commit was a mistake
Pointyhat to: me (for real)
Approved by: cperciva (implicit)
2012-11-16 14:25:13 +00:00
Gleb Smirnoff
716963cb5d Update comment. 2012-11-16 14:00:54 +00:00
Gleb Smirnoff
dc169f2862 o Remove meaningless PROTOCOLS section.
o Describe passing file descriptors as separate section.
  - Descriptors can be passed through any protocol of the UNIX family,
    not SOCK_STREAM and SOCK_SEQPACKET only. [1]
o Describe socket options as separate section.
  - Move LOCAL_PEERCRED option to this section.
  - Describe struct xucred.
  - In LOCAL_CREDS section mention that credentials
    are passed only on the first read on non-datagram
    sockets.
o Xref all mentioned system calls.

Noticed by:	Igor Sysoev [1]
2012-11-16 14:00:27 +00:00
Dag-Erling Smørgrav
eab7a548ba Fix weird indentation. 2012-11-16 12:31:43 +00:00
Andrey V. Elsukov
73cb2f38f2 Reduce the overhead of locking, use IF_AFDATA_RLOCK() when we are doing
simple lookups.

Sponsored by:	Yandex LLC
MFC after:	1 week
2012-11-16 12:12:02 +00:00
Andre Oppermann
ae7dc19cd1 Change fetch(1) to:
o Report the instantaneous bandwidth instead of an average since the
  beginning of the download.

o At the finish of the download report the average bandwidth and also
  the total time it took instead of 00m00s.

Reviewed by:	des
MFC after:	1 week
2012-11-16 12:05:10 +00:00
Joel Dahl
90c819e0a0 mdoc: Use the Ev macro for environmental variables. 2012-11-16 12:03:50 +00:00
Joel Dahl
788c8ebcb5 Remove trailing whitespace. 2012-11-16 11:56:53 +00:00
Kevin Lo
b95b21c7ab Document that rtprio(2) and rtprio_thread(2) can fail with EFAULT
due to the invoked copyout(9).

Reviewed by:	davidxu
2012-11-16 09:56:25 +00:00
Konstantin Belousov
134eb42e24 In pget(9), if PGET_NOTWEXIT flag is not specified, also search the
zombie list for the pid. This allows several kern.proc sysctls to
report useful information for zombies.

Hold the allproc_lock around all searches instead of relocking it.
Remove private pfind_locked() from the new nfs client code.

Requested and reviewed by:	pjd
Tested by:	pho
MFC after:	3 weeks
2012-11-16 08:25:06 +00:00
Alexander Motin
1fc2a61440 For some more completeness add matrixes for 3.1 and 7.0 channel setups. 2012-11-16 07:05:57 +00:00
Alan Cox
96509a1fd9 M_USE_RESERVE is no longer deprecated. It is once again supported.
Reviewed by:	kib
2012-11-16 06:40:40 +00:00
Konstantin Belousov
ea293f3f1d Restore the proper handling of the pid 0 for waitpid(2).
Fix the style around.

Reported and reviewed by:	bde (previous version)
MFC after:	28 days
2012-11-16 06:32:38 +00:00
Konstantin Belousov
e2d55f4866 Move the definition of the idtype_t from sys/types.h to sys/wait.h.
Fix the bug, use #if __BSD_VISIBLE instead of #if defined(__BSD_VISIBLE),
since __BSD_VISIBLE is always defined.
Reformat the comments from the Solaris style to KNF.

Reported and reviewed by:	bde
MFC after:	28 days
2012-11-16 06:29:52 +00:00
Konstantin Belousov
43bdcf9335 Alphabetically reorder the forward-declarations of the structures.
Add the declaration for enum idtype, to be used later.

Reported and reviewed by:	bde
MFC after:	28 days
2012-11-16 06:25:20 +00:00
Konstantin Belousov
a2a8559624 Style fixes for r242958.
Reported and reviewed by:	bde
MFC after:	28 days
2012-11-16 06:22:14 +00:00
Konstantin Belousov
43f48b65c0 Move the declaration of vm_phys_paddr_to_vm_page() from vm/vm_page.h
to vm/vm_phys.h, where it belongs.

Requested and reviewed by:	alc
MFC after:	2 weeks
2012-11-16 05:55:56 +00:00
Konstantin Belousov
962b064afe Explicitely state that M_USE_RESERVE requires M_NOWAIT, using assertion.
Reviewed by:	alc
MFC after:	2 weeks
2012-11-16 05:49:56 +00:00
Eitan Adler
94e7929e2c dot.login is supposed to be for bourne shell, not csh
Pointyhat to: me
Approved by: cperciva (implicit)
2012-11-16 04:25:35 +00:00
Greg Lehey
71cfc6780e Update man pages and clarify a number of options.
Rework block count calculations to work correctly with small "block" sizes.

MFC after:	14 days
2012-11-16 03:33:34 +00:00
Greg Lehey
370cbbf20d Move detailed description of BLOCKSIZE to getbsize(3).
MFC after:	2 weeks.
2012-11-16 01:43:23 +00:00
Greg Lehey
c90e931745 Complete man page.
MFC after:	2 weeks
2012-11-16 01:41:42 +00:00
Simon J. Gerraty
59a02420d8 Merge bmake-20121111
Also pay attention to MK_SHARED_TOOLCHAIN.

Approved by:	marcel (mentor)
2012-11-16 01:37:25 +00:00
Devin Teske
b98ba21ac2 + This patch does not change user experience or functionality
+ Cleanup syntax, slim-down code, and make things more readable
+ Introduce new +c! operator and ilk to reduce heap usage/allocations
+ Add safemode_enabled? safemode_enable and safemode_disable functions
+ Add singleuser_enabled? singleuser_enable singleuser_disable functions
+ Add verbose_enabled? verbose_enable and verbose_disable functions
+ Centralize strings (also to reduce heap usage)

Reviewed by:	peterj, adrian (co-mentor)
Approved by:	adrian (co-mentor)
2012-11-16 01:24:11 +00:00
Eitan Adler
a48556ba8d Remove quite a bit of stale data from the tuning.7
While here fix some style issues.

Submitted by:	many (via the SystemTuning wiki page)
Approved by:	bcr (mentor)
MFC after:	3 days
2012-11-16 01:22:56 +00:00
Devin Teske
48c5129f93 Replicate a feature from sysinstall documented in
stable/9/usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):

If /usr/sbin/sysinstall is linked to another filename, say
`/usr/local/bin/configPackages', then the basename will be used
as an implicit command name.

To get a list of modules you can link to, see `bsdconfig -h' output.

Approved by:	adrian (co-mentor) (implicit)
2012-11-16 00:59:11 +00:00
Navdeep Parhar
e1e0aa8d3e cxgbe/tom: Plug mbuf leak.
MFC after:	3 days
2012-11-16 00:21:54 +00:00
Olivier Houchard
bf014f0bab Don't forget to unlock the pmap lock on failure. 2012-11-16 00:14:02 +00:00
Olivier Houchard
a0c8989b3a Remove a useless printf 2012-11-15 23:49:07 +00:00
Olivier Houchard
a231b7e578 Use the "inner shareable" variations of flush/invalidate functions for SMP.
Submitted by:	Giovanni Trematerra <gianni at freebsd DOT org>
2012-11-15 22:31:23 +00:00
Simon J. Gerraty
7ab046e1f1 Import bmake-20121111 - pick up fix for .ORDER
Approved by:	marcel (mentor)
2012-11-15 22:01:30 +00:00
Sergey Kandaurov
d7e8bab568 Fix section number for pstat and swapinfo cross references.
MFC after:	3 days
2012-11-15 21:22:50 +00:00
Sergey Kandaurov
9098689d87 Sort SEE ALSO xrefs by the manual section number and add a missing comma. 2012-11-15 20:50:18 +00:00
Eitan Adler
7ccabb05a7 Using set -x produces output on stderr instead of stdout.
It also doesn't work with make -s.
Prefer the use of builtin make features.

PR:		misc/126312
Reported by:	Nejc Skoberne <nejc@skoberne.net>
Submitted by:	bdrewery
Approved by:	cperciva
MFC after:	1 week
2012-11-15 20:37:38 +00:00
Eitan Adler
37570b0026 Finish removing unneeded header from agp: opt_bus.h
Approved by:	cperciva
MFC after:	1 week
2012-11-15 20:25:09 +00:00
Eitan Adler
9e93aa2336 Remove unneeded header from agp: opt_bus.h
Tested with "make universe"

Approved by:	cperciva
MFC after:	1 week
2012-11-15 18:49:17 +00:00
Joel Dahl
0e9ca66e3b Remove trailing whitespace. 2012-11-15 16:54:14 +00:00
Edward Tomasz Napierala
baf85d0a22 Improve KASSERT messages in racct, to make it clear which resource
caused the problem.

Submitted by:	mjg
2012-11-15 15:55:49 +00:00
Eitan Adler
c7cdc97f53 This wasn't supposed to be in there - I committed the wrong patch.
Approved by: cperciva (implicit)
2012-11-15 15:21:58 +00:00
Eitan Adler
ce643be1ab Add support for a -q flag. While here make the custom argument parsing
use getopt instead of hacking on it more.  This change also fixes the
method of silencing the compiler warning about gfn being used
uninitialized.

Approved by:	cperciva
MFC after:	1 week
2012-11-15 15:16:50 +00:00
Eitan Adler
c71c7ce71a Be declarative about if an error has occured.
Fixes overflow on very large group files with lots of errors. This is
unlikely to occur in practice.

Approved by:	cperciva
MFC after:	1 week
2012-11-15 15:06:24 +00:00
Eitan Adler
c27063b934 Fix memory leak in umount.c
PR:		bin/172553
Submitted by:	Erik Cederstrand <erik@cederstrand.dk>
Approved by:	cperciva
MFC after:	3 days
2012-11-15 15:06:21 +00:00
Eitan Adler
fd773ca3dd Avoid possible null deref if ypclnt_new returns null
PR:		bin/172979
Submitted by:	Erik Cederstrand <erik@cederstrand.dk>
Approved by:	cperciva
MFC after:	3 days
2012-11-15 15:06:18 +00:00
Eitan Adler
d207a5583c Only pass ip[46].addr when _addrl contains a value
Submitted by:	crees
Reviewed by:	Mike Jakubik <mike.jakubik@intertainservices.com>
Approved by:	cperciva
MFC after:	2 weeks
2012-11-15 15:06:15 +00:00
Eitan Adler
aa374634b4 Add option to suppress just the plot in ministat while still retaining
the relative comparison (i.e., useful part).

Approved by:	cperciva
MFC after:	3 days
2012-11-15 15:06:12 +00:00
Eitan Adler
5e6997d26c Add deviceid to the disk output on boot to help debugging.
PR:		kern/173290
Submitted by:	Steven Hartland <steven.hartland@multiplay.co.uk>
Approved by:	cperciva
MFC after:	1 week
2012-11-15 15:06:09 +00:00
Eitan Adler
93b4da8a2a Fix error code if file isn't readable.
Approved by:	cperciva
MFC after:	1 week
2012-11-15 15:06:06 +00:00
Eitan Adler
2ad87454e2 Check the range of the gid
Approved by:	cperciva
MFC after:	1 week
2012-11-15 15:06:03 +00:00