Re: Sys calls inside a driver

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Mon May 29 2000 - 12:32:08 EST


Vadim Lebedev wrote:
> I'm writing drivers for a 2.0.38 based system and have following question:
> Is it safe to make a sys_xxx calls inside an dirver->open routine for
> example.

Generally, it should be perfectly fine... Though if you catch yourself
doing this, ask yourself if it would be possible to accomplish the task
in userspace instead of kernel space.

        Jeff

-- 
Jeff Garzik              | Liberty is always dangerous, but
Building 1024            | it is the safest thing we have.
MandrakeSoft, Inc.       |      -- Harry Emerson Fosdick

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:21 EST