From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19772 invoked by alias); 24 Oct 2014 13:00:37 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 19653 invoked by uid 55); 24 Oct 2014 13:00:26 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/14138] Move some functions to syscalls.list Date: Fri, 24 Oct 2014 13:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.15 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg00104.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=14138 --- Comment #8 from 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 48eb7a94e292efcbbd74902322252a99cbf74fb9 (commit) from eb04247d5d0aafbf40e8da078ef57759ba4c8097 (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=48eb7a94e292efcbbd74902322252a99cbf74fb9 commit 48eb7a94e292efcbbd74902322252a99cbf74fb9 Author: Joseph Myers Date: Fri Oct 24 12:57:59 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. The aliases specified for s390-32 had the effect of exporting __chown@@GLIBC_2.1 (but not __chown@GLIBC_2.0) despite it not being listed in Versions files. (I'm not sure why versioned_symbol but not compat_symbol were effective like that to create such __chown exports in the absence of Versions entries.) The natural way to preserve that versioned export of __chown seems to be to add it in a Versions file, so I did so. (Maybe actually it should be a compat symbol, __chown@GLIBC_2.1, unless there's a good reason for that export, but this patch doesn't change anything there.) Tested for x86. [BZ #14138] * sysdeps/unix/sysv/linux/i386/chown.c: Remove file. * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise. * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file. * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise. * sysdeps/unix/sysv/linux/sh/chown.c: Likewise. * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise. * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add __chown. * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall. (lchown): Likewise. (fchown): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown): Likewise. (lchown): Likewise. (fchown): Likewise. * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise. (lchown): Likewise. (fchown): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown): Likewise. (lchown): Likewise. (fchown): Likewise. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 32 +++++++++ sysdeps/unix/sysv/linux/i386/chown.c | 67 ------------------ sysdeps/unix/sysv/linux/i386/fchown.c | 34 --------- sysdeps/unix/sysv/linux/i386/lchown.c | 34 --------- sysdeps/unix/sysv/linux/i386/syscalls.list | 4 + sysdeps/unix/sysv/linux/s390/s390-32/Versions | 3 + sysdeps/unix/sysv/linux/s390/s390-32/chown.c | 71 -------------------- sysdeps/unix/sysv/linux/s390/s390-32/fchown.c | 1 - sysdeps/unix/sysv/linux/s390/s390-32/lchown.c | 34 --------- sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list | 4 + sysdeps/unix/sysv/linux/sh/chown.c | 34 --------- sysdeps/unix/sysv/linux/sh/fchown.c | 1 - sysdeps/unix/sysv/linux/sh/lchown.c | 1 - sysdeps/unix/sysv/linux/sh/syscalls.list | 4 + sysdeps/unix/sysv/linux/sparc/sparc32/chown.c | 1 - sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c | 1 - sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c | 1 - .../unix/sysv/linux/sparc/sparc32/syscalls.list | 4 + 18 files changed, 51 insertions(+), 280 deletions(-) delete mode 100644 sysdeps/unix/sysv/linux/i386/chown.c delete mode 100644 sysdeps/unix/sysv/linux/i386/fchown.c delete mode 100644 sysdeps/unix/sysv/linux/i386/lchown.c delete mode 100644 sysdeps/unix/sysv/linux/s390/s390-32/chown.c delete mode 100644 sysdeps/unix/sysv/linux/s390/s390-32/fchown.c delete mode 100644 sysdeps/unix/sysv/linux/s390/s390-32/lchown.c delete mode 100644 sysdeps/unix/sysv/linux/sh/chown.c delete mode 100644 sysdeps/unix/sysv/linux/sh/fchown.c delete mode 100644 sysdeps/unix/sysv/linux/sh/lchown.c delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc32/chown.c delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c delete mode 100644 sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c -- You are receiving this mail because: You are on the CC list for the bug.