Merge sysdeps/unix/mman into sysdeps/unix
Carlos O'Donell
carlos@systemhalted.org
Tue Apr 24 15:02:00 GMT 2012
On Sat, Apr 21, 2012 at 5:45 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> There's a separate sysdeps directory sysdeps/unix/mman that exists
> only to define mmap and related syscalls. These can nowadays be
> considered standard for any Unix-like system and go straight in
> sysdeps/unix rather than needing an extra sysdeps directory implied by
> both sysdeps/unix/sysv/linux and sysdeps/unix/bsd/bsd4.4.
>
> I propose this patch to eliminate that separate sysdeps subdirectory,
> moving the syscalls to sysdeps/unix/syscalls.list. Tested x86_64,
> including making sure the compiled library binaries are identical
> before and after the patch.
>
> 2012-04-21 Joseph Myers <joseph@codesourcery.com>
>
> * sysdeps/unix/syscalls.list (madvise): Add syscall from
> sysdeps/unix/mman/syscalls.list.
> (mmap): Likewise.
> (mprotect): Likewise.
> (msync): Likewise.
> (munmap): Likewise.
> * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
> * sysdeps/unix/mman/syscalls.list: Remove.
> * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
This looks good to me.
Cheers,
Carlos.
More information about the Libc-alpha
mailing list