This is the mail archive of the libc-alpha@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]

Re: [PATCH] alpha: force old OSF1 syscalls for getegid, geteuid and getppid [BZ #24986]


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.

zw


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