net: change return values from -EACCES to -EPERM
Change return value from -EACCES to -EPERM when the permission check fails. Signed-off-by:Zhao Hongjiang <zhaohongjiang@huawei.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- net/bluetooth/bnep/sock.c 2 additions, 2 deletionsnet/bluetooth/bnep/sock.c
- net/bluetooth/cmtp/sock.c 2 additions, 2 deletionsnet/bluetooth/cmtp/sock.c
- net/bluetooth/hci_sock.c 8 additions, 8 deletionsnet/bluetooth/hci_sock.c
- net/bluetooth/hidp/sock.c 2 additions, 2 deletionsnet/bluetooth/hidp/sock.c
- net/ipv4/devinet.c 2 additions, 2 deletionsnet/ipv4/devinet.c
- net/netrom/af_netrom.c 1 addition, 1 deletionnet/netrom/af_netrom.c
Loading
Please register or sign in to comment