mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Operations inside a module
@ 2002-11-21 19:59 Matt Young
  2002-11-21 20:24 ` Rik van Riel
  2002-11-21 20:31 ` Richard B. Johnson
  0 siblings, 2 replies; 3+ messages in thread
From: Matt Young @ 2002-11-21 19:59 UTC (permalink / raw)
  To: linux-kernel

Within the open routine of  my module I need to open another device; and the 
write routine needs to write to the other device.

User space system calls seem to be unavailable to module code.
I know about swapping the DS and ES to fake out other modules; then using 
sys_write etc. 

Can my code just include the standard  syscall lib and use them from kernel 
space?

My module code would also like to use user space malloc, is this a problem?

Matt

  

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-21 20:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-21 19:59 Operations inside a module Matt Young
2002-11-21 20:24 ` Rik van Riel
2002-11-21 20:31 ` Richard B. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®