Re: [ofa-general] ib-diag: use of getpass()

2009-02-20 Thread Roland Dreier
saquery calls getpass, and according to the man page: 'This function is obsolete. Do not use it.' I believe that information may not be totally accurate. The modern glibc implementation doesn't seem to have any problems. - R. ___ general

Re: [ofa-general] ib-diag: use of getpass()

2009-02-20 Thread Hal Rosenstock
On Fri, Feb 20, 2009 at 1:27 PM, Sean Hefty sean.he...@intel.com wrote: saquery calls getpass, and according to the man page: 'This function is obsolete. Do not use it.' Can we remove this call? What is your preference for replacing it? (Use scanf? take the SM Key as a command line

RE: [ofa-general] ib-diag: use of getpass()

2009-02-20 Thread Sean Hefty
There was a thread on this back in June 2008: http://lists.openfabrics.org/pipermail/general/2008-June/051057.html Sasha wrote: glibc info page doesn't indicate this. Also I did some googling and looked at glibc code itself - found nothing suspicious yet. Finally it is how password handled in