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

Re: [PATCHES] glibc 2.1, Linux, and chown


At 17:47 -0800 1998-12-12, Jim Pick wrote:
>Basically, the solution is to tell dpkg to use lchown() - but glibc
>first needs to be patched to handle chown/lchown for the 2.0.x kernels
>that only have chown (which is really lchown).

Debian/alpha is currently using a dpkg that uses lchown() with a patched libc.

I think that is very important that such code be in glibc if the 
stated goal that a libc built with 2.1 kernel headers can work with a 
2.0 kernel is to be honored.

>Joel's proposed patches are for emulating the new chown behaviour on
>the old kernels (which really only had lchown behaviour built in).  I
>don't really understand exactly how it works (with symbol versioning
>and all that), but it does seems like the right thing to do.

Just a clarification, my only real work on these patches is copying 
files and editing syscalls.list. Geoff Keating wrote the original for 
powerpc.

>I'm not really clear on why you felt that the alpha glibc doesn't need
>Joel's patches.  Wouldn't it be a good thing if glibc 2.1 provided a
>chown() implementation on 2.0.x kernels that was compatible with the
>2.1.x kernels?

That's my question too because the Debian/alpha people have asked for 
such a patch and are using it and seem to need it. I'm ccing this to 
debian-alpha so they are aware of this discussion.
--
Joel Klecker (aka Espy)                     <URL:http://web.espy.org/>
<URL:mailto:jk@espy.org>                  <URL:mailto:espy@debian.org>
Debian GNU/Linux PowerPC -- <URL:http://www.debian.org/ports/powerpc/>


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