pad argument for mmap/lseek/etc.

From: Roman Divacky <rdivacky_at_freebsd.org>
Date: Sun, 7 Oct 2007 16:02:37 +0200
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
Received on Sun Oct 07 2007 - 12:21:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC