Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2007 16:02:37 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        current@freebsd.org
Cc:        peter@freebsd.org
Subject:   pad argument for mmap/lseek/etc.
Message-ID:  <20071007140237.GA44735@freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071007140237.GA44735>