]> granicus.if.org Git - strace/commit
sock_ioctl: quote network interface names
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 24 Jan 2015 20:58:23 +0000 (20:58 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 26 Jan 2015 19:08:37 +0000 (19:08 +0000)
commit81e4515ad9778c3ea3c42d7afa4ed0cbf82da04a
treeccf15d21de3a8cc8ae269cb1b88f92cc578e6001
parent0e9d594caa0362d30ab3c39d509da997d051220b
sock_ioctl: quote network interface names

* sock.c (print_ifname): New function.
(sock_ioctl): Use it to quote ifr_name, ifru_newname, and ifru_slave.
sock.c