aboutsummaryrefslogtreecommitdiff
path: root/sbin/kldunload
Commit message (Collapse)AuthorAgeFilesLines
* sbin: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-1/+0
| | | | | | | | | | | | | | | | 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
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | 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
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Explicitly add more files to the 'runtime' package.Glen Barber2016-02-091-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295450
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge head from 7/28Simon J. Gerraty2014-08-191-1/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=270164
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+18
| | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | use .Mt to mark up email addresses consistently (part1)Baptiste Daroussin2014-06-201-1/+1
|/ | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267667
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-1/+0
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* Mark up lkm with .Nm, since lkm is name of an api.Christian Brueffer2007-02-131-1/+1
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=166690
* Don't reference lkm(4), it doesn't exist.Christian Brueffer2007-02-101-1/+1
| | | | | | | | PR: 108980 Submitted by: Yonatan Notes: svn path=/head/; revision=166616
* Bump a date in .Dd field. Last change brought some new functionality.Wojciech A. Koszek2006-02-271-1/+1
| | | | | | | | | Spotted by: brueffer Approved by: cognet (mentor) MFC after: 1 week Notes: svn path=/head/; revision=156093
* Extend kldunload(8) functionality and fix minor problems:Wojciech A. Koszek2006-02-273-40/+50
| | | | | | | | | | | | | | | | | | | o multiple modules can be unloaded at once (specified either by id or be module name) o exit with EX_USAGE after usage() is called. o remove unused variables, since we keep command line flags as bitmask, in 'opt'. o 'kldload -n ...' does nothing. Add comment to this options. Additionally: o Update manual page to conform new functionality. o Increace WARNS to 6. Because we can. Approved by: cognet (mentor) MFC after: 1 week Notes: svn path=/head/; revision=156091
* Big style(9) fix. This commit brings no functional change.Wojciech A. Koszek2006-02-271-53/+56
| | | | | | | | Approved by: cognet (mentor) MFC after: 1 week Notes: svn path=/head/; revision=156087
* - Correctly spell MOD_QUIESCEGleb Smirnoff2005-02-091-1/+3
| | | | | | | | | - use .Dv for it MFC after: 3 days Notes: svn path=/head/; revision=141593
* Document -f in usage().Ruslan Ermilov2005-01-301-2/+2
| | | | Notes: svn path=/head/; revision=141055
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-5/+2
| | | | Notes: svn path=/head/; revision=140368
* Scheduled mdoc(7) sweep.Ruslan Ermilov2005-01-101-6/+4
| | | | Notes: svn path=/head/; revision=139987
* Give kldunload a -f(orce) argument.Poul-Henning Kamp2004-07-132-2/+13
| | | | | | | | | | | | | | | | | | | | Add a MOD_QUIESCE event for modules. This should return error (EBUSY) of the module is in use. MOD_UNLOAD should now only fail if it is impossible (as opposed to inconvenient) to unload the module. Valid reasons are memory references into the module which cannot be tracked down and eliminated. When kldunloading, we abandon if MOD_UNLOAD fails, and if -force is not given, MOD_QUIESCE failing will also prevent the unload. For backwards compatibility, we treat EOPNOTSUPP from MOD_QUIESCE as success. Document that modules should return EOPNOTSUPP for unknown events. Notes: svn path=/head/; revision=132117
* Use __FBSDID() to quiet GCC 3.3 warnings.David E. O'Brien2003-05-031-4/+2
| | | | Notes: svn path=/head/; revision=114589
* style(9): use NULL when assigning/comparing a char *,Johan Karlsson2003-04-231-5/+5
| | | | | | | | | consitently compare fileid with 0 using == and !=. Reviewed by: silence on @audit Notes: svn path=/head/; revision=113936
* Make this WARNS=5 clean by adding () in 'if (a || (b && c))'.Johan Karlsson2003-04-232-2/+2
| | | | | | | Look at by: sebastian.ssmoller@web.de on audit@ Notes: svn path=/head/; revision=113935
* The .Nm utilityPhilippe Charnier2002-07-061-1/+1
| | | | Notes: svn path=/head/; revision=99501
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+1
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79530
* Removed -I${.CURDIR}/.../sys from CFLAGS.Ruslan Ermilov2001-05-181-2/+0
| | | | Notes: svn path=/head/; revision=76812
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-2/+0
| | | | Notes: svn path=/head/; revision=74531
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68960
* Fixed bitrot in usage message (-n is now optional).Bruce Evans1999-09-081-1/+1
| | | | Notes: svn path=/head/; revision=51074
* Show that the -n option is optionalNick Hibma1999-09-061-1/+4
| | | | | | | | Suggested by: Bruce Evans <bde@zeta.org.au> Reviewed by: dfr Notes: svn path=/head/; revision=51006
* Add cross-references to respective syscalls.Chris Costello1999-09-031-0/+1
| | | | Notes: svn path=/head/; revision=50847
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50476
* Add a sensible message if an invalid ID was enteredNick Hibma1999-07-251-1/+3
| | | | | | | | | PR: 8739 Submitted by: Love lha@stacken.kth.se Reviewed by: Doug Rabson <doug@freebsd.org> Notes: svn path=/head/; revision=49079
* Fill-in the manpages a little.David E. O'Brien1998-11-121-3/+11
| | | | Notes: svn path=/head/; revision=41108
* Bitch if both an id and a name are specified. Make the man page and usageDag-Erling Smørgrav1998-11-072-6/+14
| | | | | | | | message reflect this. As a bonus, make the -n optional so that 'kldunload name' works as one would expect. Notes: svn path=/head/; revision=40981
* Lowercase 1st char. in err(3) strings.Philippe Charnier1998-07-061-2/+2
| | | | Notes: svn path=/head/; revision=37419
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-191-3/+3
| | | | Notes: svn path=/head/; revision=34673
* Sync. usage string and synopsis. Add rcsid.Philippe Charnier1998-01-052-12/+13
| | | | Notes: svn path=/head/; revision=32270
* use += on cflagsJohn-Mark Gurney1997-10-261-2/+2
| | | | | | | Submitted-by: Steve Price <sprice@hiwaay.net> Notes: svn path=/head/; revision=30722