Cleaned up libposix mmap()

Now we have proper setting of errno and using pfn based mmap for both types of mmap calls.
This commit is contained in:
Bahadir Balban
2008-10-29 20:01:31 +02:00
parent 4046ad9e3f
commit 13b1b405a5
4 changed files with 60 additions and 29 deletions

View File

@@ -24,7 +24,7 @@ struct sys_mmap_args {
};
void *sys_mmap(struct tcb *sender, void *start, size_t length, int prot,
int flags, int fd, off_t offset);
int flags, int fd, off_t pfn);
int sys_munmap(struct tcb *sender, void *vaddr, unsigned long size);
int sys_msync(struct tcb *task, void *start, unsigned long length, int flags);