Subject: [PATCH] Mark SIOCSIFNAME as compatible ioctl

From: Andi Kleen <[email-masked]>
Date: Thu, 8 Jan 2004 08:04:13 +0100

Mark SIOCSIFNAME as an ioctl that doesn't need 32bit conversion.

Fixes nameif as 32bit executable.

-Andi

diff -X ../KDIFX -burpN linux-vanilla-2.6.1rc2/include/linux/compat_ioctl.h linux-2.6.1rc2-amd64/include/linux/compat_ioctl.h
--- linux-vanilla-2.6.1rc2/include/linux/compat_ioctl.h	2004-01-07 02:36:31.000000000 -0800
+++ linux-2.6.1rc2-amd64/include/linux/compat_ioctl.h	2003-12-31 21:56:55.000000000 -0800
@@ -260,6 +260,7 @@ COMPATIBLE_IOCTL(SIOCATMARK)
 COMPATIBLE_IOCTL(SIOCSIFLINK)
 COMPATIBLE_IOCTL(SIOCSIFENCAP)
 COMPATIBLE_IOCTL(SIOCGIFENCAP)
+COMPATIBLE_IOCTL(SIOCSIFNAME)
 COMPATIBLE_IOCTL(SIOCSIFBR)
 COMPATIBLE_IOCTL(SIOCGIFBR)
 COMPATIBLE_IOCTL(SIOCSARP)