| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Sat, 5 Jun 2004 14:05:44 -0700 |
| Cc: | olh@xxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20040605140153.6c5945a0.davem@xxxxxxxxxx> |
| References: | <20040605204334.GA1134@xxxxxxx> <20040605140153.6c5945a0.davem@xxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
[ Replying to myself :-) ] On Sat, 5 Jun 2004 14:01:53 -0700 "David S. Miller" <davem@xxxxxxxxxx> wrote: > Let's ask a better question, why do we need to pass this thing down > into the implementations anyways? It's for net/core/scm.c handling, sigh. This means also that Olaf's patch is broken, when CONFIG_COMPAT is not set, MSG_CMSG_COMPAT is zero, thus ~MSG_CMSG_COMPAT is the unexpected value all 1's thus breaking the tests for unexpected flags completely. Any better ideas? |
| Previous by Date: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing, David S. Miller |
|---|---|
| Next by Date: | [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing, Olaf Hering |
| Previous by Thread: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing, David S. Miller |
| Next by Thread: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing, Andreas Schwab |
| Indexes: | [Date] [Thread] [Top] [All Lists] |