--=_courier-7583-1053289270-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
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? */
=20
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];
};
--------------------------------------------------
=20
Question: Is this expected behaviour ?
Thanks,
--=20
Martin Schlemmer
--=_courier-7583-1053289270-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQA+x+tiqburzKaJYLYRAkgdAJ4/TUQtroV1/E+POJu87S5tQgwzaACeLM7p
kLLP1iDH/Y3YBlvKy8iy3sQ=
=GlTM
-----END PGP SIGNATURE-----
--=_courier-7583-1053289270-0001-2--