I'm trying to call the crypt
system call from Ruby. Ruby has a Kernel#syscall
method (http://ruby-doc.org/core-2.3.0/Kernel.html#method-i-syscall), but it needs the number of the system call, not the name. I have found many lists of system call numbers, but none of them include crypt
.
Any ideas how I call it?
Thanks!