[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Build with Linux 2.5.74
From: |
Alexander Bussman |
Subject: |
Build with Linux 2.5.74 |
Date: |
Mon, 07 Jul 2003 15:34:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030702 Thunderbird/0.1a |
Hi!
I don't know if it's glibc or a Linux kernel bug but I guess that it is
a glibc bug.
I cannot compile glibc with Linux 2.5.74 if I use the standard sysctl.h
from Linux 2.5.74.
It's in the struct __sysctrl_args the problem is.
From Linux 2.5.74:
struct __sysctl_args {
int __user *name;
int nlen;
void __user *oldval;
size_t __user *oldlenp;
void __user *newval;
size_t newlen;
unsigned long __unused[4];
};
From Linux 2.4.20:
struct __sysctl_args {
int *name;
int nlen;
void *oldval;
size_t *oldlenp;
void *newval;
size_t newlen;
unsigned long __unused[4];
};
As you see the __user stuff is not there in the 2.4.20 Linux kernel.
When I removed the __user in my sysctl.h from Linux 2.5.74, glibc did
compile. But I don't know if that "fix" is a valid fix for the problem.
// Alexander Bussman
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Build with Linux 2.5.74,
Alexander Bussman <=