Skip to content
Snippets Groups Projects
Commit ca76be74 authored by Jeffrey Vander Stoep's avatar Jeffrey Vander Stoep Committed by Android (Google) Code Review
Browse files

Merge "disallow unprivileged access to rmnet"

parents 89e379e9 84a61cc5
No related branches found
No related tags found
No related merge requests found
...@@ -2631,3 +2631,5 @@ define(`BTRFS_IOC_INO_LOOKUP', `0xd0009412') ...@@ -2631,3 +2631,5 @@ define(`BTRFS_IOC_INO_LOOKUP', `0xd0009412')
define(`BTRFS_IOC_DEV_INFO', `0xd000941e') define(`BTRFS_IOC_DEV_INFO', `0xd000941e')
define(`HIDIOCGUSAGES', `0xd01c4813') define(`HIDIOCGUSAGES', `0xd01c4813')
define(`SNDRV_COMPRESS_GET_CODEC_CAPS', `0xeb884311') define(`SNDRV_COMPRESS_GET_CODEC_CAPS', `0xeb884311')
define(`WAN_IOC_ADD_FLT_RULE', `0x00006900')
define(`WAN_IOC_ADD_FLT_INDEX', `0x00006902')
...@@ -15,6 +15,8 @@ TIOCOUTQ FIOCLEX ...@@ -15,6 +15,8 @@ TIOCOUTQ FIOCLEX
# socket ioctls never allowed to unprivileged apps # socket ioctls never allowed to unprivileged apps
define(`priv_sock_ioctls', ` define(`priv_sock_ioctls', `
{ {
# qualcomm rmnet ioctls
WAN_IOC_ADD_FLT_RULE WAN_IOC_ADD_FLT_INDEX
# socket ioctls # socket ioctls
SIOCADDRT SIOCDELRT SIOCRTMSG SIOCSIFLINK SIOCSIFFLAGS SIOCSIFADDR SIOCGIFDSTADDR SIOCADDRT SIOCDELRT SIOCRTMSG SIOCSIFLINK SIOCSIFFLAGS SIOCSIFADDR SIOCGIFDSTADDR
SIOCSIFDSTADDR SIOCSIFBRDADDR SIOCSIFNETMASK SIOCGIFMETRIC SIOCSIFMETRIC SIOCGIFMEM SIOCSIFDSTADDR SIOCSIFBRDADDR SIOCSIFNETMASK SIOCGIFMETRIC SIOCSIFMETRIC SIOCGIFMEM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment