History log of /freebsd-current/sbin/kldload/kldload.c
Revision Date Author Comments
# 32e86a82 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

sbin: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

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


# ad0a7ea6 17-Jun-2022 Juraj Lutter <otis@FreeBSD.org>

kldload: Bring functionality in line with manual page

Honor -q parameter and do not display any warning messages when -q is
specified.

Approved by: dfr
MFC after: 2 weeks
Sponsored by: Resulta, s.r.o.
Differential Revision: https://reviews.freebsd.org/D35511


# 1de7b4b8 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

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.


# dc3c93a9 18-Feb-2017 Gleb Smirnoff <glebius@FreeBSD.org>

Fix the last case when kldload(8) wasn't printing the name of the module
that failed to load.


# bf28a901 04-Feb-2017 Enji Cooper <ngie@FreeBSD.org>

style(9) cleanup

- Delete trailing whitespace
- Fix alignment/variable sorting
- Delete single-line enclosing braces

MFC after: 1 week
Sponsored by: Dell EMC Isilon


# 8ee0576c 18-Apr-2016 Marcelo Araujo <araujo@FreeBSD.org>

Use nitems() from sys/param.h.

MFC after: 2 weeks.


# 48aad6a2 13-Jan-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Fix dmesg(1) -> dmesg(8)

Reported by: trasz


# c8ebd841 13-Jan-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Fix typo

Reported by: dumbbell


# 10c91625 13-Jan-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Point the user to dmesg(1) to get informations about why loading a module did fail
instead of printing the cryptic "Exec format error"

MFC after: 1 week


# ffc5432f 09-Jan-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Fix error counting


# 945508e4 09-Jan-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Import error message shown to the user when trying to load a module that is
already loaded or compiled withing the kernel

MFC after: 1 week


# 56d3acc1 18-Mar-2012 Hans Petter Selasky <hselasky@FreeBSD.org>

Add option to ignore error codes if the module specified is already loaded.

MFC after: 1 week


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 1ece82b4 30-Aug-2010 Maxim Konovalov <maxim@FreeBSD.org>

Make flags in usage() and SYNOPSYS more style(9)-ish.

Suggested by: brian
MFC after: 3 days


# b4640452 12-Jul-2010 Maxim Konovalov <maxim@FreeBSD.org>

o Add -q flag to usage().

MFC after: 1 week


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 02479ead 04-Jun-2009 Benno Rice <benno@FreeBSD.org>

Perform some checking on the requested list of modules to warn people if they
try to load modules by filename out of the current directory where the module
in question may be further up the module path or not in the module path at all.

Also add some text to the man page to help explain what's going on.

Sponsored by: Redacted Consulting


# 815d752a 04-Jun-2009 Benno Rice <benno@FreeBSD.org>

style(9) pass prior to further changes.

Sponsored by: Redacted Consulting


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# c69284ca 03-May-2003 David E. O'Brien <obrien@FreeBSD.org>

Use __FBSDID() to quiet GCC 3.3 warnings.


# 94c61219 09-Oct-2002 Juli Mallett <jmallett@FreeBSD.org>

Update documentation for kldload(8)'s ability to load multiple modules.

Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>


# d06c7584 08-Oct-2002 Juli Mallett <jmallett@FreeBSD.org>

Make it possible to kldload(8) many modules.

MFC after: 2 months
Sponsored by: Bright Path Solutions
Reviewed by: tjr


# cafefe8c 24-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 614a54eb 06-Jul-1998 Philippe Charnier <charnier@FreeBSD.org>

remoce unused #include.


# 49fea209 05-Jan-1998 Philippe Charnier <charnier@FreeBSD.org>

Add -v in usage string. Add rcsid.


# 2830148a 21-Oct-1997 John-Mark Gurney <jmg@FreeBSD.org>

a few code style changes:
o start function names in column 1
o sort order of flags in getopt and switch
o don't try to reference progname
o unspam some changes introduced by a 2.2.1-R build box instead of a
-current build box

doc changes:
o document when these commands first appeared
o put email address in angle brakets
o minor mdoc clean up


# 23e200d5 19-Oct-1997 John-Mark Gurney <jmg@FreeBSD.org>

activate the programs that will be used to manipulate kld modules

fix a few problems with missing headers, warn called with an exit
value, and undeclared getopt vars

these programs now compile -Wall clean (and yes, I know I should use
more than just -Wall) :)


# a79fe607 07-May-1997 Doug Rabson <dfr@FreeBSD.org>

Add utilities for the kernel linker.