Where do I find the source code for execve()?

前端 未结 4 1257
醉话见心
醉话见心 2021-01-03 01:46

Could you give me the source code for execve() system call (exec family). I\'m working with Linux.

4条回答
  •  萌比男神i
    2021-01-03 02:16

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

提交回复
热议问题