This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] alpha: force old OSF1 syscalls for getegid, geteuid and getppid [BZ #24986]
On 2019-09-10 11:44, Zack Weinberg wrote:
> On Tue, Sep 10, 2019 at 10:58 AM Aurelien Jarno <aurelien@aurel32.net> wrote:
> > On 2019-09-10 13:20, Florian Weimer wrote:
> > > * Aurelien Jarno:
> > >
> > > > Changelog:
> > > > [BZ #24986]
> > > > * sysdeps/unix/alpha/getegid.S: Move to ...
> > > > * sysdeps/unix/sysv/linux/alpha/getegid.S: ... here.
> > > > * sysdeps/unix/alpha/geteuid.S: Move to ...
> > > > * sysdeps/unix/sysv/linux/alpha/geteuid.S: ... here.
> > > > * sysdeps/unix/alpha/getppid.S: Move to ...
> > > > * sysdeps/unix/sysv/linux/alpha/getppid.S: ... here
> > >
> > > Looks reasonable to me.
> >
> > The other alternative instead of moving the files is to add those files
> > with a simple #include <sysdeps/unix/alpha/getXXXX.S>. It's the strategy
> > chosen for pipe.S for example.
>
> What are the odds that a hypothetical future port to Alpha with a
> non-Linux kernel would want to use these files, though? If they're
> not likely to be wanted, moving the files is simpler.
There is already little interest for the Linux kernel port, so I really
doubt a non-Linux kernel port will happen. I have therefore committed
the patch.
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net