Intel Corporation Interview Question: How Linux system call works i... | Glassdoor

Interview Question

Software Engineer Interview San Jose, CA

How Linux system call works in details. How does user space

  and kernel space communicate ?
Answer

Interview Answer

1 Answer

0

Linux userspace to be connected to kernel by:
1) IOCTL
2) Proc Sysfs file system
3) System calls (like read and write)

System Call from user space trigger calling software interrupt (kernel mode) so that the CPU enter privilege mode. then the type of the system call is classified (like which type) and attributing it to the device file or the file handle it was called with

the Dude on Oct 27, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.