OpenGrok
Cross Reference: modctl.2
xref
: /
src
/
lib
/
libc
/
sys
/
modctl.2
Home
|
History
|
Annotate
|
Download
|
only in
sys
History log of
/src/lib/libc/sys/modctl.2
Revision
Date
Author
Comments
1.19
26-Apr-2020
pgoyette
Document ENOSYS return from MODCTL_EXIST.
Remove EMLINK since it is no longer returned.
1.18
22-Feb-2020
pgoyette
Remove vestigial remnant of an earlier modification to the module
implementation. There currently is no such thing as a module's
"alias".
1.17
06-Dec-2019
pgoyette
Note also that the load address (if provided) is also for the module's
text segment.
1.16
04-Dec-2019
pgoyette
Note that the size returned by modctl(2) and displayed by modstat(8) is
only for the module's text section, not for the entire size of the module.
Addresses PR kern-54737
1.15
08-Apr-2019
pgoyette
branches: 1.15.2;
Split the description for EINVAL into two pieces, one for each operation
that can generate the error.
1.14
27-Jan-2019
pgoyette
Merge the [pgoyette-compat] branch
1.13
03-Jul-2017
wiz
branches: 1.13.4; 1.13.6;
Remove workaround for ancient HTML generation code.
1.12
04-Nov-2015
pgoyette
Document the ms_flags field which is now exported in struct modstat
1.11
09-May-2015
pgoyette
Provide additional info on why ENOEXEC gets returned.
1.10
15-Jul-2014
pgoyette
Document the upper limit on size of props dictionary that was recently
imposed.
1.9
07-Aug-2012
jnemeth
branches: 1.9.2; 1.9.8;
Add -A, -a, and -e options to modstat(8) along with kernel
changes required to support these options. The -e option was
requested by martin@ in private chat in order to make writing tests
easier (i.e. don't bother testing MODULAR functionaility if it
doesn't exist). While there, I added -A and -a since those were
quite similar.
-A Tells you whether or not modules can be autoloaded at the moment.
This option does take into consideration the sysctl
kern.module.autoload.
-a Tells you whether or not modules can be autoloaded at the moment.
This option does not take into consideration the sysctl
kern.module.autoload.
-e Tells you whether or not you may load a module at the moment.
1.8
14-Dec-2010
jruoho
branches: 1.8.6;
Fix xref; module(4) -> module(7).
1.7
13-Dec-2010
jruoho
Xref module(4).
1.6
28-Nov-2010
jnemeth
Rename the autoloaded property list from <module>.prop to <module>.plist
as discussed on tech-kern.
1.5
18-Aug-2010
pgoyette
Add a couple more possible return values.
1.4
26-Oct-2009
jnemeth
mention MODULE_CLASS_SECMODEL
1.3
26-Oct-2009
jnemeth
XXX - confirmed that ms_required is comma-delimited
XXX - MODULE_CLASS_ANY shouldn't be returned, but potentially could
be if a module were declared that way
1.2
26-Oct-2009
dholland
Edit - expand descriptions; document data structures in English rather
than in C; use more markup; make nroff output not exceed 80 columns.
1.1
20-Oct-2009
jnemeth
First pass at a manpage for modctl(2) (hi ad!).
1.8.6.1
30-Oct-2012
yamt
sync with head
1.9.8.1
10-Aug-2014
tls
Rebase.
1.9.2.1
20-Aug-2014
tls
Rebase to HEAD as of a few days ago.
1.13.6.2
08-Apr-2020
martin
Merge changes from current as of 20200406
1.13.6.1
10-Jun-2019
christos
Sync with HEAD
1.13.4.1
03-Apr-2018
pgoyette
Remove fixed allocation of modules' "required" lists (previously
limited to MAXMODDEPS entries). Update the modctl(MODCTL_STAT)
syscall to return the required data in a new format, and retain
the previous data format in MODCTL_OSTAT. Update the compat_80
and compat_netbsd32 modules as needed.
1.15.2.1
09-Dec-2019
martin
Pull up following revision(s) (requested by pgoyette in ticket #527):
sbin/modstat/modstat.8: revision 1.24
sbin/modstat/modstat.8: revision 1.26
lib/libc/sys/modctl.2: revision 1.16
Note that the size returned by modctl(2) and displayed by modstat(8) is
only for the module's text section, not for the entire size of the
module.
Addresses PR kern-54737
Remove superfluous Pp.
Indexes created Thu Oct 02 14:10:14 GMT 2025