pad argument for mmap/lseek/etc.
Roman Divacky
rdivacky at freebsd.org
Sun Oct 7 07:21:45 PDT 2007
hi
3 months ago Peter Wemm removed "pad" argument from mmap/lseek/etc. syscalls
arguments.
Unfortunately he forgot to update the struct XYZ_args definitions shipped
with the actual functions like this:
vm/vm_mmap.c:
#ifndef _SYS_SYSPROTO_H_
struct mmap_args {
void *addr;
size_t len;
int prot;
int flags;
int fd;
long pad;
off_t pos;
};
#endif
/*
* MPSAFE
*/
int
mmap(td, uap)
struct thread *td;
struct mmap_args *uap;
it would be nice to get this removed. I'd submit a patch but I dont know what syscalls
this affected.
thnx
roman
More information about the freebsd-current
mailing list