Android的Linux系统调用表 [英] Android Linux system call List

查看:300
本文介绍了Android的Linux系统调用表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道在哪里可以找到可以在Android的手机使用的系统调用列表?我想,找内核应该工作,但我找不到任何的* .h或的* .c与他们的声明。

Does anyone know where I can find the list of system call that can be used in Android Mobile phones? I guess that looking to the kernel should work, but I cannot find any *.h or *.c with the declaration of them.

最好的问候

推荐答案

您想主要Linux内核手册页的第2节。

You primarily want section 2 of the linux kernel manual pages.

很少是唯一到Android,少数陷阱在android文档是(无SYS-V IPC,AF_INET套接字不会工作,除非你是网络组等)。大多数的Andr​​oid加法是司机(粘合剂等)和新的使用模式(例如用户ID),而不是实际的系统调用。

Very little is unique to Android, the few gotchas being in the android docs (no sys-V IPC, AF_INET sockets won't work unless you are in the network group, etc). Most of the android additions are drivers (Binder, etc) and novel usage patterns (for example of user IDs) rather than actual syscalls.

如果你确实需要系统调用号可以在仿生/ libc中找到它们/源内SYSCALLS.TXT

If you actually need the syscall numbers you can find them in bionic/libc/SYSCALLS.TXT within the sources

这篇关于Android的Linux系统调用表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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