| To: | ralf@linux-mips.org |
|---|---|
| Subject: | Re: socket.h patch (SOCK_XXX break glibc build) |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Tue, 26 Oct 2004 19:30:11 +0900 (JST) |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20041026015036.GA26841@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20041026.101226.70226592.nemoto@toshiba-tops.co.jp> <20041026015036.GA26841@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
>>>>> On Tue, 26 Oct 2004 03:50:36 +0200, Ralf Baechle <ralf@linux-mips.org>
>>>>> 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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [buildroot] Compilation failure on MIPS with 2.6.9.1 kernel headers, Thomas Petazzoni |
|---|---|
| Next by Date: | Re: socket.h patch (SOCK_XXX break glibc build), Ralf Baechle |
| Previous by Thread: | Re: socket.h patch (SOCK_XXX break glibc build), Ralf Baechle |
| Next by Thread: | Re: socket.h patch (SOCK_XXX break glibc build), Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |