| To: | David Korn <dgk@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: kernel bug in socketpair() |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Wed, 23 Jul 2003 07:04:31 -0700 |
| Cc: | linux-kernel@xxxxxxxxxxxxxxx, gsf@xxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <200307231332.JAA26197@raptor.research.att.com> |
| References: | <200307231332.JAA26197@raptor.research.att.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Wed, 23 Jul 2003 09:32:09 -0400 (EDT) David Korn <dgk@xxxxxxxxxxxxxxxx> wrote: [ Added netdev@xxxxxxxxxxx, the proper place to discuss networking kernel issues. ] > The first problem is that files created with socketpair() are not accessible > via /dev/fd/n or /proc/$$/fd/n where n is the file descriptor returned > by socketpair(). Note that this is not a problem with pipe(). Not a bug. Sockets are not openable via /proc files under any circumstances, not just the circumstances you describe. This is a policy decision and prevents a whole slew of potential security holes. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Fwd: kernel 2.4.21], David S. Miller |
|---|---|
| Next by Date: | Re: Re: kernel bug in socketpair(), David Korn |
| Previous by Thread: | netdev_ops?, Ben Greear |
| Next by Thread: | Re: Re: kernel bug in socketpair(), David Korn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |