The NetBSD Project

CVS log for src/sys/kern/sys_module.c

[BACK] Up to [cvs.netbsd.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Fri Jul 8 09:32:45 2011 UTC (10 months, 2 weeks ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, netbsd-6-base, netbsd-6, 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-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, HEAD
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

avoid some uninitialised variable warnings.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:22 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:28 2010 UTC (19 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.10.2.1: +3 -3 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD (-D20101022).

Revision 1.4.6.4 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:31 2010 UTC (19 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.4.6.3: +5 -5 lines
Diff to previous 1.4.6.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 21 13:19:39 2010 UTC (21 months ago) by pgoyette
Branch: 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
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

Update the rest of the kernel to conform to the module subsystem's new
locking protocol.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:12 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.10: +21 -3 lines
Diff to previous 1.10 (colored)

Sync with HEAD.

Revision 1.8.12.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:18 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.8: +8 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync to netbsd-5

Revision 1.4.6.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:19 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.4.6.2: +45 -18 lines
Diff to previous 1.4.6.2 (colored) to branchpoint 1.4 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 5 18:35:01 2010 UTC (2 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.10: +21 -3 lines
Diff to previous 1.10 (colored)

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) - annotate - [select for diffs], Fri Oct 16 00:27:07 2009 UTC (2 years, 7 months ago) by jnemeth
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip
Changes since 1.9: +26 -17 lines
Diff to previous 1.9 (colored)

allow passing a NULL proplib dictionary to modctl(MODCTL_LOAD, ...)

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:57 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.8: +8 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:48 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.4.6.1: +13 -29 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sun May 3 13:07:39 2009 UTC (3 years ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.8: +8 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

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) - annotate - [select for diffs], Tue Apr 28 17:57:00 2009 UTC (3 years ago) by skrll
Branch: 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
Changes since 1.8: +8 -6 lines
Diff to previous 1.8 (colored)

copyin the modctl_load_t for the non-x86 world. Fixes PR/41294.

Revision 1.3.12.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:20 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.3.12.2: +1 -1 lines
Diff to previous 1.3.12.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:09 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 22 11:16:29 2008 UTC (3 years, 7 months ago) by ad
Branch: 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
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

- 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) - annotate - [select for diffs], Mon Jun 23 04:31:51 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.5: +7 -25 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:39 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.4.4.1: +7 -25 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.3.12.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:11 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.3.12.1: +5 -30 lines
Diff to previous 1.3.12.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 20 19:20:38 2008 UTC (4 years ago) by ad
Branch: 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
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

If autoloading a module, don't consider the current working directory.

Revision 1.6 / (download) - annotate - [select for diffs], Tue May 20 17:24:56 2008 UTC (4 years ago) by ad
Branch: MAIN
Changes since 1.5: +7 -25 lines
Diff to previous 1.5 (colored)

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) - annotate - [select for diffs], Sun May 18 12:35:10 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.4: +2 -9 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:27 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.4: +2 -9 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:04 2008 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.4: +2 -9 lines
Diff to previous 1.4 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.3.12.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:04 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.3: +57 -12 lines
Diff to previous 1.3 (colored)

Sync with HEAD.

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:14 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.3: +57 -12 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:00 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.4.2.1: +202 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with HEAD

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:34 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.2: +57 -12 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.4.2.1, Sun Mar 2 11:18:43 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.4: +0 -202 lines
FILE REMOVED

file sys_module.c was added on branch matt-armv6 on 2008-03-23 02:05:00 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 2 11:18:43 2008 UTC (4 years, 2 months ago) by jmmv
Branch: 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
Changes since 1.3: +57 -12 lines
Diff to previous 1.3 (colored)

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) - annotate - [select for diffs], Mon Feb 18 21:06:47 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.3.6.1: +157 -0 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:23 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.1: +157 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:25 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.3.2.1: +157 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.3.6.1, Thu Jan 17 22:30:54 2008 UTC (4 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.3: +0 -157 lines
FILE REMOVED

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 (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3: +0 -157 lines
FILE REMOVED

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 (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.3: +0 -157 lines
FILE REMOVED

file sys_module.c was added on branch bouyer-xeni386 on 2008-01-19 12:15:25 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 17 22:30:54 2008 UTC (4 years, 4 months ago) by rumble
Branch: 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
Changes since 1.2: +9 -5 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Wed Jan 16 18:29:18 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Add a cast for kauth_authorize_system..

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 16 12:34:51 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN

Pull in my modules code for review/test/hacking.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>