[lkml]   [2001]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: exporting open_namei to modules

On Sat, 13 Oct 2001, Etay Meiri wrote:

> Hi,
> Is there a particular reason why open_namei() is
> not exported to modules?

Is there any reason for exporting it? By default, stuff is _NOT_
exported. Think for a moment and you'll see why. Exported functions are
public API. Protection is weaker than for syscalls, but it's there and
exporting a function makes harder to do changes in core kernel. Unless
there are damn serious reasons for exporting something, it isn't done.

In particular, open_namei() is a helper function of filp_open(),
which _is_ exported. What use of open_namei() do you have in mind?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:08    [W:0.023 / U:2.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site