Re: [PATCH] Re: export of sys_call_table

From: Brian F. G. Bidulock (bidulock@openss7.org)
Date: Tue Oct 08 2002 - 19:40:29 EST


Pete,

Sorry, wrong patch. See correct patch re-posted on this thread.

BTW no other symbols in ksyms are exported with EXPORT_SYMBOL_GPL
in 2.4.19.

--brian

On Tue, 08 Oct 2002, Pete Zaitcev wrote:

> > Following is a tested patch for i386 architecture for registration
> > of putpmsg and getpmsg system calls. This version (courtesy of
> > Dave Grothe at GCOM) uses up/down semaphore instead of read/write
> > spinlocks. The patch is against 2.4.19 but should apply up and
> > down a ways as well.
>
> > +EXPORT_SYMBOL(register_streams_calls);
> > +EXPORT_SYMBOL(unregister_streams_calls);
>
> EXPORT_SYMBOL_GPL perhaps? Otherwise it's just a disguised hook,
> just like nVidia's shell driver.
>
> > +static rwlock_t streams_call_lock = RW_LOCK_UNLOCKED;
>
> Does not look like a semaphore to me...
>
> -- Pete

-- 
Brian F. G. Bidulock     The reasonable man adapts himself to the 
bidulock@openss7.org     world; the unreasonable one persists in  
http://www.openss7.org/  trying  to adapt the  world  to himself. 
                         Therefore  all  progress  depends on the 
                         unreasonable man. -- George Bernard Shaw 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:29 EST