This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shmat apparently broken on n32 MIPS.


On Fri, Dec 01, 2006 at 11:36:59AM -0800, Kaz Kylheku wrote:
> The shmat() function is behaving strangely. In the kernel, do_shmat() is
> working fine. It returns 0, and sets *raddr to a valid value from
> do_mmap. The value is in the 32 bit address range, respecting the task
> size of the caller.
> 

mips doesn't appear to be using the generic compat_sys_shmat wrapper.

I'd look at the differences between this and another architecture
inside the kernel. Which ABI are you using? 64-o32 seems to use
the ipc demuxer, while 64-n32 seems to use a custom coded shmat.

Probably a good starting place for where to find what's going wrong.

Cheers,
	Kyle


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]