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

cuserid(buf)



Hi,

For me, the cuserid 3 test always fails:

        /tset/LSB.os/procenv/cuserid/T.cuserid 3        Failed
        
                Test Information:
        cuserid(buf) did not return buf
        current effective user ID is 25000 (VSX_UNUSED_UID)


ID 25000 is not known to the system. Since cuserid is dropped from
the current standards, I'm not sure if the test case is wrong or
glibc. All manual pages say, that, if a userid does not exists,
NULL should be returned. This is, was glibc do.

Does somebody has a standard where cuserid is descriped and can
tell me, what the correct return code is if the uid does not exists ?
Looks like the test case expects the user supplied buffer without
contents. Can somebody verify this?

  Thanks,
   Thorsten

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE GmbH            Deutschherrenstr. 15-19       D-90429 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B



Reply to: