All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Bogdan Costescu <bogdan.costescu@iwr.uni-heidelberg.de>
Cc: Pete Zaitcev <zaitcev@redhat.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] support for Cobalt Networks (x86 only) systems (for realthis  time)
Date: Fri, 01 Jun 2001 08:20:47 -0400	[thread overview]
Message-ID: <3B17889F.3118A564@mandrakesoft.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0106011400550.18082-100000@kenzo.iwr.uni-heidelberg.de>

Bogdan Costescu wrote:
> 
> On Fri, 1 Jun 2001, Pete Zaitcev wrote:
> 
> > > But, each time a user cats this proc file, the user is banging the
> > > hardware.  What happens when a malicious user forks off 100 processes to
> > > continually cat this file?  :)
> >
> > Nothing good, probably. Same story as /proc/apm, which only
> > hits BIOS instead (and it's debateable what is better).
> 
> Hmm, the MII related ioctl's in some net drivers (checked for 3c59x,
> tulip, eepro100) are also querying the hardware. And a user is allowed to
> ask for this info (but not able to modify it).

And a malicious user calling those at a high rate is bound to get ugly.

In both of these situations, calling the ioctls without priveleges is
quite useful, so maybe rate-limiting for ioctls and proc files like this
would be a good idea in general.

	Jeff


-- 
Jeff Garzik      | Disbelief, that's why you fail.
Building 1024    |
MandrakeSoft     |

  reply	other threads:[~2001-06-01 12:21 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-01  2:47 [PATCH] support for Cobalt Networks (x86 only) systems (for real this time) Tim Hockin
2001-06-01  8:10 ` Jeff Garzik
2001-06-01  8:46 ` [PATCH] support for Cobalt Networks (x86 only) systems (for real this Alan Cox
     [not found] ` <mailman.991383180.28261.linux-kernel2news@redhat.com>
2001-06-01  8:58   ` [PATCH] support for Cobalt Networks (x86 only) systems (for real this time) Pete Zaitcev
2001-06-01 12:03     ` Bogdan Costescu
2001-06-01 12:20       ` Jeff Garzik [this message]
2001-06-01 12:51         ` [PATCH] support for Cobalt Networks (x86 only) systems (for realthis Alan Cox
2001-06-01 12:56           ` Jeff Garzik
2001-06-01 12:58             ` Alan Cox
2001-06-01 13:06               ` Bogdan Costescu
2001-06-01 13:15                 ` [PATCH] support for Cobalt Networks (x86 only) systems (forrealthis Jeff Garzik
2001-06-01 13:19                   ` David S. Miller
2001-06-01 14:02                     ` Bogdan Costescu
2001-06-01 13:39                   ` Bogdan Costescu
2001-06-01 14:14                     ` jamal
2001-06-01 14:30                       ` Bogdan Costescu
2001-06-02 14:49                         ` jamal
2001-06-03 12:09                           ` Bogdan Costescu
2001-06-04 18:43                             ` Jeff Garzik
2001-06-04 19:08                             ` jamal
2001-06-01 14:19                 ` [PATCH] support for Cobalt Networks (x86 only) systems (for Alan Cox
2001-06-01 14:37                   ` Mark Frazer
2001-06-01 14:37                     ` Alan Cox
2001-06-01 14:45                       ` Mark Frazer
2001-06-01 14:46                       ` Bogdan Costescu
2001-06-01 17:37                     ` Alan Cox
2001-06-02  8:20                       ` Bogdan Costescu
2001-06-02 16:15                         ` Alan Cox
2001-06-02 19:10                           ` MII access (was [PATCH] support for Cobalt Networks (x86 only) systems) Bogdan Costescu
2001-06-02 19:25                             ` MII access (was [PATCH] support for Cobalt Networks (x86 only) Alan Cox
2001-06-02 21:36                               ` Bogdan Costescu
2001-06-02 21:37                                 ` Alan Cox
2001-06-03 11:59                                   ` Bogdan Costescu
2001-06-03 12:11                                     ` Jeff Garzik
2001-06-05  9:07                                       ` Bogdan Costescu
2001-06-10  2:07                                         ` eepro100 security fix [was: Re: MII access] Andrey Savochkin
2001-06-01 15:13                   ` [PATCH] support for Cobalt Networks (x86 only) systems (for Bogdan Costescu
2001-06-02 22:04               ` [PATCH] support for Cobalt Networks (x86 only) systems (for realthis Jamie Lokier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B17889F.3118A564@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=bogdan.costescu@iwr.uni-heidelberg.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zaitcev@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.