Source code for execve ()

Could you give me the source code for the execve () system call (exec family). I work with linux.

+4
source share
4 answers

execve () calls sys_execve (), which calls do_execve (), where the action is located: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f = fs / exec.c # l1376

+4
source

The entry point for execve() here on the Linux cross-reference page. You can follow function links ( do_execve() , probably what you really need) to see the source code.

+2
source

You can get the linux source code on the page > To view inline use the git viewer

0
source

Source: https://habr.com/ru/post/1335525/


All Articles