[uClibc 0003174]: in no mmu build, msyc() in sys/mman.h breaks msync() in linuxthreads.old/wrapsyscall.c

bugs at busybox.net bugs at busybox.net
Sun Apr 27 09:01:32 UTC 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=3174 
====================================================================== 
Reported By:                kendallc
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   3174
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             04-27-2008 02:01 PDT
Last Modified:              04-27-2008 02:01 PDT
====================================================================== 
Summary:                    in no mmu build, msyc() in sys/mman.h breaks msync()
in linuxthreads.old/wrapsyscall.c
Description: 
For architectures with no MMU, some of the system calls in sys/mman.h were
changed to be "static inline" calls that do nothing. This avoids making
calls into the kernel that don't actually do anything. Unfortunately, the
change breaks linuxthreads.old/wrapsyscall.c because it includes
sys/mman.h but has its own implementation of msync().

The "static inline" declarations could also cause problems for other code
that needs a pointer to msyc() or the other calls. I don't know why anyone
would want a pointer to msyc(), but you never know what people will try do.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-27-08 02:01  kendallc       New Issue                                    
04-27-08 02:01  kendallc       Status                   new => assigned     
04-27-08 02:01  kendallc       Assigned To               => uClibc          
======================================================================




More information about the uClibc-cvs mailing list