|
From: David W. <dw...@re...> - 2000-08-14 16:10:28
|
jd...@ka... said:
> So, what controls what permissions you need in order to set the line
> discipline? I would have thought that ownership was enough.
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;
--
dwmw2
|