Re: [PATCH 9/9] shell: Use crypt_r() in rtems_shell_login_check()

2014-11-14 Thread Sebastian Huber
On 11/14/2014 03:54 PM, Joel Sherrill wrote: Where are crypt.h and the methods coming from? I don't see them in newlib and It is in patch 3/9. is not a POSIX header file. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-

Re: [PATCH 9/9] shell: Use crypt_r() in rtems_shell_login_check()

2014-11-14 Thread Joel Sherrill
Where are crypt.h and the methods coming from? I don't see them in newlib and On 11/14/2014 7:46 AM, Sebastian Huber wrote: > Use '*" to disable shell login instead of '!' according to the Linux man > page. Use getpwnam_r() instead of getpwnam(). Do not access the user > environment directly. >

[PATCH 9/9] shell: Use crypt_r() in rtems_shell_login_check()

2014-11-14 Thread Sebastian Huber
Use '*" to disable shell login instead of '!' according to the Linux man page. Use getpwnam_r() instead of getpwnam(). Do not access the user environment directly. --- cpukit/libmisc/shell/login_check.c | 45 -- testsuites/samples/fileio/init.c | 13 +++-