Commit Graph

14791 Commits

Author SHA1 Message Date
Mark Johnston
593c0b49f9 Explicitly specify that the beforelinking target depends on the
generated object files, ensuring that the beforelinking recipe won't be
executed until compilation has finished.

Also define SHLIB_NAME_FULL to denote ${SHLIB_NAME}.debug if
DEBUG_FILES is set and ${SHLIB_NAME} otherwise, which helps avoid
obfuscating the compilation and linking rules.

Reviewed by:	emaste
Approved by:	emaste (co-mentor)
2012-12-31 21:54:43 +00:00
Nathan Whitehorn
c857d06af7 With the old sade removed, libdisk is no longer used by anything in HEAD
and uses a number of problematic pre-gpart interfaces. Since it has been
entirely obsoleted by interfaces in geom, remove it.
2012-12-30 16:28:06 +00:00
Xin LI
ebf520c2cc It's no longer necessary to explicitly specify isa bus.
MFC after:	2 weeks
2012-12-28 23:21:54 +00:00
Andrey V. Elsukov
51743c5f73 Add net.link.stf.permit_rfc1918 sysctl variable. It can be used to allow
the use of private IPv4 addresses with stf(4).

MFC after:	2 weeks
2012-12-27 20:59:22 +00:00
Gleb Smirnoff
70a0e3403a Add vendor IDs for Broadcom USB dongles (BCM20702).
PR:		kern/174707
Submitted by:	rakuco
2012-12-26 15:10:20 +00:00
Gleb Smirnoff
7951008b47 Change net.inet.carp.demotion sysctl to add the supplied value
to the current demotion factor instead of assigning it.

  This allows external scripts to control demotion factor together
with kernel in a raceless manner.
2012-12-25 14:08:13 +00:00
Andriy Gapon
c858f5cebd lock.9: fix incorrect descriptions of LK_SHARED and LK_DOWNGRADE behavior
Reviewed by:	attilio
MFC after:	5 days
X-MFC after:	r243900
2012-12-23 12:56:04 +00:00
Jaakko Heinonen
b1e1f725e7 Reject spaces and double quotation marks in device names. devctl(4)
and devd(8) can't handle names with such characters properly.

PR:		bin/144736, kern/161912
Discussed with:	imp, kib, pjd
2012-12-22 13:33:28 +00:00
Ed Maste
4dae514dfb Sort default option lists 2012-12-21 02:18:11 +00:00
Mark Johnston
43d0cfa3d8 Add myself as a new src committer.
Approved by:	emaste (co-mentor)
2012-12-19 04:18:21 +00:00
Ed Maste
facaa6ee9f No reason to install debug data with the schg flag 2012-12-18 21:13:03 +00:00
Xin LI
7a7bc9595c Update arcmsr(4) to vendor version 1.20.00.26, this adds
support for their new RAID adapter ARC-1214.

Many thanks to Areca for continuing to support FreeBSD.

Submitted by:	黃清隆 Ching-Lung Huang <ching2048 areca com tw>
MFC after:	2 weeks
2012-12-18 20:47:23 +00:00
Ed Maste
44383aa35e Hide OBJCOPY and others in POSIX mode
Submitted by: Garrett Cooper
2012-12-17 21:09:44 +00:00
Gabor Kovesdan
790ffa6cfd - Fix handling of .mps files
PR:		bin/161454
Submitted by:	Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
2012-12-17 10:12:12 +00:00
Ed Maste
e97696b5ec Put shared library debug info into separate .symbols file
Sponsored by: ADARA Networks
2012-12-15 00:03:35 +00:00
Ed Maste
0d947ed19a Minor refactoring prior to .symbols file changes
- Combine .if x and .if !x using .else
- Separate out beforelinking dependency
- Add comments to clarify .if nesting

Sponsored by: ADARA Networks
2012-12-14 18:30:01 +00:00
Steven Hartland
01487e405c Fixed missing 'n' of \n for my committers line
Approved by:	avg (mentor)
2012-12-13 09:55:26 +00:00
Eitan Adler
c3d33d4b9c Give credit where credit is due.
Requested by:	Álvaro Castillo
Approved by:	cperciva (implicit)
2012-12-13 00:44:23 +00:00
Jim Harris
866fb54847 Add my ex-mentors. 2012-12-12 22:25:31 +00:00
Steven Hartland
83da9362b7 Add myself as a new src committer
Approved by:	pjd (mentor)
2012-12-12 16:59:07 +00:00
Eitan Adler
acc4b9ecf6 Remove 'dangerous' instructions from the example make.conf.
Clarify when and why these might be used and that this isn't a supported
configuration.

PR:		docs/144488
Submitted by:	amdmi3
Approved by:	cperciva (implicit)
MFC after:	2 weeks
2012-12-11 18:39:53 +00:00
Gleb Smirnoff
f44af086d8 NGM_NETFLOW_SHOW reports IPv6 flows as well.
Submitted by:	Dmitry Luhtionov <dmitryluhtionov gmail.com>
2012-12-10 13:08:14 +00:00
Eitan Adler
839f11a4fe A number of places in the source tree still reference cuad.* after
sio(4) was deprecated by uart(4).

s/cuad/cuau/g/

PR:		docs/171533
Reviewed by:	imp
Approved by:	cperciva (implicit)
MFC after:	3 weeks
2012-12-08 22:16:36 +00:00
Andre Oppermann
4504d0f482 Remove outdated reference to tcp inflight limiting. It was removed
a long time ago.

MFC after:	1 week
2012-12-08 21:03:14 +00:00
Eitan Adler
fd53babd77 Sync with Library of Congress list.
Approved by:	cperciva (implicit)
Obtained from:	DragonflyBSD
MFC after:	3 days
2012-12-08 05:51:27 +00:00
Pawel Jakub Dawidek
2f891cd504 Implemented uma_zone_set_warning(9) function that sets a warning, which
will be printed once the given zone becomes full and cannot allocate an
item. The warning will not be printed more often than every five minutes.

All UMA warnings can be globally turned off by setting sysctl/tunable
vm.zone_warnings to 0.

Discussed on:	arch
Obtained from:	WHEEL Systems
MFC after:	2 weeks
2012-12-07 22:27:13 +00:00
Kevin Lo
aef49b2b1a Document pffinddomain().
Reviewed by:	glebius
2012-12-07 02:29:32 +00:00
Eitan Adler
b5292ea718 Add the Programmer Dvorak Keyboard Layout
PR:		conf/173950
Submitted by:	clutton <mbsd@isgroup.com.ua>
Approved by:	cperciva
2012-12-06 01:44:19 +00:00
Eitan Adler
bffa448842 Change the default to 'cru' for speed reasons.
Submitted by:	Erik Cederstrand <erik@cederstrand.dk>
Reviewed by:	imp, toolchain@
Approved by:	cperciva
MFC after:	2 weeks
2012-12-06 01:31:34 +00:00
Eitan Adler
37a6031461 Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in
share/mk/sys.mk instead.

This is part of a medium term project to permit deterministic builds of
FreeBSD.

Submitted by:	Erik Cederstrand <erik@cederstrand.dk>
Reviewed by:	imp, toolchain@
Approved by:	cperciva
MFC after:	2 weeks
2012-12-06 01:31:25 +00:00
Eitan Adler
01d9852a4d Remove hack to emulate effective uid and just use the EUID's name in the
first place.  I was unaware of this option when originally committing
this change.

Submitted by:	gcooper
Approved by:	cperciva
MFC after:	3 days
2012-12-05 13:56:39 +00:00
Eitan Adler
dc5e7eb62e Connect organization.dot to the build
Approved by:	cperciva
MFC after:	3 days
2012-12-05 13:05:24 +00:00
Konstantin Belousov
c1e231bcbb Fix typo.
Submitted by:	bjk
MFC after:	3 days
2012-12-04 14:07:17 +00:00
Neel Natu
32531ccb84 IFC @r243836 2012-12-04 04:37:42 +00:00
Jung-uk Kim
cea10e1d3b Fix typos in the previous commit. 2012-12-04 00:44:31 +00:00
Jung-uk Kim
08e90c1491 Tidy up bsd.cpu.mk for X86 CPUs:
- Do not limit recent processors to "prescott" class for i386 target.  There
is no reason for this hack because clang is default now.  On top of that, it
will only grow indefinitely over time.
- Add more CPUTYPEs, i.e., "athlon-fx", "core-avx2", "atom", "penryn", and
"yonah".  Note "penryn" and "yonah" are intentionally undocumented because
they are not supported by gcc and marked deprecated by clang.
- Add more CPUTYPE aliases, i.e., "barcelona" (-> amdfam10), "westmere" and
"nehalem" (-> corei7).  Note these are intentionally undocumented because
they are not supported by (base) gcc and/or clang.  However, LLVM (backend)
seems to "know" the differences.  Most likely, they were deprecated with
other vendor code names and clang did not bother implementing them at all.
- Add i686 to MACHINE_CPU for "c3-2" (VIA Nehemiah).  Both gcc & clang treat
it like an i686-class processor.
- Add IDT "winchip2" and "winchip-c6" for completeness (undocumented).
- Order processors per make.conf example, i.e., CPU vendors and models.
- Tidy up make.conf example, i.e., remove "by gcc" (because we have aliases)
and remove "prescott" from AMD64 architecture (because it is not correct).
2012-12-04 00:37:17 +00:00
Konstantin Belousov
471af3a8df Document the interpretation of the negative value of ticks for
taskqueue_enqueue_timeout(9).

MFC after:	3 days
2012-12-04 00:32:12 +00:00
Jung-uk Kim
04704c638e Remove fictitious support for 80386-class CPUs from bsd.cpu.mk and make(1).
It was removed from head more than 8 years ago (see r137784 and r137785).

Reviewed by:	imp, delphij, dim
2012-12-03 19:27:31 +00:00
Robert Watson
16648b4fff Merge a number of changes required to hook up OpenBSM 1.2-alpha2's
auditdistd (distributed audit daemon) to the build:

- Manual cross references
- Makefile for auditdistd
- rc.d script, rc.conf entrie
- New group and user for auditdistd; associated aliases, etc.

The audit trail distribution daemon provides reliable,
cryptographically protected (and sandboxed) delivery of audit tails
from live clients to audit server hosts in order to both allow
centralised analysis, and improve resilience in the event of client
compromises: clients are not permitted to change trail contents
after submission.

Submitted by:	pjd
Sponsored by:	The FreeBSD Foundation (auditdistd)
2012-12-01 15:11:46 +00:00
Eitan Adler
169d107592 Generalize make.conf man page: use "cc" instead of "gcc"
PR:		misc/173604
Submitted by:	Dan McGregor <dan.mcgregor@usask.ca>
Approved by:	bcr (mentor)
MFC after:	3 days
2012-11-29 12:51:10 +00:00
Gabor Pali
a746dc9af7 - Update organization.dot to reflect that attilio resigned from core
Approved by:	core (implicit)
2012-11-28 22:04:18 +00:00
Barbara Guida
f114e8dbc7 Add my mentor relationships to committers-ports.dot
Approved by:	flo (mentor)
2012-11-25 21:32:13 +00:00
Kevin Lo
40fcb8d3a9 Catch up with r243046. KTR buffer can be changed at runtime. 2012-11-23 08:44:36 +00:00
Hans Petter Selasky
8e5e664ccc Remove no longer needed quirk.
Submitted by:	Mark Johnston
2012-11-23 08:22:06 +00:00
Sergey Kandaurov
da9782dac0 [mdoc] remove hard sentence breaks.
MFC after:	3 days
2012-11-22 10:24:30 +00:00
Sergey Kandaurov
df4193e708 core(5) references sysctl debug.num_cores, but it is really debug.ncores.
PR:		docs/173831
MFC after:	1 week
2012-11-22 09:56:13 +00:00
Simon J. Gerraty
3b0cfc13df If .PARSEDIR is defined we have bmake, and CTFCONVERT_CMD can be empty.
PR:		172440
Approved by:	marcel (mentor)
2012-11-22 04:53:09 +00:00
Simon J. Gerraty
a58de88b0c INSTALL_AS_USER: output of id -un will never match 0 so use id -u
and USER for BINOWN etc.

Approved by:	marcel (mentor)
2012-11-22 04:50:42 +00:00
Dimitry Andric
d7649ea3a3 Do not expose LIBCXXRT and LIBCPLUSPLUS in bsd.libnames.mk, if
WITHOUT_LIBCPLUSPLUS is specified.

Submitted by:	Garrett Cooper <yanegomi@gmail.com>
MFC after:	3 days
2012-11-20 21:26:13 +00:00
Jung-uk Kim
a9259c1e1f Clean up and update comments for CPUTYPE.
Requested by:	rdivacky
2012-11-19 23:04:22 +00:00
Jung-uk Kim
49f4a268d5 Add x86 CPUs supported by clang on head.
Reviewed by:	arch (silence)
X-MFC:		r242624
2012-11-19 21:58:14 +00:00
Benjamin Kaduk
c33ae5331f Improve grammar.
Approved by:	hrs (mentor)
2012-11-18 22:52:17 +00:00
Eitan Adler
481974c226 Modernize parts of the ports.7 manual page.
Approved by:	bcr (mentor)
MFC after:	3 days
2012-11-18 16:34:09 +00:00
Neel Natu
3248464555 IFC @ r243164 2012-11-17 02:55:47 +00:00
Marcel Moolenaar
a83e187992 Install bsd.progs.mk, needed by bsd.test.mk and thus by atf.test.mk. 2012-11-17 00:07:28 +00:00
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
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
Joel Dahl
788c8ebcb5 Remove trailing whitespace. 2012-11-16 11:56:53 +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
Greg Lehey
370cbbf20d Move detailed description of BLOCKSIZE to getbsize(3).
MFC after:	2 weeks.
2012-11-16 01:43:23 +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
Joel Dahl
0e9ca66e3b Remove trailing whitespace. 2012-11-15 16:54:14 +00:00
Eitan Adler
03ad1b0ba0 Some software, notably dialog(1), can understand back-tab, which is
typically bound to Shift-Tab. syscons produces ^]]Z for Shift-Tab, like
many VT100-like terminal (emulators). The plain xterm does not produce
this sequence, but ^I for both Tab and Shift-Tab.

PR:		conf/162787
PR:		bin/151229
Submitted by:	Stefan Bethke <stb@lassitu.de>
Submitted by:	Bruce Cran <bruce@cran.org.uk>
Approved by:	cperciva
MFC after:	3 days
2012-11-15 15:05:54 +00:00
Kevin Lo
d7bf9fd625 Mention the IEEE 802.1AX.
Reviewed by:	thompsa
2012-11-14 06:23:32 +00:00
Andre Oppermann
327210de43 Remove description of deprecated IP fragment checksum support.
Since SMPng it wasn't really supported anymore and if it worked
then only by chance.  Only very few drivers ever supported it.

Discussed with:	yongari
MFC after:	2 weeks
2012-11-13 20:52:17 +00:00
Joel Dahl
c60bda17f2 Updates for netgraph node manual pages.
Discussed with:	glebius
Submitted by:	Mamontov Roman <mr.xanto@gmail.com>
2012-11-13 20:41:36 +00:00
Sergey Kandaurov
030c03b513 - Lowercase a cross reference to make.
- Sort SEE ALSO cross references.

MFC after:	3 days
2012-11-13 20:07:34 +00:00
Sergey Kandaurov
eb2c1f87f8 Avoid an ambiguous reference to mtx_lock(9).
MFC after:	3 days
2012-11-13 19:21:51 +00:00
Sergey Kandaurov
fe6ba75294 Correct rmlock(9) xref and add a missing comma. 2012-11-13 19:03:13 +00:00
Neel Natu
7d3d462b09 IFC @ r242940 2012-11-13 07:39:05 +00:00
Neel Natu
a10c6f5544 IFC @ r242684 2012-11-11 03:26:14 +00:00
Xin LI
2c862c979c ICMPV6_FILTER should read ICMP6_FILTER.
Submitted by:	Frédéric Perrin <frederic.perrin resel.fr>
MFC after:	2 weeks
2012-11-08 00:54:43 +00:00
Simon J. Gerraty
c5faff658d Add ATF and reformat to ease reviews
Approved by:	marcel (mentor)
2012-11-07 22:02:53 +00:00
Simon J. Gerraty
50c5d27b26 Enable ATF testing.
Submitted by:	Garrett Cooper
Approved by:	marcel (mentor)
2012-11-07 22:02:02 +00:00
Simon J. Gerraty
81e6864102 Latest progs.mk from crufty.net for ATF
Approved by:	marcel (mentor)
2012-11-07 21:44:04 +00:00
Kevin Lo
d92303b62c Nm ipsec 2012-11-07 06:53:44 +00:00
Dimitry Andric
8d7f35458a Fix typo in bsd.compiler.mk. 2012-11-06 07:51:20 +00:00
Alexander Motin
a21345b401 Decode common state bits in getencstat output. 2012-11-06 01:29:26 +00:00
Bryan Venteicher
65f6f7ae43 Add myself as a new src committer
Approved by:	grehan (mentor)
2012-11-06 00:41:59 +00:00
Alexander Motin
3364718004 Add -c option to sesd to make it clear enclosure status after reading it
in case if it is not permanent and was fixed.
2012-11-06 00:22:33 +00:00
Alexander Motin
23ec103f3f Rise priority of the informational messages from LOG_INFO to LOG_NOTICE,
same as used for OK status. Otherwise it looks strange when OK status is
reported, while informational is not.
2012-11-05 23:20:48 +00:00
Brooks Davis
909c4d7ec0 Allow CC to be gcc46 or similar by matching gcc*.
Don't test the value of the :M matches, either the string matches or does
not.
2012-11-05 23:05:14 +00:00
Brooks Davis
ccaa6067c7 Now that WITH_CLANG_IS_CC is the default on x86 systems, document
WITHOUT_CLANG_IS_CC.
2012-11-05 21:55:22 +00:00
Brooks Davis
5b6478b077 After years of hard work by many FreeBSD and LLVM developers, make
clang the default compiler on i386 and amd64 systems.

Special thanks to:	dim, ed, rdivacky
2012-11-05 19:08:18 +00:00
Alexander Motin
8894a1ba65 Fix a minor typo. 2012-11-05 18:18:03 +00:00
Kevin Lo
0191c147a5 Sync with domain and protosw data structures.
Reviewed by:	glebius
2012-11-05 09:45:37 +00:00
Kevin Lo
8f58a61d4f Revert previous commit. 2012-11-05 02:34:52 +00:00
Kevin Lo
fcc15a2c82 Catch up with r242520. s/maxusers/maxbikesheds 2012-11-05 01:42:57 +00:00
Grzegorz Blach
d4cc50ba14 - Add my mentor relationships to committers-ports.dot
- Add myself to calendar.freebsd

Approved by:	tabthorpe (mentor)
2012-11-04 08:47:41 +00:00
Baptiste Daroussin
4cbff7a3dc Change default prompt to show ~ again for the home directory
Submitted by:	flo
Approved by:	eadler
2012-11-04 01:00:35 +00:00
Maxim Konovalov
87ae2c7848 o DragonFly 2.3.1 added. 2012-11-03 19:26:08 +00:00
Eitan Adler
382dc3ca38 Revert the change that makes less default.
Since I've committed this I've receieved roughly an equal
amount of email thanking me for making this change
and asking me to revert it.

I've resisted making this change because
new users tend to prefer less over more
and these users are the least likely to know
how to change the PAGER on their own.

Requested by:	many
Objected to:	just as many
Decision made by:	core
Approved by:	cperciva
MFC after:	3 days
2012-11-03 14:46:15 +00:00
Jim Harris
ac6a9a8e21 Update nsamples and nbuffers defaults to match reality. 2012-11-02 22:03:39 +00:00
Joel Dahl
e9d6ba929a A few minor adjustments after r242424:
- Sort entries in SYNOPSIS.
- Start sentence on a new line.
- Remove redundant textdump dump description.

Submitted by:	bde
2012-11-02 21:47:21 +00:00
Gleb Smirnoff
cd463097e9 - Fix struct and struct fields names.
- Remove NGM_ATM_CARRIER_CHANGE, which was removed in r118175.

Submitted by:	Mamontov Roman <mr.xanto gmail.com>
2012-11-02 13:54:06 +00:00
Gleb Smirnoff
0134b5cbd7 Remove separate paragraph on ASCII messages and instead
provide this information along with messages documentation,
like this done in manual pages for other netgraph nodes.

Submitted by:	Mamontov Roman <mr.xanto gmail.com>
2012-11-02 13:51:47 +00:00
Philip Paeps
acdff4634b MFV pciids-20121024, r242469
Update to use the latest version of the PCI IDs Repository.

MFC after:	1 week
2012-11-02 11:13:44 +00:00
Maxim Konovalov
6c5ed44028 o OpenBSD 5.2 added. 2012-11-02 07:36:16 +00:00
Jim Harris
d9fad1defa Add descriptions for callout_reset_on and callout_schedule_on and
their curcpu variants.

Discussed with:	mav, davide
MFC after:	1 week
2012-11-01 21:00:13 +00:00