I\'m writing a program that loads and executes code from file. But i got a problem: \"write\" syscall does not work. Code successfully loads and executes, but does not displ
Why are you not using .so files to dynamically load your code? Are you testing a security scenario or really trying to dynamically load and run code?
Read here on how to compile code as a .so, load it dynamically within a program, and execute exported functions out of it.
http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html