Messages in this thread Patch in this message | | | Subject | Recent changes to sysctl.h breaks glibc | From | Martin Schlemmer <> | Date | 18 May 2003 22:21:56 +0200 |
| |
Hi
Some recent changes to include/linux/sysctl.h breaks glibc.
Problem is that __sysctl_args have been modified to use '__user', but that is only defined if __KERNEL__ is defined, because that is the only time compiler.h is included.
------------------------------------------------ --- linux-2.5.69-bk2/include/linux/sysctl.h 2003-05-05 01:53:31.000000000 +0200 +++ linux-2.5.69-bk12/include/linux/sysctl.h 2003-05-18 22:12:39.000000000 +0200 @@ -36,11 +36,11 @@ member of a struct __sysctl_args to have? */ struct __sysctl_args { - int *name; + int __user *name; int nlen; - void *oldval; - size_t *oldlenp; - void *newval; + void __user *oldval; + size_t __user *oldlenp; + void __user *newval; size_t newlen; unsigned long __unused[4]; }; -------------------------------------------------- Question: Is this expected behaviour ?
Thanks,
--
Martin Schlemmer
[unhandled content-type:application/pgp-signature] | |