New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perl crypt() function is unimplemented due to excessive paranoia #1902
Comments
please note that although CONFIG_PERL_THREADS is set crypt still does not work. I am running on an MT7620a mipsel architecture. My understanding from lsoltero@ubuntu:~/openwrt.cc$ grep -i perl .config | grep -i thread |
one final note... i am running with uClib which does not support crypt_r for which explanation lives here So the make file logic as defined here thanks, --luis |
Yeah I've also been thinking about that for a while. The perl documentation actually has a word on thread-safety(see "Thread-Safety of System Libraries" in perlthrtut, http://perldoc.perl.org/perlthrtut.html#Thread-Safety-of-System-Libraries). So my current view is that crypt() should always be enabled, thead-safe or not. Does anyone see a problem with that? Please note that I can't introduce new features in the stable tree, so crypt() will remain disabled in CC. I've posted a patch that enables crypt() in CC over at https://gist.github.com/Naoir/5b0023bc67d132f98308. Hope that helps |
crypt() is enabled for all libc implementations beginning with perl-5.22.0-4 in trunk. CC will stay with disabled crypt() as previously discussed. Closing. Thanks! |
the perl make file breaks crypt().
root@Optimizer:/usr/local/gmnbin# perl -d
Loading DB routines from perl5db.pl version 1.44
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
crypt("helllo","hello");
main::(-:1): crypt("helllo","hello")
DB<1> n
The crypt() function is unimplemented due to excessive paranoia. at - line 1.
at - line 1.
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
DB<1>
See https://forum.openwrt.org/viewtopic.php?pid=297923#p297923
for details.
--luis
The text was updated successfully, but these errors were encountered: