Skip site navigation (1)Skip section navigation (2)

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

[BACK] Up to [FreeBSD] / src / sys / kern

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.62.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.62.2.1: preferred, colored
Changes since revision 1.62.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)

Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Sep 16 13:58:51 2011 UTC (4 months, 3 weeks ago) by kmacy
Branches: MAIN
CVS tags: RELENG_9_BP, HEAD
Branch point for: RELENG_9
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -4 lines
SVN rev 225617 on 2011-09-16 13:58:51Z by kmacy

In order to maximize the re-usability of kernel code in user space this
patch modifies makesyscalls.sh to prefix all of the non-compatibility
calls (e.g. not linux_, freebsd32_) with sys_ and updates the kernel
entry points and all places in the code that use them. It also
fixes an additional name space collision between the kernel function
psignal and the libc function of the same name by renaming the kernel
psignal kern_psignal(). By introducing this change now we will ease future
MFCs that change syscalls.

Reviewed by:	rwatson
Approved by:	re (bz)

Revision 1.52.2.4.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.52.2.4: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.4: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)

Revision 1.57.2.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.57.2.3: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.3: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)

Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 29 08:04:10 2010 UTC (14 months, 1 week ago) by attilio
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.2: +2 -3 lines
SVN rev 216042 on 2010-11-29 08:04:10Z by attilio

MFC r215544,215683:
Scan the list in reverse order for the shutdown handlers of loaded modules.
This way, when there is a dependency between two modules, the handler of the
latter probed runs first.

Sponsored by:	Sandvine Incorporated

Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Nov 22 15:28:54 2010 UTC (14 months, 2 weeks ago) by attilio
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -3 lines
SVN rev 215683 on 2010-11-22 15:28:54Z by attilio

Style fix.

Sponsored by:	Sandvine Incorporated
Requested by:	jhb
Reviewed by:	jhb
MFC after:	1 week
X-MFC:		215544

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Nov 19 19:43:56 2010 UTC (14 months, 3 weeks ago) by attilio
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
SVN rev 215544 on 2010-11-19 19:43:56Z by attilio

Scan the list in reverse order for the shutdown handlers of loaded modules.
This way, when there is a dependency between two modules, the handler of the
latter probed runs first.

This is a similar approach as the modules are unloaded in the same
linkerfile.

Sponsored by:	Sandvine Incorporated
Submitted by:	Nima Misaghian <nmisaghian at sandvine dot com>
MFC after:	1 week

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Jun 21 09:55:56 2010 UTC (19 months, 2 weeks ago) by ed
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -2 lines
SVN rev 209390 on 2010-06-21 09:55:56Z by ed

Use ISO C99 integer types in sys/kern where possible.

There are only about 100 occurences of the BSD-specific u_int*_t
datatypes in sys/kern. The ISO C99 integer types are used here more
often.

Revision 1.57.2.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.57.2.2: preferred, colored; next MAIN 1.57.2.3: preferred, colored
Changes since revision 1.57.2.2: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)

Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 7 02:24:41 2010 UTC (22 months ago) by nwhitehorn
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +1 -1 lines
SVN rev 206336 on 2010-04-07 02:24:41Z by nwhitehorn

MFC r205014,205015:

Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

This MFC is required for MFCs of later changes to the freebsd32
compatibility from HEAD.

Requested by:	kib

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Mar 11 14:49:06 2010 UTC (23 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +1 -1 lines
SVN rev 205014 on 2010-03-11 14:49:06Z by nwhitehorn

Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

Reviewed by:	kib, jhb

Revision 1.52.2.4.4.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.52.2.4: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.4: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)

Revision 1.57.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.57.2.1: preferred, colored; next MAIN 1.57.2.2: preferred, colored
Changes since revision 1.57.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)

Revision 1.52.2.4.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.52.2.4: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.4: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)

Revision 1.52.2.4: download - view: text, markup, annotated - select for diffs
Wed Jan 21 18:35:48 2009 UTC (3 years ago) by jhb
Branches: RELENG_7
CVS tags: RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP
Branch point for: RELENG_7_4, RELENG_7_3, RELENG_7_2
Diff to: previous 1.52.2.3: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.3: +15 -0 lines
SVN rev 187554 on 2009-01-21 18:35:48Z by jhb

MFC: Reorder modules during initialization to ensure that MOD_QUIESCE
and MOD_UNLOAD events are posted to kernel modules in the reverse order
of MOD_LOAD events.

Revision 1.52.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 21 18:32:43 2009 UTC (3 years ago) by jhb
Branches: RELENG_7
Diff to: previous 1.52.2.2: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.2: +20 -5 lines
SVN rev 187553 on 2009-01-21 18:32:43Z by jhb

MFC: Invoke MOD_QUIESCE on all modules in a linker file (kld) before
unloading any modules.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Dec 5 16:47:30 2008 UTC (3 years, 2 months ago) by jhb
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +15 -0 lines
SVN rev 185642 on 2008-12-05 16:47:30Z by jhb

When the SYSINIT() to load a module invokes the MOD_LOAD event successfully,
move that module to the head of the associated linker file's list of modules.
The end result is that once all the modules are loaded, they are sorted in
the reverse of their load order.  This causes the kernel linker to invoke
the MOD_QUIESCE and MOD_UNLOAD events in the reverse of the order that
MOD_LOAD was invoked.  This means that the ordering of MOD_LOAD events that
is set by the SI_* paramters to DECLARE_MODULE() are now honored in the same
order they would be for SYSUNINIT() for the MOD_QUIESCE and MOD_UNLOAD
events.

MFC after:	1 month

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Dec 5 13:40:25 2008 UTC (3 years, 2 months ago) by jhb
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +20 -5 lines
SVN rev 185635 on 2008-12-05 13:40:25Z by jhb

- Invoke MOD_QUIESCE on all modules in a linker file (kld) before
  unloading any modules.  As a result, if any module veto's an unload
  request via MOD_QUIESCE, the entire set of modules for that linker
  file will remain loaded and active now rather than leaving the kld
  in a weird state where some modules are loaded and some are unloaded.
- This also moves the logic for handling the "forced" unload flag out of
  kern_module.c and into kern_linker.c which is a bit cleaner.
- Add a module_name() routine that returns the name of a module and use that
  instead of printing pointer values in debug messages when a module fails
  MOD_QUIESCE or MOD_UNLOAD.

MFC after:	1 month

Revision 1.52.2.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.52.2.2: preferred, colored; next MAIN 1.52.2.3: preferred, colored
Changes since revision 1.52.2.2: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)

Revision 1.48.2.2.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.48.2.2: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.2: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)

Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Tue Jul 22 14:27:47 2008 UTC (3 years, 6 months ago) by rwatson
Branches: RELENG_7
CVS tags: RELENG_7_1_BP
Branch point for: RELENG_7_1
Diff to: previous 1.52.2.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.1: +1 -1 lines
SVN rev 180695 on 2008-07-22 14:27:47Z by rwatson

Merge r177253, r177255 from head to stable/7:

  In keeping with style(9)'s recommendations on macros, use a ';'
  after each SYSINIT() macro invocation.  This makes a number of
  lightweight C parsers much happier with the FreeBSD kernel
  source, including cflow's prcc and lxr.

  Discussed with: imp, rink

The requirement to place a ; after each SYSINIT definition has not been
MFC'd, as this might break the compile third-party modules, but merging
the actual ; additions reduces diffs against 8.x making it easier to
merge other changes.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Mar 16 10:58:05 2008 UTC (3 years, 10 months ago) by rwatson
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -1 lines
In keeping with style(9)'s recommendations on macros, use a ';'
after each SYSINIT() macro invocation.  This makes a number of
lightweight C parsers much happier with the FreeBSD kernel
source, including cflow's prcc and lxr.

MFC after:	1 month
Discussed with:	imp, rink

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Feb 13 21:34:05 2008 UTC (3 years, 11 months ago) by jhb
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -0 lines
Add an automatic kernel module version dependency to prevent loading
modules using invalid ABI versions (e.g. a 7.x module with an 8.x kernel)
for a given kernel:
- Add a 'kernel' module version whose value is __FreeBSD_version.
- Add a version dependency on 'kernel' in every module that has an
  acceptable version range of __FreeBSD_version up to the end of the
  branch __FreeBSD_version is part of.  E.g. a module compiled on 701000
  would work on kernels with versions between 701000 and 799999 inclusive.

Discussed on:	arch@
MFC after:	1 week

Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 19 22:59:07 2007 UTC (4 years, 1 month ago) by jhb
Branches: RELENG_6
CVS tags: RELENG_6_4_BP
Branch point for: RELENG_6_4
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.1: +1 -0 lines
MFC: Move several data structure definitions out of freebsd32_misc.c and
into freebsd32.h and freebsd32_ipc.h.

Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 19 20:37:53 2007 UTC (4 years, 1 month ago) by jhb
Branches: RELENG_7
CVS tags: RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -0 lines
MFC: Move several data structure definitions out of freebsd32_misc.c and
into freebsd32.h and freebsd32_ipc.h.

Approved by:	re (kensmith)

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Dec 6 23:11:27 2007 UTC (4 years, 2 months ago) by jhb
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -0 lines
Move several data structure definitions out of freebsd32_misc.c and into
freebsd32.h instead.

MFC after:	1 week

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Mar 4 22:36:46 2007 UTC (4 years, 11 months ago) by rwatson
Branches: MAIN
CVS tags: RELENG_7_BP
Branch point for: RELENG_7
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +0 -15 lines
Remove 'MPSAFE' annotations from the comments above most system calls: all
system calls now enter without Giant held, and then in some cases, acquire
Giant explicitly.

Remove a number of other MPSAFE annotations in the credential code and
tweak one or two other adjacent comments.

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 29 03:27:04 2006 UTC (5 years, 7 months ago) by maxim
Branches: RELENG_6
CVS tags: RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +5 -5 lines
o MFC rev. 1.50: expand an exclusive lock scope.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jun 26 18:34:45 2006 UTC (5 years, 7 months ago) by jhb
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +9 -3 lines
Address a problem I missed in removing Giant from the kernel linker.  Not
all of the module event handlers are MP safe yet, so always acquire Giant
for now when invoking module event handlers.  Eventually we can add an
MPSAFE flag or some such and add appropriate locking to all module event
handlers.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Jun 15 08:53:09 2006 UTC (5 years, 7 months ago) by maxim
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -5 lines
o Expand an exclusive lock scope to prevent a race between two
simultaneous module_register().

Original work done by:	Alex Lyashkov
Reviewed by:		jhb
MFC after:		2 weeks

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Apr 17 19:44:44 2006 UTC (5 years, 9 months ago) by jhb
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +7 -0 lines
Add a new module_file() function that returns the linker_file_t associated
with a given module_t.  I use this in some the MOD_LOAD event handler for
some test kernel modules to ask the kernel linker to look up the linker
sets in my test modules. (I use linker sets to generate the list of
possible events that I then signal to execute via a sysctl.  On non-amd64,
ld(8) would resolve the entire linker set, but on amd64 I have to ask the
kernel linker to do it for me, and having the kernel linker do it works on
all archs.)

Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Fri Feb 18 22:15:45 2005 UTC (6 years, 11 months ago) by ps
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.1: +81 -0 lines
MFC:
Add a 32bit syscall wrapper for modstat

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Feb 18 22:14:40 2005 UTC (6 years, 11 months ago) by ps
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0
Branch point for: RELENG_6
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4 lines
Swap the arguments for CP so we copy the correct source and
destination.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Jan 19 17:53:06 2005 UTC (7 years ago) by ps
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +81 -0 lines
Add a 32bit syscall wrapper for modstat

Obtained from:	Yahoo!

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 30 08:11:03 2004 UTC (7 years, 5 months ago) by truckman
Branches: RELENG_5
CVS tags: RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -0 lines
MFC kern_module.c 1.46

>   Don't bother calling the module event handlers from module_shutdown()
>   in the shutdown_final state if the RB_NOSYNC flag is set.
>
>   The specific motivation in this case is that a system panic in an
>   interrupt context results in a call to module_shutdown(), which
>   calls g_modevent(), which calls g_malloc(..., M_WAITOK), which
>   results in a second panic.   While g_modevent() could be fixed to
>   not call malloc() for MOD_SHUTDOWN events (which it doesn't handle
>   in any case), it is probably also a good idea to entirely skip the
>   execution of the module shutdown handlers after a panic.

Approved by:	re (kensmith)

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Aug 20 21:47:48 2004 UTC (7 years, 5 months ago) by truckman
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -0 lines
Don't bother calling the module event handlers from module_shutdown()
in the shutdown_final state if the RB_NOSYNC flag is set.

The specific motivation in this case is that a system panic in an
interrupt context results in a call to module_shutdown(), which
calls g_modevent(), which calls g_malloc(..., M_WAITOK), which
results in a second panic.   While g_modevent() could be fixed to
not call malloc() for MOD_SHUTDOWN events (which it doesn't handle
in any case), it is probably also a good idea to entirely skip the
execution of the module shutdown handlers after a panic.

This may be a MFC candidate for RELENG_5.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Jul 15 08:26:05 2004 UTC (7 years, 6 months ago) by phk
Branches: MAIN
CVS tags: RELENG_5_BP
Branch point for: RELENG_5
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -1 lines
Do a pass over all modules in the kernel and make them return EOPNOTSUPP
for unknown events.

A number of modules return EINVAL in this instance, and I have left
those alone for now and instead taught MOD_QUIESCE to accept this
as "didn't do anything".

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jul 14 22:37:36 2004 UTC (7 years, 6 months ago) by phk
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +9 -1 lines
A module with no modevent function gets modevent_nop() as default.

Until now the function has just returned zero for any event, but
that is downright wrong for MOD_UNLOAD and not very useful for any
future events we add where it may be crucial to be able to tell
if the event was unhandled or successful.

Change the function to return as follows:

	MOD_LOAD -> 0
	MOD_UNLOAD -> EBUSY
	anything else -> EOPNOTSUPP

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Jul 13 19:36:58 2004 UTC (7 years, 6 months ago) by phk
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +7 -1 lines
Give kldunload a -f(orce) argument.

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.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Jun 11 00:56:56 2003 UTC (8 years, 8 months ago) by obrien
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -2 lines
Use __FBSDID().

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Feb 19 05:47:25 2003 UTC (8 years, 11 months ago) by imp
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -1 lines
Back out M_* changes, per decision of the TRB.

Approved by: trb

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Jan 21 08:55:54 2003 UTC (9 years ago) by alfred
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -1 lines
Remove M_TRYWAIT/M_WAITOK/M_WAIT.  Callers should use 0.
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.

Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 10 07:10:27 2003 UTC (9 years, 1 month ago) by peter
Branches: RELENG_5_0
CVS tags: RELENG_5_0_0_RELEASE
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.1: +1 -1 lines
MFC: 1.39: move the MOD_SHUTDOWN events from shutdown_post_sync to
shutdown_final so that da's SYNC CACHE command and crashdumps do not lock
up on mpt devices.

Approved by: re (scottl)

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jan 7 22:24:13 2003 UTC (9 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -1 lines
Move the MOD_SHUTDOWN event from shutdown_post_sync to shutdown_final,
so that entities that want to use the post_sync hook to write stuff
to devices and other tidy-up can do so before the device tree is
shot down.  eg: da doing a SYNC_CACHE etc.  This should get crashdumps
working on mpt devices again, and stops the ia64 boxes locking up
on regular shutdown when da tries to issue the scsi commands to mpt.

Obtained from:  njl, gibbs

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 19 09:40:10 2002 UTC (9 years, 1 month ago) by alfred
Branches: RELENG_5_0
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -6 lines
MFC: SCARGS and syscallargs removal.

Approved by: re@ (rwatson)

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Dec 14 01:56:25 2002 UTC (9 years, 1 month ago) by alfred
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -6 lines
SCARGS removal take II.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Dec 13 22:41:46 2002 UTC (9 years, 1 month ago) by alfred
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -6 lines
Backout removal SCARGS, the code freeze is only "selectively" over.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Dec 13 22:27:24 2002 UTC (9 years, 1 month ago) by alfred
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -6 lines
Remove SCARGS.

Reviewed by: md5

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Jun 26 03:00:40 2002 UTC (9 years, 7 months ago) by arr
Branches: MAIN
CVS tags: RELENG_5_0_BP
Branch point for: RELENG_5_0
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +0 -0 lines
- The previous commit message should have read that Giant was removed
  from modnext(), modfnext(), modstat(), and modfind().  Please excuse
  the fumble.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jun 26 00:31:44 2002 UTC (9 years, 7 months ago) by arr
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +11 -27 lines
- Remove Giant acquisition from modevent(), modfnext(), modstat() and
  modfind().  Giant is no longer needed by these functions for safe
  execution.

Reviewed by:	jhb

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Mar 18 07:45:27 2002 UTC (9 years, 10 months ago) by arr
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +58 -19 lines
- Lock down the ``module'' structure by adding an SX lock that is used by
  all the global bits of ``module'' data.  This commit adds a few generic
  macros, MOD_SLOCK, MOD_XLOCK, etc., that are meant to be used as ways
  of accessing the SX lock.  It is also the first step in helping to lock
  down the kernel linker and module systems.

Reviewed by: jhb, jake, smp@

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Feb 26 00:55:27 2002 UTC (9 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
Fix a warning.  Do not assume pointer == long.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Feb 22 13:33:10 2002 UTC (9 years, 11 months ago) by arr
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +9 -10 lines
- Whitespace fixup left over from previous commit.
- Remove bogus cast.

Submitted by:	bde

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Feb 20 16:05:30 2002 UTC (9 years, 11 months ago) by arr
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +14 -14 lines
- Fix style further by adding parentheses around return values so that
  they look like:
	return (val);  instead of:  return val;

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Feb 20 14:30:02 2002 UTC (9 years, 11 months ago) by arr
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +203 -203 lines
- Style.9 formatting fix; this commit is mostly white space related with
  the next commit actually doing the:
	return val; -> return (val);
  changes.  This commit was done in preparation for getting ``struct
  modules'' locked down.

Reviewed by: bde
Approved by: dfr

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Sep 12 08:37:44 2001 UTC (10 years, 5 months ago) by julian
Branches: MAIN
CVS tags: KSE_MILESTONE_2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +14 -14 lines
KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.

Sorry john! (your next MFC will be a doosie!)

Reviewed by: peter@freebsd.org, dillon@freebsd.org

X-MFC after:    ha ha ha ha

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Sep 1 19:04:37 2001 UTC (10 years, 5 months ago) by dillon
Branches: MAIN
CVS tags: KSE_PRE_MILESTONE_2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +53 -20 lines
Giant Pushdown.  Saved the worst P4 tree breakage for last.

    reboot() getpriority() setpriority() rtprio() osetrlimit() ogetrlimit()
    setrlimit() getrlimit() getrusage() getpid() getppid() getpgrp()
    getpgid() getsid() getgid() getegid() getgroups() setsid() setpgid()
    setuid() seteuid() setgid() setegid() setgroups() setreuid() setregid()
    setresuid() setresgid() getresuid() getresgid () __setugid() getlogin()
    setlogin() modnext() modfnext() modstat() modfind() kldload() kldunload()
    kldfind() kldnext() kldstat() kldfirstmod() kldsym() getdtablesize()
    dup2() dup() fcntl() close() ofstat() fstat() nfsstat() fpathconf()
    flock()

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Feb 4 13:12:21 2001 UTC (11 years ago) by phk
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
Mechanical change to use <sys/queue.h> macro API instead of
fondling implementation details.

Created with: sed(1)
Reviewed by: md5(1)

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Dec 8 20:08:25 2000 UTC (11 years, 2 months ago) by phk
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Staticize some malloc M_ instances.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri May 26 02:04:34 2000 UTC (11 years, 8 months ago) by jake
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue May 23 20:37:15 2000 UTC (11 years, 8 months ago) by jake
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4 lines
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by:	phk
Reviewed by:	phk
Approved by:	mdodd

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Apr 29 13:19:28 2000 UTC (11 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -16 lines
First round implementation of a fine grain enhanced module to module
version dependency system.  This isn't quite finished, but it is at a
useful stage to do a functional checkpoint.

Highlights:
- version and dependency metadata is gathered via linker sets, so things
are handled the same for static kernels and code built to live in a kld.
- The dependencies are at module level (versus at file level).
- Dependencies determine kld symbol search order - this means that you
cannot link against symbols in another file unless you depend on it. This
is so that you cannot accidently unload the target out from underneath
the ones referencing it.
- It is flexible enough that we can put tags in #include files and macros
so that we can get decent hooks for enforcing recompiles on incompatable
ABI changes.  eg: if we change struct proc, we could force a recompile
for all kld's that reference the proc struct.
- Tangled dependency references at boot time are sorted.  Files are
relocated once all their dependencies are already relocated.

Caveats:
- Loader support is incomplete, but has been worked on seperately.
- Actual enforcement of the version number tags is not active yet - just
the module dependencies are live.  The actual structure of versioning
hasn't been agreed on yet. (eg: major.minor, or whatever)
- There is some backwards compatability for old modules without metadata
but I'm not sure how good it is.

This is based on work originally done by Boris Popov (bp@freebsd.org),
but I'm not sure he'd recognize much of it now. Don't blame him. :-)
Also, ideas have been borrowed from Mike Smith.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Nov 8 06:53:30 1999 UTC (12 years, 3 months ago) by peter
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5, RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4, RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3, RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE, RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10, RELENG_4_0_0_RELEASE, RELENG_4
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +9 -2 lines
A hack basically..  We have a bunch of code that used to call
devsw_module_handler() indirectly and not use the chain arguments.  To
eliminate this indirection via that function (which does nothing now)
without duplicating a modevent handler into all the routines that don't
presently have one, supply a NOP (do nothing, return OK) routine which
is functionally equivalent to what's there now.  This is a hack and is
still wrong, because there doesn't appear to be anything to reclaim
resources on an unload of a module with one of these in it.  I'm not
sure whether to make the NOP handler refuse a MOD_UNLOAD event or what.

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 29 16:26:01 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE, RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:46:13 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Aug 21 06:24:19 1999 UTC (12 years, 5 months ago) by msmith
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -4 lines
Implement a new generic mechanism for attaching handler functions to
events, in order to pave the way for removing a number of the ad-hoc
implementations currently in use.

Retire the at_shutdown family of functions and replace them with
new event handler lists.

Rework kern_shutdown.c to take greater advantage of the use of event
handlers.

Reviewed by:	green

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu May 20 00:00:58 1999 UTC (12 years, 8 months ago) by peter
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1 lines
Oops, set module->file..

PR: 1179
Submitted-by: lha@stacken.kth.se

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat May 8 13:01:57 1999 UTC (12 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +33 -21 lines
First stages of a module dependency cleanup.  This part fixes a
particularly annoying hack, namely having the linker bash the moduledata
to set the container pointer, preventing it being const.  In the process,
a stack of warnings were fixed and will probably allow a revisit of the
const C_SYSINIT() changes.  This explicitly registers modules in files or
preload areas with the module system first, and let them initialize via
SYSINIT/DECLARE_MODULE later in their SI_ORDER_xxx order.  The kludge of
finding the containing file is no longer needed since the registration
of modules onto the modules list is done in the context of initializing
the linker file.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Jan 29 08:36:44 1999 UTC (13 years ago) by dillon
Branches: MAIN
CVS tags: PRE_VFS_BIO_NFS_PATCH, PRE_SMP_VMSHARE, PRE_NEWBUS, POST_VFS_BIO_NFS_PATCH, POST_SMP_VMSHARE, POST_NEWBUS
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
    More -Wall / -Wcast-qual cleanup.  Also, EXEC_SET can't use
    C_DECLARE_MODULE due to the linker_file_sysinit() function
    making modifications to the data.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jan 27 21:49:56 1999 UTC (13 years ago) by dillon
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +8 -8 lines
        Fix warnings in preparation for adding -Wall -Wcast-qual to the
        kernel compile

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jan 9 16:50:04 1999 UTC (13 years, 1 month ago) by dfr
Branches: MAIN
CVS tags: RELENG_3_BP, RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE, RELENG_3_1_0_RELEASE
Branch point for: RELENG_3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -3 lines
Remove a diagnostic message left in by mistake.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Jan 9 14:59:50 1999 UTC (13 years, 1 month ago) by dfr
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +27 -2 lines
Implement a mechanism for a module to report a small amount of module
specific data back to the user via kldstat(2).  Use that mechanism in
the syscall handler to report the syscall number used.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Nov 6 02:18:57 1998 UTC (13 years, 3 months ago) by peter
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
put a \n on an error message printf

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Oct 16 03:55:00 1998 UTC (13 years, 3 months ago) by peter
Branches: MAIN
CVS tags: RELENG_3_0_0_RELEASE
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
*gulp*.  Jordan specifically OK'ed this..

This is the bulk of the support for doing kld modules.  Two linker_sets
were replaced by SYSINIT()'s.  VFS's and exec handlers are self registered.
kld is now a superset of lkm.  I have converted most of them, they will
follow as a seperate commit as samples.
This all still works as a static a.out kernel using LKM's.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Oct 10 00:03:07 1998 UTC (13 years, 4 months ago) by peter
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +11 -7 lines
Keep track of the containing file for modules.  This is a bit of a hack,
but I can't think of another (relatively) easy way of getting the info
since the boot-time initialization is not done immediately after "loading".
XXX module_register() gained an extra arg.  This might break the alpha
compile, if so, just add a zero to get the old behavior.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Oct 3 11:05:45 1998 UTC (13 years, 4 months ago) by dfr
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
Send a MOD_UNLOAD event before deleting the module. if the MOD_LOAD event
failed.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jul 14 05:09:45 1998 UTC (13 years, 7 months ago) by bde
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -3 lines
Changed to the C9x draft spelling of the (unsigned) integral type
suitable for holding object pointers (ptrint_t -> uintptr_t).
Added corresponding signed type (intptr_t).  Changed/added
corresponding non-C9x types for function pointers to match.  Don't
use nonstandard types to implement these types, and don't comment
on them in <machine/types.h>.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jul 11 07:45:40 1998 UTC (13 years, 7 months ago) by bde
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -3 lines
Fixed printf format errors.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Nov 7 08:52:56 1997 UTC (14 years, 3 months ago) by phk
Branches: MAIN
CVS tags: PRE_SOFTUPDATE, PRE_NOBDEV, PRE_DEVFS_SLICE, POST_SOFTUPDATE, POST_DEVFS_SLICE
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2 lines
Remove a bunch of variables which were unused both in GENERIC and LINT.

Found by:	-Wunused

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Nov 6 19:29:11 1997 UTC (14 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +15 -14 lines
Move the "retval" (3rd) parameter from all syscall functions and put
it in struct proc instead.

This fixes a boatload of compiler warning, and removes a lot of cruft
from the sources.

I have not removed the /*ARGSUSED*/, they will require some looking at.

libkvm, ps and other userland struct proc frobbing programs will need
recompiled.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Oct 28 15:58:21 1997 UTC (14 years, 3 months ago) by bde
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -2 lines
Removed unused #includes.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Oct 24 05:29:07 1997 UTC (14 years, 3 months ago) by jmg
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
make a couple functions static...

also change module_register_static to module_register_init as this
function initalizes the module for both dynamic and static modules...

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 2 14:31:33 1997 UTC (14 years, 6 months ago) by bde
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -3 lines
Removed unused #includes.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed May 7 16:05:31 1997 UTC (14 years, 9 months ago) by dfr
Branches: MAIN
CVS tags: WOLLMAN_MBUF, BP_WOLLMAN_MBUF
This is the kernel linker.  To use it, you will first need to apply
the patches in freefall:/home/dfr/ld.diffs to your ld sources and set
BINFORMAT to aoutkld when linking the kernel.

Library changes and userland utilities will appear in a later commit.

Diff request

This form allows you to request diffs 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.

Log view options