Second, a Linux system call is basically a function that is a part of the operating system's code.
其次,Linux系统调用基本上是一个函数,它属于操作系统代码的一部分。
The Linux system call interface provides the means for user-space applications to invoke kernel functionality.
Linux系统调用接口提供了用户空间应用程序调用内核功能的方法。
The Linux system call setpriority() is used to set or modify priority levels for normal processes and threads.
使用 Linux系统调用setpriority()来设置或者修改普通进程和线程的优先级层次。
This process begins as a call to mount (a Linux system call), which is routed through the VFS to the NFS component.
该流程以对mount(Linux系统调用)的调用开始,它通过VFS路由到NFS 组件。
While booting Linux involves many steps, you can partition the process into three basic steps that I call BIOS, kernel boot, and system initialization, as shown in Figure 1.
尽管引导Linux会涉及很多步骤,不过您可以将整个过程划分为3个基本步骤,我将它们分别称之为BIOS、内核引导和系统初始化,如图1所示。
The Linux kernel provides several functions that you can use to move system call arguments to and from user-space.
Linux内核提供了几个函数,可以用来将系统调用参数移动到用户空间中,或从中移出。
To visit the device, the Linux kernel maps the device operation call to the device driver via the file system.
为了访问设备,Linux内核将设备操作调用通过文件系统映射到设备驱动程序。
Traditionally, the big killer in Linux emulation was the clone system call.
传统上,Linux模拟中最难以处理的是clone系统调用。
This function is a high-level way of opening a file; but, since the only way to open a file in Linux is to use the open system call, fopen makes use of open in its implementation.
该函数是打开文件的高层次方式;但是,因为在Linux中打开文件的唯一方法是使用open系统调用,所以fopen在其实现中利用open 。
In this article, I explore the Linux SCI, demonstrate adding a system call to the 2.6.17 and prior 2.6 kernels, and then use this function from user-space.
在本文中,我将探究LinuxSCI,演示如何向2.6.20内核添加一个系统调用,然后从用户空间来使用这个函数。
A value of 1 (for the Linux exit system call) is stored in EAX to request that the program exit.
EAX中存储的值是1(代表Linuxexit系统调用),这请求程序退出。
In the standard 2.6 Linux kernel, when a user space process makes a call into the kernel (through a system call), it cannot be preempted.
在标准2.6Linux内核中,当用户空间的进程执行内核调用时(通过系统调用),它便不能被抢占。
Options available for performing ioctl are different in Solaris and Linux. For example, to get the resource usage, you can pass the option PIOCUSAGE to the ioctl system call
执行ioctl可以使用的选项在Solaris和Linux 中是不同的。
Options available for performing ioctl are different in Solaris and Linux. For example, to get the resource usage, you can pass the option PIOCUSAGE to the ioctl system call
执行ioctl可以使用的选项在Solaris和Linux 中是不同的。
应用推荐