Linux Kernel
3.7.1
|
#include <linux/errno.h>
#include <linux/tty.h>
#include <linux/sched.h>
#include <linux/cred.h>
#include "dgrp_common.h"
Go to the source code of this file.
Functions | |
void | dgrp_carrier (struct ch_struct *ch) |
int | dgrp_chk_perm (int mode, int op) |
int | dgrp_inode_permission (struct inode *inode, int op) |
dgrp_carrier – check for carrier change state and act : struct ch_struct *
Definition at line 47 of file dgrp_common.c.
dgrp_chk_perm() – check permissions for net device : pointer to inode structure for the net communication device : operation to be tested
The file permissions and ownerships are tested to determine whether the operation "op" is permitted on the file pointed to by the inode. Returns 0 if the operation is permitted, -EACCESS otherwise
Definition at line 180 of file dgrp_common.c.