Call a Linux syscall from a scripting language
16
votes
4
answers
4052
views
I want to call a Linux syscall (or at least the libc wrapper) directly from a scripting language. I don't care what scripting language - it's just important that it not be compiled (the reason basically has to do with not wanting a compiler in the dependency path, but that's neither here nor there). Are there any scripting languages (shell, Python, Ruby, etc) that allow this?
In particular, it's the [getrandom](http://man7.org/linux/man-pages/man2/getrandom.2.html) syscall.
Asked by joshlf
(395 rep)
Mar 24, 2017, 08:58 PM
Last activity: Apr 24, 2025, 01:39 PM
Last activity: Apr 24, 2025, 01:39 PM