Skip to contentSkip to conversation

unexport uts_sem

PATCH In review Adrian Bunk 3 participants 3 messages Mar 4, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unexport uts_sem

I didn't find any possible modular usage in the kernel.

kernel/sys.c renamed from kernel/sys.c.old +0 -2
@@ -1382,8 +1382,6 @@
 
 DECLARE_RWSEM(uts_sem);
 
-EXPORT_SYMBOL(uts_sem);
-
 asmlinkage long sys_newuname(struct new_utsname __user * name)
 {
 	int errno = 0;
#1 lore raw
Quoted 1 line · Adrian Bunk

I didn't find any possible modular usage in the kernel.

Sure ? This used to be exported for loadable modules that wanted to get the system default hostname string and for emulation layers like xabi (the SYS5 unix emulation lib)

Alan

#2 lore raw
Quoted 6 lines · Alan Cox
Quoted 1 line · Adrian Bunk

I didn't find any possible modular usage in the kernel.

Sure ? This used to be exported for loadable modules that wanted to get the system default hostname string and for emulation layers like xabi (the SYS5 unix emulation lib)

afaik the linux abi stuff never made the jump to 2.6, and is far from likely to do so...