LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* protecting source code in 2.6
@ 2004-05-20 13:18 Jinu M.
  2004-05-20 13:44 ` John Bradford
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Jinu M. @ 2004-05-20 13:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernelnewbies, Surendra I.

Hi All,

We are developing a block device driver on linux-2.6.x kernel. We want
to distribute our driver as sum of source code and librabry/object code.

We have divided the source code into two parts. The os interface module 
and the device interface module. The os interface module (osint.c) has 
all the os interface functions (init, exit, open, close, ioctl, request
queue handling etc). The device interface module (devint.c) on the other
hand has all the device interface functions (initialize device, read, 
write etc), these don't use system calls or kernel APIs.

The device interface module is proprietary source and we don't intend
to distribute it with source code on GPL license.

What we intend to do is, distribute the os interface module (osint.c)
with
source code and the device interface module as object code or library.
The
user will compile the os interface module on the target box and link it 
with the device interface module to generate the .ko (loadable module).

We are not very sure of how to achieve this. 
Please help us address this issue.

Thanks in advance,
-Jinu 

^ permalink raw reply	[flat|nested] 13+ messages in thread
* protecting source code in 2.6
@ 2004-05-20 13:21 Jinu M.
  2004-05-20 14:08 ` Sam Ravnborg
  2004-05-20 14:08 ` Giuliano Pochini
  0 siblings, 2 replies; 13+ messages in thread
From: Jinu M. @ 2004-05-20 13:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernelnewbies, Surendra I.

Hi All,

We are developing a block device driver on linux-2.6.x kernel. We want
to
distribute our driver as sum of source code and librabry/object code.

We have divided the source code into two parts. The os interface module
and the device interface module. The os interface module (osint.c) has
all the os interface functions (init, exit, open, close, ioctl, request
queue handling etc). The device interface module (devint.c) on the other
hand has all the device interface functions (initialize device, read,
write etc), these don't use system calls or kernel APIs.

The device interface module is proprietary source and we don't intend to
distribute it with source code on GPL license.

What we intend to do is, distribute the os interface module (osint.c)
with
source code and the device interface module as object code or library.
The
user will compile the os interface module on the target box and link it
with the device interface module to generate the .ko (loadable module).

We are not very sure of how to achieve this. 
Please help us address this issue.

Thanks in advance,
-Jinu 


^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <1XVMB-8tQ-3@gated-at.bofh.it>]

end of thread, other threads:[~2004-05-23  0:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-20 13:18 protecting source code in 2.6 Jinu M.
2004-05-20 13:44 ` John Bradford
2004-05-20 14:05 ` Bartlomiej Zolnierkiewicz
2004-05-20 15:43 ` Richard B. Johnson
2004-05-21  8:29 ` Matthias Andree
2004-05-21 16:05 ` Rik van Riel
2004-05-21 19:49 ` Bill Davidsen
2004-05-20 13:21 Jinu M.
2004-05-20 14:08 ` Sam Ravnborg
2004-05-20 14:08 ` Giuliano Pochini
     [not found] <1XVMB-8tQ-3@gated-at.bofh.it>
     [not found] ` <1YsIy-15G-15@gated-at.bofh.it>
2004-05-22 14:54   ` Vincent C Jones
2004-05-22 23:24     ` Benjamin Herrenschmidt
2004-05-23  0:56       ` Vincent C Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).