Intel Corporation interview question

How Linux system call works in details. How does user space and kernel space communicate ?

Interview Answer

Anonymous

27 Oct 2012

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