/* /dev/ppp device routines. The /dev/ppp device is used by pppd to control the ppp unit. It supports the read, write, ioctl and poll functions. Open instances of /dev/ppp can be in one of three states: unattached, attached to a ppp unit, or attached to a ppp channel.  */
static int ppp_open(struct inode *inode, struct file *file)
/* /dev/ppp device routines. The /dev/ppp device is used by pppd to control the ppp unit. It supports the read, write, ioctl and poll functions. Open instances of /dev/ppp can be in one of three states: unattached, attached to a ppp unit, or attached to a ppp channel.  */
static int ppp_open(struct inode *inode, struct file *file)
{
	cycle_kernel_lock();
	if (!capable(CAP_NET_ADMIN))
		return -EPERM;
	return 0;
}