Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/compat/common (uipc_syscalls_43.c:1.40)



On Tuesday 2008-01-15 08:39 +1100, Martin Husemann caused:
:Module Name:   src
:Committed By:  martin
:Date:          Mon Jan 14 21:38:56 UTC 2008
:
:Modified Files:
:       src/sys/compat/common: uipc_syscalls_43.c
:
:Log Message:
:Add net80211 ioctls that I apparently ovelooked when grepping for ioctls
:that need "struct ifreq" compat treatment.
:This makes for example old (like 4.0) wpa_supplicant work with -current
:kernels.
:To generate a diff of this commit:
:cvs rdiff -r1.39 -r1.40 src/sys/compat/common/uipc_syscalls_43.c

Except they're conditionally provided in the header, so you'd need
option COMPAT_20 with -current.

Regards,
Geoff

Index: sys/compat/common/uipc_syscalls_43.c
===================================================================
RCS file: /cvsroot/src/sys/compat/common/uipc_syscalls_43.c,v
retrieving revision 1.40
diff -u -r1.40 uipc_syscalls_43.c
--- sys/compat/common/uipc_syscalls_43.c        14 Jan 2008 21:38:55 -0000      
1.40
+++ sys/compat/common/uipc_syscalls_43.c        15 Jan 2008 02:46:22 -0000
@@ -421,8 +421,10 @@
        case GRESADDRS:
        case GRESPROTO:
        case GRESSOCK:
+#ifdef COMPAT_20
        case OSIOCG80211STATS:
        case OSIOCG80211ZSTATS:
+#endif /* COMPAT_20 */
        case SIOCADDMULTI:
        case SIOCDELMULTI:
        case SIOCDIFADDR:



Home | Main Index | Thread Index | Old Index