I need to execute a file when I only know the descriptor. It is also possible that there are no links to the file so finding out the name somehow is not an option. All the e
Use fexecve.
PS: reading the file and calling some function pointer is definitely not OK. :)