From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4 Description of problem: In Linux kernel 2.6.*, clone() takes upto 7 arguments, but /usr/include/bits/sched.h (from sysdeps/unix/sysv/linux/bits/sched.h) says there are only 5. The glibc internal include/sched.h says at least 5, which is correct. Version-Release number of selected component (if applicable): glibc-2.3.5-10 How reproducible: Always Steps to Reproduce: 1. Find the prototype for clone(). 2. 3. Actual Results: -----sysdeps/unix/sysv/linux/bits/sched.h #ifdef __USE_MISC extern int clone (int (*__fn) (void *__arg), void *__child_stack, int __flags, void *__arg) __THROW; #endif Expected Results: #ifdef __USE_MISC extern int clone (int (*__fn) (void *__arg), void *__child_stack, int __flags, void *__arg, ...) __THROW; #endif Additional info:
I made a change upstream.
Changes are in glibc-2.3.90-2.