This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/14138] Move some functions to syscalls.list


https://sourceware.org/bugzilla/show_bug.cgi?id=14138

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  abb280f799c47f76463b27d60f271208cbbf0c49 (commit)
      from  47d4623785559a031ce33b266d1f9b5a2fd24d47 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=abb280f799c47f76463b27d60f271208cbbf0c49

commit abb280f799c47f76463b27d60f271208cbbf0c49
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Oct 6 22:30:54 2014 +0000

    Move some chown / lchown / fchown definitions to syscalls.list (bug 14138).

    Continuing the move of syscall definitions to syscalls.list, where the
    removal of support for old kernel versions has made this possible,
    this patch moves various definitions of chown, lchown and fchown.

    In most cases the need for special syscalls.list entries (rather than
    existing generic ones) is because these architectures use chown32,
    lchown32 and fchown32 as syscall names.  Some architectures also have
    symbol versioning compatibility for older versions of chown having
    been equivalent to lchown.

    In the case of powerpc, chown.c (providing the chown@@GLIBC_2.1
    default version) is replaced by a syscalls.list entry (for powerpc32;
    powerpc64 has no need for this because of its more recent minimum
    symbol version, so can just use the entry in
    sysdeps/unix/syscalls.list), but lchown.S is left as-is because it
    provides the compat version of chown as an actual alias for __lchown,
    which is not yet supported by syscalls.list.  This file can be removed
    once such aliases are supported in syscalls.list.

        [BZ #14138]
        * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
        * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
        * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
        * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
        * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
        * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
        (fchown): Likewise.
        * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
        (fchown): Likewise.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
        Likewise.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   15 +++++++
 sysdeps/unix/sysv/linux/arm/fchown.c               |    1 -
 sysdeps/unix/sysv/linux/arm/lchown.c               |    1 -
 sysdeps/unix/sysv/linux/arm/syscalls.list          |    2 +
 sysdeps/unix/sysv/linux/m68k/fchown.c              |    1 -
 sysdeps/unix/sysv/linux/m68k/lchown.c              |    1 -
 sysdeps/unix/sysv/linux/m68k/syscalls.list         |    2 +
 sysdeps/unix/sysv/linux/powerpc/chown.c            |   43 --------------------
 .../sysv/linux/powerpc/powerpc32/syscalls.list     |    2 +
 9 files changed, 21 insertions(+), 47 deletions(-)
 delete mode 100644 sysdeps/unix/sysv/linux/arm/fchown.c
 delete mode 100644 sysdeps/unix/sysv/linux/arm/lchown.c
 delete mode 100644 sysdeps/unix/sysv/linux/m68k/fchown.c
 delete mode 100644 sysdeps/unix/sysv/linux/m68k/lchown.c
 delete mode 100644 sysdeps/unix/sysv/linux/powerpc/chown.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]