diff options
| author | Abhishek Bhardwaj <abhishekbh@google.com> | 2016-12-22 15:00:08 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-23 13:29:02 +0200 |
| commit | 823e62397cdf738209db1a40d16996ae154fe8df (patch) | |
| tree | c983e5ec7d7a833323443efd585717a0e37cd7c1 /net | |
| parent | bcc6bb46012da822016f3816636198b737d97676 (diff) | |
net: Add SIOCKILLADDR ioctl in the compatibility list
SIOCKILLADDR is not present as an option in the compatibility list of
supported ioctls. This means that a 32-bit binary gets a not
supported error when it calls this ioctl on a 64-bit kernel. This
change adds the SIOCKILLADDR to the compatibility list.
BUG=b:32705013
TEST=Tested with Youtube Kids app as mentioned in the bug
Change-Id: Ifad88e17b313f260cfdadf2b3a67601dce8928bc
Reviewed-on: https://chromium-review.googlesource.com/423144
Commit-Ready: Abhishek Bhardwaj <abhishekbh@google.com>
Tested-by: Abhishek Bhardwaj <abhishekbh@google.com>
Reviewed-by: Kevin Cernekee <cernekee@chromium.org>
Diffstat (limited to 'net')
| -rw-r--r-- | net/socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/socket.c b/net/socket.c index 9162d3bbc..ec1a2037d 100644 --- a/net/socket.c +++ b/net/socket.c @@ -3400,6 +3400,7 @@ static int compat_sock_ioctl_trans(struct file *file, struct socket *sock, case SIOCGMIIPHY: case SIOCGMIIREG: case SIOCSMIIREG: + case SIOCKILLADDR: return dev_ifsioc(net, sock, cmd, argp); case SIOCSARP: |
