Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [pgoyette-compat] src/sys



Module Name:    src
Committed By:   pgoyette
Date:           Sun Apr  1 23:06:11 UTC 2018

Modified Files:
        src/sys/kern [pgoyette-compat]: kern_module.c sys_module.c
        src/sys/sys [pgoyette-compat]: module.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.130.2.6 -r1.130.2.7 src/sys/kern/kern_module.c
cvs rdiff -u -r1.23.2.4 -r1.23.2.5 src/sys/kern/sys_module.c
cvs rdiff -u -r1.41.14.6 -r1.41.14.7 src/sys/sys/module.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index