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 #6 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  f7b425175c3fa2f063a6c5657d84b799929db459 (commit)
      from  abb280f799c47f76463b27d60f271208cbbf0c49 (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=f7b425175c3fa2f063a6c5657d84b799929db459

commit f7b425175c3fa2f063a6c5657d84b799929db459
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Oct 6 22:58:59 2014 +0000

    Support and use mixed compat/non-compat aliases in syscalls.list.

    This patch enables syscalls.list entries to specify both compat and
    non-compat symbol versions for the same syscall definition, making use
    of this for setrlimit / chown / lchown where the inability to specify
    such aliases showed up in the course of work on bug 14138.

    The change to make-syscalls.sh is minimal: adding a SHARED conditional
    on the compat_symbol calls.  It remains the case that if a compat
    symbol version is specified, the syscall is only built for the shared
    library at all if an explicit symbol version is given for a non-compat
    symbol (so it's necessary to specify "lchown@@GLIBC_2.0
    chown@GLIBC_2.0" rather than just "lchown chown@GLIBC_2.0").  It also
    remains the case, as already commented in make-syscalls.sh, that no
    SHLIB_COMPAT conditionals are generated, so there would be problems if
    the same syscalls.list file, with compat symbols, were used for both
    configurations that should have those symbols and configurations for
    which they should be conditioned out with SHLIB_COMPAT.

    Tested for x86.

        * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
        compat_symbol calls on [SHARED].
        * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
        * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
        Remove.
        (setrlimit): Add setrlimit@GLIBC_2.0 alias.
        * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
        (oldsetrlimit): Remove.
        (setrlimit): Add setrlimit@GLIBC_2.0 alias.
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
        (lchown): New syscall entry.
        (oldsetrlimit): Remove.
        (setrlimit): Add setrlimit@GLIBC_2.0 alias.
        * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
        (oldsetrlimit): Remove.
        (setrlimit): Add setrlimit@GLIBC_2.0 alias.

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

Summary of changes:
 ChangeLog                                          |   17 +++++++++
 sysdeps/unix/make-syscalls.sh                      |    2 +-
 sysdeps/unix/sysv/linux/i386/syscalls.list         |    3 +-
 sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list  |    3 +-
 sysdeps/unix/sysv/linux/powerpc/lchown.S           |   38 --------------------
 .../sysv/linux/powerpc/powerpc32/syscalls.list     |    4 +-
 sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list |    3 +-
 7 files changed, 23 insertions(+), 47 deletions(-)
 delete mode 100644 sysdeps/unix/sysv/linux/powerpc/lchown.S

-- 
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]