在哪里可以找到execve()的源代码? [英] Where do I find the source code for execve()?

查看:94
本文介绍了在哪里可以找到execve()的源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

能给我execve()系统调用( exec 系列)的源代码吗?我正在使用Linux.

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

推荐答案

execve()调用sys_execve(),后者调用do_execve(),在该操作中,操作为:

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

这篇关于在哪里可以找到execve()的源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆