]> git.baikalelectronics.ru Git - kernel.git/commit
net: change return values from -EACCES to -EPERM
authorZhao Hongjiang <zhaohongjiang@huawei.com>
Thu, 20 Sep 2012 22:37:25 +0000 (22:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Sep 2012 17:58:08 +0000 (13:58 -0400)
commit6e964c8cfb6fc3fd76c6fb6bbe68d3ac543aaa36
treea96a8280047830630b54aa82c568f7a22e8f0ba1
parent6051e45ba1fe71ad2332456ff9604b2653142a9a
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>
net/bluetooth/bnep/sock.c
net/bluetooth/cmtp/sock.c
net/bluetooth/hci_sock.c
net/bluetooth/hidp/sock.c
net/ipv4/devinet.c
net/netrom/af_netrom.c