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/12387] New: sysdeps/unix/sysv/linux/sh/getgid.c is missing


http://sourceware.org/bugzilla/show_bug.cgi?id=12387

           Summary: sysdeps/unix/sysv/linux/sh/getgid.c is missing
           Product: glibc
           Version: 2.11
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: christian.groenke@sysgo.com


Created attachment 5189
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5189
patch to add getgid to SH arch

When i used "getgid()" on my SH4 machine with glibc-2.11 it didn't work, but
"getegid()" worked. The problem is the missing file
"sysdeps/unix/sysv/linux/sh/getgid.c". I think i should be the same as
"sysdeps/unix/sysv/linux/sh/getegid.c". (basically including the getgid.c file
from "sysdeps/unix/sysv/linux/i386/")

This will impact for example the sshd as it uses "getgid()" to do some checks.

I checked also the the last release from the gnu-ftp (2.12.2) the file is also
missing there so the error still exists.

I appended a patch that will add this file to the appropriate dir and should
work.

Best regards
Christian

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]