RE: __d_path export and SMP safeness
"Tikka, Sami" <[email protected]>
| Newsgroups | gmane.linux.dazuko.devel |
|---|---|
| Message-ID | <[email protected]> |
>-----Original Message----- >From: Tushar [mailto:[email protected]] >Sent: Friday, September 02, 2005 3:18 PM >To: Tikka, Sami >Cc: [email protected] >Subject: Re: [Dazuko-devel] __d_path export and SMP safeness > >There is one function d_path. In kernel source 2.6.8, it is >exported. (One downloaded directly from kernel.org). Can we >use that? It >internally use the same __d_path function with locking and unlocking. Apparently d_path returns the pathname the process sees, which might be different from the real pathname if the process is chrooted. -- Sami Tikka tel. +358 9 2520 5115 senior software engineer fax. +358 9 2520 5014 mobile +358 40 7379388 F-Secure Corporation http://www.f-secure.com BE SURE