Re: [PATCH 3/5] Module: check to see if we have a built in module with the same name

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg Kroah-Hartman <gregkh@...>
Cc: <linux-kernel@...>, Rusty Russell <rusty@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>
Date: Monday, January 28, 2008 - 7:54 pm

On Jan 27 2008 15:38, Greg Kroah-Hartman wrote:

Should not external modules with internal names be rejected at modprobe 
time? Otherwise I'd wonder how you want to deal with /sys/modules/XXX if 
both modules export some module_param()s.

It's just that if I happen to load vt.ko that the existing 
/sys/modules/vt (from in-kernel vt.o) does not get overwritten by new 
dentries that vt.ko will spawn. Something like /sys/modules/vt.1 perhaps 
for /the new module with same name?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] driver core fixes against 2.6.24, Greg KH, (Sun Jan 27, 7:37 pm)
[PATCH 5/5] PPC: Fix powerpc vio_find_name to not use device..., Greg Kroah-Hartman, (Sun Jan 27, 7:38 pm)
[PATCH 4/5] Driver core: add bus_find_device_by_name function, Greg Kroah-Hartman, (Sun Jan 27, 7:38 pm)
[PATCH 3/5] Module: check to see if we have a built in modul..., Greg Kroah-Hartman, (Sun Jan 27, 7:38 pm)
Re: [PATCH 3/5] Module: check to see if we have a built in m..., Jan Engelhardt, (Mon Jan 28, 7:54 pm)
[PATCH 2/5] x86: fix runtime error in arch/x86/kernel/cpu/mc..., Greg Kroah-Hartman, (Sun Jan 27, 7:38 pm)
[PATCH 1/5] Driver core: Fix up build when CONFIG_BLOCK=N, Greg Kroah-Hartman, (Sun Jan 27, 7:38 pm)