|
From: Jeff D. <jd...@ka...> - 2000-08-14 17:55:59
|
dw...@re... said:
> For most ldiscs, yes. Not SLIP, though.
> static int slip_open(struct tty_struct *tty) {
> struct slip *sl;
> int err;
> if(!capable(CAP_NET_ADMIN))
> return -EPERM;
When did that happen? My sources (2.2.5, RH 6.0 :-) don't have anything like
that. I guess that explains why I'm getting away with so much.
Maybe you shouldn't run such a secure OS :-)
So, your idea of passing the fd into the helper for setup seems like a good
one. The problem is that I'm planning on retiring the umn device in favor of
the eth device at some point, so I don't exactly feel like putting time into
it. If someone else wants to, I'll merge the changes, though.
Jeff
|