Pete Zaitcev
11500481c8
mptable: improve error reporting for invalid commands
...
mptable ignores arguments with matching first letters, report errors
when it gets garbate.
PR: 38727
Reviewed by: imp
2024-01-15 17:57:28 -07:00
John Baldwin
eba230afba
Purge more stray embedded $FreeBSD$ strings
...
These do not use __FBSDID but instead use bare char arrays.
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41957
2023-09-25 07:54:56 -07:00
Warner Losh
fa9896e082
Remove $FreeBSD$: two-line nroff pattern
...
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
2023-08-16 11:55:10 -06:00
Warner Losh
d0b2dbfa0e
Remove $FreeBSD$: one-line sh pattern
...
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00
John Baldwin
98f7dec508
mptable: Remove set but unused variable.
...
Reported by: GCC
2023-06-20 09:28:59 -07:00
Warner Losh
4d846d260e
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
...
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix
2023-05-12 10:44:03 -06:00
Simon J. Gerraty
d9a4274795
Update/fix Makefile.depend for userland
2023-04-18 17:14:23 -07:00
Pedro F. Giffuni
1de7b4b805
various: general adoption of SPDX licensing ID tags.
...
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
No functional change intended.
2017-11-27 15:37:16 +00:00
Bryan Drewery
ea825d0274
DIRDEPS_BUILD: Update dependencies.
...
Sponsored by: Dell EMC Isilon
2017-10-31 00:07:04 +00:00
Baptiste Daroussin
d9a4f21fa7
Stop suggesting -grope argument when -grope argument was actually given
2015-10-22 21:13:35 +00:00
Simon J. Gerraty
ccfb965433
Add META_MODE support.
...
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
44d314f704
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
Simon J. Gerraty
ee7b0571c2
Merge head from 7/28
2014-08-19 06:50:54 +00:00
Baptiste Daroussin
01c2b8ac0d
use .Mt to mark up email addresses consistently (part2)
...
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
2014-06-20 09:57:27 +00:00
Simon J. Gerraty
fae50821ae
Updated dependencies
2014-05-16 14:09:51 +00:00
Simon J. Gerraty
76b28ad6ab
Updated dependencies
2014-05-10 05:16:28 +00:00
Simon J. Gerraty
3b8f084595
Merge head
2014-04-28 07:50:45 +00:00
John Baldwin
2efbc4a68d
Pass the size of the top-level table to map when mapping the table instead
...
of the size of the pointer.
Reported by: Coverity
Coverity CID: 1147171
2014-03-10 16:07:45 +00:00
John Baldwin
a61a3b338f
- Use <x86/mptable.h> instead of duplicating its definitions.
...
- Switch to mmaping the table from RAM instead of reading it out of
/dev/mem via read(2).
2013-12-11 21:21:03 +00:00
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
David E. O'Brien
d9a447559b
Sync with HEAD.
2013-02-08 16:10:16 +00:00
Neel Natu
d72323d1d9
Divine the array size by using 'nitems(array)' instead of using magic numbers.
...
Suggested by: Garrett Cooper
2012-12-21 04:44:40 +00:00
Neel Natu
5b87feb64a
The MPtable specification allows for an 8-bit "BUS ID" and "I/O APIC ID".
...
Since the 'busses[]' and 'apics[]' arrays are indexed by these 8-bit IDs
make sure that they have enough space to accomodate up to 256 entries.
Submitted by: Ravi Shamanna
Obtained from: NetApp
2012-12-21 01:31:56 +00:00
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Pawel Jakub Dawidek
24bc5224c6
Add an missing argument to open(2). If O_CREAT flag is specified,
...
file permission has to be specified as well.
2012-01-04 07:04:43 +00:00
Ed Schouten
60bd06dafc
Mark all global variables static for mptable(1).
...
While there, remove basetableEntryTypes, which became unused in r71209.
2011-11-06 16:47:50 +00:00
Ulrich Spörlein
62486687ed
mdoc: consistently spell our email addresses <foo@FreeBSD.org>
...
Reviewed by: ru
2010-05-19 08:57:53 +00:00
John Baldwin
73401fbaa0
Fix a typo.
...
Submitted by: Jakub Lach jakub_lach of mailplus pl
2010-02-19 14:27:32 +00:00
Ed Schouten
71ccf09269
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
David E. O'Brien
0446a99e41
Remove the useless "version" number output.
...
We don't give a version number each userland binary.
2005-02-06 12:54:54 +00:00
Peter Wemm
8c489d725d
Make this build and work on amd64 (sledge at least).
2003-09-30 04:09:21 +00:00
Warner Losh
498c24eea5
Don't need to redundantly redeclare optreset.
2003-06-07 18:33:18 +00:00
Ruslan Ermilov
345e52e742
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Alfred Perlstein
d85036cec8
revert rev 1.3: restore MAN1 directive to unbreak world
2001-03-24 01:17:51 +00:00
Bruce Evans
f1f3ee06b3
Fixed style bugs (use normal formatting for assignment, and don't override
...
the correct default for MAN1).
2001-03-23 13:47:46 +00:00
Robert Watson
2f7aab1c26
o Remove BINMODE=0550 -- no need to restrict execution rights as the
...
authorization check is on /dev/{,k}mem.
o Update man page to reflect requirement that gid kmem privileges must
be held, not root. (submitted by: peter)
2001-03-22 04:27:46 +00:00
Peter Wemm
4a3e427f20
Deal with table parsing bugs caused by out-of-order record entries.
...
Complain about out-of-order entries. This fixes the 'mp extended
table HOSED!" report on the DL360 we have here with the "fixed" compaq
bios rom to fix the table length off-by-one error.
2001-01-18 07:42:02 +00:00
David E. O'Brien
1a37aa566b
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Ruslan Ermilov
e97407b4f2
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
Mike Smith
40c4544803
Update the mptable manpage to remove mention of kernel options (which
...
there aren't going to be shortly).
2000-09-22 21:10:41 +00:00
Mike Smith
531454fd6d
Stop printing out the Nfoo options help, since these tunables are about to
...
go away.
2000-09-22 21:07:24 +00:00
Tor Egge
386fd02622
Remove 3 off by 128 errors.
2000-08-06 01:17:39 +00:00
Alexey Zelkin
9b8ef6b73a
$FreeBSD$ tags moved to bottom of license aggmt.
1999-10-30 16:05:26 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Nik Clayton
414a35e60a
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:12:29 +00:00
Warner Losh
b790f1b6de
getopt(3) returns -1 not EOF.
1999-05-23 23:24:26 +00:00
Philippe Charnier
f12a14713b
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 08:31:20 +00:00
Bruce Evans
7ffc1f408b
Don't #include implementation header <machine/types.h> directly.
...
#include <sys/types.h> before the headers that depend on it.
1998-02-24 01:11:47 +00:00