According to Alan Cox:
> > +   case SIOCDEVPRIVATE+5:
> > +           speedo_debug = *(int *)rq->ifr_data;
> > +           printk(KERN_DEBUG "%s: set debug level to [%d].\n",
> > +                           dev->name, speedo_debug);
> > +           return 0;
> 
> Surely that should check for root ?

Now see, this is why peer review is a Good Thing.  :-/

Yes, of course it should check for root.
(I'm dunce-for-a-day for not seeing that immediately.)
-- 
Chip Salzenberg              - a.k.a. -              <[EMAIL PROTECTED]>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to