Re: mmap() bug in 2.1.106

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
19 Jun 1998 11:12:38 +0200


paul@rasty.ph.unimelb.edu.au (Paul Gortmaker) writes:

|> For all intents and purposes, I think the two lines:
|>
|> ptr = (void*)mmap(0, size, prot, mapping, fd, 0);
|>
|> and
|>
|> ptr = (void *)syscall(SYS_mmap, 0, size, prot, mapping, fd, 0);
|>
|> should behave identically.

No, they aren't. Look at arch/i386/sys_i386.c.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu