On Fre, 2009-04-17 at 19:36 +0800, yihect wrote:
[...]
> Yes, I think , it's normally thinked as a generic rule to do kernel 
> programming 
> like that way you mentioned. But if we take no account of these, do you know 
> the 
> answer of my question, is the open() method got called in fork() and dup() 
> functions 
> calling??

No, because dup()/dup2()/fork()ing a file descriptor is vastly different
from open()ing a file/device/whatever.

And the major design flaw is to design your driver with whatever kind of
1:1 relationship to a process.

Any details *why* you think you need that?

        Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to