CVS log for src/sys/kern/sys_module.c
Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue May 24 06:20:05 2022 UTC (4 years, 5 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
s/build-in/built-in/ in comments.
Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:03 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +102 -20
lines
Sync with HEAD
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Mar 1 11:06:57 2019 UTC (7 years, 8 months ago) by pgoyette
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.
NFCI intended.
Ride the earlier kernel bump - it;s getting crowded.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jan 28 16:55:57 2019 UTC (7 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -5
lines
remove uninitialized (and unused)
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jan 27 18:29:10 2019 UTC (7 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
- autoload the compat_80 for modstat
- move compat struct to a compat header
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:43 2019 UTC (7 years, 9 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +103 -18
lines
Merge the [pgoyette-compat] branch
Revision 1.23.2.17: download - view: text, markup, annotated - select for diffs
Tue Jan 22 07:42:41 2019 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.23.2.16: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.16: +5 -10
lines
Convert the MODULE_{,VOID_}HOOK_CALL macros to do everything in-line
rather than defining an intermediate hook##call function. Almost
all of the hooks are called only once, and although we lose the
ability of doing things like
if (MODULE_HOOK_CALL(...) == 0) ...
we simplify things quite a bit. With this change, we no longer need
to have both declaration and definition macros, and the definition
no longer needs to have both prototype argument list and a "real"
argument list.
FWIW, the above if now needs to written as
int ret;
MODULE_HOOK_CALL(..., ret);
if (ret == 0) ...
with appropriate use of braces {}.
Revision 1.23.2.16: download - view: text, markup, annotated - select for diffs
Fri Jan 18 00:01:01 2019 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.15: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.15: +4 -4
lines
Don't restrict hooks to having only int or void types. Pass the hook's
type to the various macros, as needed.
Allows us to reduce diffs to original in at least one or two places (we
no longer have to provide an additional parameter to the hook routine
for returning a non-int return value).
Revision 1.23.2.15: download - view: text, markup, annotated - select for diffs
Mon Jan 14 13:34:28 2019 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.14: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.14: +4 -4
lines
Create a variant of the HOOK macros that handles hook routines of
type void, and use them where appropriate.
Revision 1.23.2.14: download - view: text, markup, annotated - select for diffs
Sun Jan 13 10:49:50 2019 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.13: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.13: +5 -5
lines
Remove the HOOK2 versions of the MODULE_HOOK macros. There were
only a few uses, and using them led to some lack of clarity in the
code. Instead, we now use two separate hooks, with names that
make it clear(er) what we're doing.
This also positions us to start unraveling some of the rtsock_50
mess, which will need (at least) five hooks.
Revision 1.23.2.13: download - view: text, markup, annotated - select for diffs
Sat Sep 29 21:36:14 2018 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.12: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.12: +3 -3
lines
In MODULE_HOOK_CALL_DECL we don't need to provide the actual argument
list for calling the hook function, nor do we need to provide the
default value (for when the hook has not been set).
Revision 1.23.2.12: download - view: text, markup, annotated - select for diffs
Tue Sep 18 23:03:55 2018 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.11: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.11: +5 -5
lines
The COMPAT_HOOK macros were renamed to MODULE_HOOK, adjust all callers
Revision 1.23.2.11: download - view: text, markup, annotated - select for diffs
Tue Sep 18 01:15:58 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.10: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.10: +4 -2
lines
Split the COMPAT_CALL_HOOK to separate the declaration from the
implementation. Some hooks are called from multiple source files,
and the old method resulted in duplicate implementations.
Implement MP-safe hooks for the usb_subr_30 code. Pass the helper
functions as arguments to the compat code so it does not have to
determine if the kernel contains usb code.
Revision 1.23.2.10: download - view: text, markup, annotated - select for diffs
Mon Sep 17 11:04:31 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.9: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.9: +8 -3
lines
Adapt (most of) the indirect function pointers to the new MP-safe
mechanism. Still remaining are the compat_netbsd32 stuff, and
some usb subroutines.
Revision 1.23.2.9: download - view: text, markup, annotated - select for diffs
Fri Sep 7 23:32:30 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.8: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.8: +2 -40
lines
At the request of reviewers, remove the module alias functionality.
We will rely only on module names and duplicate-symbol detection to
detect module conflicts.
Revision 1.23.2.8: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:42 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.7: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.7: +7 -7
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Sep 4 14:31:18 2018 UTC (8 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4
lines
Introduce KAUTH_REQ_PROCESS_CANSEE_KPTR, and use it in the already-existing
modstat code. No real functional change.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:35 2018 UTC (8 years, 2 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.23.2.7: download - view: text, markup, annotated - select for diffs
Sun Jul 8 07:33:14 2018 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.6: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.6: +4 -3
lines
Use SET, CLR, ISSET macros from types.h
NFCI
Revision 1.23.2.6: download - view: text, markup, annotated - select for diffs
Tue Apr 3 08:29:44 2018 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.5: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.5: +103 -34
lines
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.
Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Sun Apr 1 23:06:11 2018 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.4: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.4: +19 -6
lines
Remove fixed limit on number of modules which can be "required" by
a module. Instead, allocate the array dynamically, and expand it
when needed.
XXX Note the modctl(2)'s MODCTL_STAT routine needs to be updated
(and versioned) to handle the unlimited size. For now, the kernel
will simply truncate the required list if it doesn't fit in the
existing export structure.
Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Sun Apr 1 10:47:53 2018 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.3: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.3: +22 -8
lines
In the data returned by MODCTL_STAT, include alias information for
modules that are still on the built-in list.
Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 11 08:32:21 2018 UTC (8 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.2: +3 -3
lines
Since we use pointer semantics when walking the alias lists, declare
the pointer variable accordingly.
Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 11 07:25:59 2018 UTC (8 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +5 -5
lines
(Re)implement the alias list as a "const char * const (*list)[]" and
store a pointer to this list in the mod_info structure (which lives
in the modules' linkset data). Don't allow any duplication of module
names _or_ aliases when loading; for dependencies, they will be met
if the required module name matches any loaded module name or alias.
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 11 00:44:32 2018 UTC (8 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +27 -3
lines
Store the aliases list in the mod_info struct, since it is totally
static data. This saves us having to make a special xxx_modcmd()
call to retrieve the data. Update module(9) man page accordingly.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jan 18 13:31:20 2018 UTC (8 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +10 -4
lines
Don't return the address of the kernel modules if the user is not
privileged. Discussed on tech-kern@.
Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:45 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.1: +81 -75
lines
update from HEAD
Revision 1.17.4.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:07 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.17.4.2: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.4.2: +2 -11
lines
Sync with HEAD
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:13 2017 UTC (9 years, 5 months ago) by chs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -11
lines
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP
kmem_zalloc() with KM_SLEEP
percpu_alloc()
pserialize_create()
psref_class_create()
all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.
Revision 1.17.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:05 2015 UTC (10 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.17.4.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.4.1: +70 -59
lines
Sync with HEAD (as of 26th Dec)
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Dec 12 14:47:37 2015 UTC (10 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +70 -60
lines
Put the code in charge of handling MODCTL_STAT into a separate function.
No functional change.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Nov 4 04:28:58 2015 UTC (11 years ago) by pgoyette
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -2
lines
Export module flags to userland
Revision 1.17.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:07 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +19 -15
lines
Sync with HEAD
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Aug 24 22:50:32 2015 UTC (11 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -4
lines
to garnish, dust with _KERNEL_OPT
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Jun 19 14:23:59 2015 UTC (11 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +15 -13
lines
Make handle_modctl_load() usable from compat/netbsd32.
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:29 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +20 -13
lines
Rebase to HEAD as of a few days ago.
Revision 1.14.12.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:55:58 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +20 -13
lines
Rebase.
Revision 1.8.4.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 14 09:10:18 2014 UTC (12 years, 4 months ago) by msaitoh
Branches: netbsd-5-1
CVS tags: netbsd-5-1-5-RELEASE
Diff to: previous 1.8.4.1: preferred, colored; next MAIN 1.8.4.2: preferred, colored
Changes since revision 1.8.4.1: +12 -2
lines
Pull up following revision(s) (requested by maxv in ticket #1914):
sys/kern/sys_module.c: revision 1.15 via patch
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@
Revision 1.8.4.1.6.1: download - view: text, markup, annotated - select for diffs
Mon Jul 14 09:09:37 2014 UTC (12 years, 4 months ago) by msaitoh
Branches: netbsd-5-2
CVS tags: netbsd-5-2-3-RELEASE
Diff to: previous 1.8.4.1: preferred, colored; next MAIN 1.8.4.2: preferred, colored
Changes since revision 1.8.4.1: +12 -2
lines
Pull up following revision(s) (requested by maxv in ticket #1914):
sys/kern/sys_module.c: revision 1.15 via patch
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@
Revision 1.8.4.2: download - view: text, markup, annotated - select for diffs
Mon Jul 14 09:08:42 2014 UTC (12 years, 4 months ago) by msaitoh
Branches: netbsd-5
Diff to: previous 1.8.4.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.4.1: +12 -2
lines
Pull up following revision(s) (requested by maxv in ticket #1914):
sys/kern/sys_module.c: revision 1.15 via patch
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@
Revision 1.13.12.1: download - view: text, markup, annotated - select for diffs
Mon Jul 14 06:33:55 2014 UTC (12 years, 4 months ago) by msaitoh
Branches: netbsd-6-0
CVS tags: netbsd-6-0-6-RELEASE
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +12 -2
lines
Pull up following revision(s) (requested by maxv in ticket #1098):
sys/kern/sys_module.c: revision 1.15
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@
Revision 1.13.14.1: download - view: text, markup, annotated - select for diffs
Mon Jul 14 06:33:32 2014 UTC (12 years, 4 months ago) by msaitoh
Branches: netbsd-6-1
CVS tags: netbsd-6-1-5-RELEASE
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +12 -2
lines
Pull up following revision(s) (requested by maxv in ticket #1098):
sys/kern/sys_module.c: revision 1.15
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@
Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Mon Jul 14 06:32:30 2014 UTC (12 years, 4 months ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +12 -2
lines
Pull up following revision(s) (requested by maxv in ticket #1098):
sys/kern/sys_module.c: revision 1.15
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jul 10 21:13:52 2014 UTC (12 years, 4 months ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
don't cast void * in c.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Jul 10 19:21:46 2014 UTC (12 years, 4 months ago) by maxv
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -13
lines
Simplify a bit
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Jul 10 19:12:07 2014 UTC (12 years, 4 months ago) by maxv
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +12 -2
lines
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.
ok christos@
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:35 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +29 -2
lines
sync with head
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Aug 7 01:19:05 2012 UTC (14 years, 3 months ago) by jnemeth
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
tls-earlyentropy
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +29 -2
lines
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.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Jul 8 09:32:45 2011 UTC (15 years, 4 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
netbsd-6-1,
netbsd-6-0,
netbsd-6
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
avoid some uninitialised variable warnings.
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:55:22 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +5 -5
lines
sync with head
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:22:28 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +3 -3
lines
Sync with HEAD (-D20101022).
Revision 1.4.6.4: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:31 2010 UTC (16 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.4.6.3: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.3: +5 -5
lines
sync with head
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Aug 21 13:19:39 2010 UTC (16 years, 2 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base4,
uebayasi-xip-base3,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -5
lines
Update the rest of the kernel to conform to the module subsystem's new
locking protocol.
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:12 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +21 -3
lines
Sync with HEAD.
Revision 1.8.12.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:28:18 2010 UTC (16 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +8 -6
lines
sync to netbsd-5
Revision 1.4.6.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:19 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.4.6.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.6.2: +45 -18
lines
sync with head
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Mar 5 18:35:01 2010 UTC (16 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base10,
uebayasi-xip-base2,
uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +21 -3
lines
Move builtin modules to a list in init and load them from there
instead of using linksets directly. This has two implications:
1) It is now possible to "unload" a builtin module provided it is
not busy. This is useful e.g. to disable a kernel feature as
an immediate workaround to a security problem. To re-initialize
the module, modload -f <name> is required.
2) It is possible to use builtin modules which were linked at
runtime with an external linker (dlopen + rump).
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Oct 16 00:27:07 2009 UTC (17 years, 1 month ago) by jnemeth
Branches: MAIN
CVS tags: uebayasi-xip-base,
matt-premerge-20091211,
jym-xensuspend-nbase
Branch point for: uebayasi-xip
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +26 -17
lines
allow passing a NULL proplib dictionary to modctl(MODCTL_LOAD, ...)
Revision 1.8.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:57 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +8 -6
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:48 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.6.1: +13 -29
lines
sync with head.
Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Sun May 3 13:07:39 2009 UTC (17 years, 6 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
matt-nb5-pq3-base,
matt-nb5-pq3
Branch point for: netbsd-5-2,
netbsd-5-1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -6
lines
Pull up following revision(s) (requested by skrll in ticket #729):
sys/kern/sys_module.c: revision 1.9
copyin the modctl_load_t for the non-x86 world. Fixes PR/41294.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Apr 28 17:57:00 2009 UTC (17 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
jymxensuspend-base,
jym-xensuspend-base
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -6
lines
copyin the modctl_load_t for the non-x86 world. Fixes PR/41294.
Revision 1.3.12.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:20 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.3.12.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.12.2: +1 -1
lines
Sync with HEAD.
Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:09 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -3
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Oct 22 11:16:29 2008 UTC (18 years ago) by ad
Branches: MAIN
CVS tags: nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
mjf-devfs2-base,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: netbsd-5,
matt-nb5-mips64,
jym-xensuspend
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
- Be clear about whether module load is explicit or system initiated (auto).
- Require that module_lock is held to autoload, so that any preconditions
can be safely checked.
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:51 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +7 -25
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:39 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.1: +7 -25
lines
sync with head
Revision 1.3.12.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:11 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.3.12.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.12.1: +5 -30
lines
Sync with HEAD.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue May 20 19:20:38 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
haad-dm-base1
Branch point for: haad-dm
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
If autoloading a module, don't consider the current working directory.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue May 20 17:24:56 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -25
lines
Allow module class to be passed to module_load(), as a basic sanity check
that we are loading the right kind of module.
Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:10 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -9
lines
sync with head.
Revision 1.4.6.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:27 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -9
lines
sync with head.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:04 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.3.12.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:43:04 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +57 -12
lines
Sync with HEAD.
Revision 1.3.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:14 2008 UTC (18 years, 7 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +57 -12
lines
sync with head.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:00 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +202 -0
lines
sync with HEAD
Revision 1.3.4.3: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:34 2008 UTC (18 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.4.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.2: +57 -12
lines
sync with head.
Revision 1.4.2.1
Sun Mar 2 11:18:43 2008 UTC (18 years, 8 months ago) by matt
Branches: matt-armv6
FILE REMOVED
Changes since revision 1.4: +0 -202
lines
file sys_module.c was added on branch matt-armv6 on 2008-03-23 02:05:00 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Mar 2 11:18:43 2008 UTC (18 years, 8 months ago) by jmmv
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
matt-armv6
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +57 -12
lines
Add support for load-time parameters for modules, which are passed through
a dictionary. As discussed in tech-kern@.
Revision 1.3.6.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:06:47 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.3.6.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.6.1: +157 -0
lines
Sync with HEAD.
Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:46:23 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.4.1: +157 -0
lines
sync with head
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 19 12:15:25 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +157 -0
lines
Sync with HEAD
Revision 1.3.6.1
Thu Jan 17 22:30:54 2008 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
FILE REMOVED
Changes since revision 1.3: +0 -157
lines
file sys_module.c was added on branch mjf-devfs on 2008-02-18 21:06:47 +0000
Revision 1.3.4.1
Thu Jan 17 22:30:54 2008 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.3: +0 -157
lines
file sys_module.c was added on branch yamt-lazymbuf on 2008-01-21 09:46:23 +0000
Revision 1.3.2.1
Thu Jan 17 22:30:54 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
FILE REMOVED
Changes since revision 1.3: +0 -157
lines
file sys_module.c was added on branch bouyer-xeni386 on 2008-01-19 12:15:25 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Jan 17 22:30:54 2008 UTC (18 years, 10 months ago) by rumble
Branches: MAIN
CVS tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: yamt-lazymbuf,
mjf-devfs2,
mjf-devfs,
keiichi-mipv6,
bouyer-xeni386
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -5
lines
MODCTL_LOAD and MODCTL_FORCELOAD generally pass a path (if a module name
is passed, it's fixed up in kobj_subr.c), so permit MAXPATHLEN arguments.
The other commands deal strictly with module names, so leave them be.
While we're here, copyinstr()'s length parameter includes NUL-termination,
so no need to subtract 1.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jan 16 18:29:18 2008 UTC (18 years, 10 months ago) by ad
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3
lines
Add a cast for kauth_authorize_system..
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jan 16 12:34:51 2008 UTC (18 years, 10 months ago) by ad
Branches: MAIN
Pull in my modules code for review/test/hacking.
CVSweb <webmaster@jp.NetBSD.org>