[Centos] Re: anyone else seeing problems with rsync daemon under centos 4?

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



and i just determined it is a libc bug.  the code below will segfault
(must be run as root for chroot to work). i'll try to submit to redhat...

#include <sys/types.h>
#include <pwd.h>

main()
{
        struct passwd *p;

        chroot("/tmp");
        chdir("/");
        p = getpwuid(666);
        if (p) {
                printf("%s\n", p->pw_name);
        }
        exit(0);
}



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux