Re: socket.h patch (SOCK_XXX break glibc build)

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

 



>>>>> On Tue, 26 Oct 2004 03:50:36 +0200, Ralf Baechle <ralf@xxxxxxxxxxxxxx> said:
>> On 2.6.9, SOCK_DGRAM, etc. in asm-mips/socket.h are visible from
>> userland.  It will break glibc build.  For other archs,
>> include/linux/net.h uses "#ifdef __KERNEL__" for SOCK_XXX
>> definitions, so asm-mips/socket.h should use "#ifdef __KERNEL__"
>> too?

ralf> Ok ...

Sorry, there was a garbage character (':') in my patch.  Please remove
it.  Thank you.

> @@ -68,6 +68,8 @@
>  
>  #define SO_PEERSEC		30
>  
> +#ifdef __KERNEL__
> +:
>  /** sock_type - Socket types
>   *
>   * Please notice that for binary compat reasons MIPS has to

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux