[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Glibc? Patch or not?

>>>>> "LP" == Loic Prylli <Loic.Prylli@ens-lyon.fr> writes:

    LP> I propose the patch below, it apply on the unpacked source
    LP> glibc package, there are corresponding binary deb packages on
    LP> http://lhpca.univ-lyon1.fr/~lprylli/glibc/.

  One thing I would suggest:

+  int ret = __syscall_lchown (file, owner, group);

  Cache the result of this. Remember we get a printk for every
syscall that returns ENOSYS. In fact, you should only go through all
of this code once. Work out what kind of system you're running on,
then set a static variable and switch() on it to jump straight to
whatever it is that you're supposed to do. Aside from this, it looks
pretty close to ideal (although I haven't tried it here yet).


Reply to: