[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#140100: libc6: mprotect returns EFAULT instead of ENOMEM



GOTO Masanori wrote:
> I checked with glibc 2.3.1-14 on kernel 2.4.19, your test program
> returns ENOMEM.  It's fixed.  BTW, is it really glibc problem?
> I think it's kernel problem.  Look using with strace:
> 
> 	mprotect(0x804a000, 2147532800, PROT_READ) = -1 ENOMEM (Cannot allocate memory)
> 
> Could I close this bug?

I suppose so.

-- 
see shy jo

Attachment: pgppfLvouMAFz.pgp
Description: PGP signature


Reply to: