Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/powerpc/oea

On Mon, Nov 15, 2010 at 08:50:34AM +0000, David Holland wrote:
> On Mon, Nov 15, 2010 at 02:48:29PM +0900, SODA Noriyuki wrote:
>  > Well, there is another thing which has to be considered.  That is
>  > name space pollution.
>  > Header files which are exported to userland (for userland visible APIs)
>  > should not export random symbols.  Only symbols which are defined as
>  > the interface of the header file are allowed to be exported.
> Indeed. Properly speaking though, headers that are exported to
> userland should define only the precise symbols that userland needs;
> kernel-only material should be kept elsewhere.

One start would be to add a sys/proc_internal.h so that sys/proc
can be reduced to only stuff that userspace and some kernel parts
are really expected to use.


David Laight:

Home | Main Index | Thread Index | Old Index