Name the data structure used to maintain file identification?
‘inode’, each file has a separate inode and a unique inode number.
Explain the UNIX or Linux Kernel?
Unix operating system derived into three different levels and the inner most level is Kernel. Who is the sole responsible of all the activites as scheduler, memory manager etc. The outmost level is Shell which connect to end user with the Kernel.
The Linux kernel is an operating system kernel used by the Linux family of Unix-like operating systems.[5] It is one of the most prominent examples of free and open source software.
free linux kernel programming Books
Whats is Stack overflow attack or buffer overflow
Filed under: Linux Kernel Interview Questions, Linux Programming Interview Questions, Microsoft Interview Questions
a stack buffer overflow occurs when a program writes to a memory address on the program’s call stack outside of the intended data structure; usually a fixed length buffer.[ Stack buffer overflow bugs are caused when a program writes more data to a buffer located on the stack than there was actually allocated for that buffer. This almost always results in corruption of adjacent data on the stack, and in cases where the overflow was triggered by mistake, will often cause the program to crash or operate incorrectly. This type of overflow is part of the more general class of programming bugs known as buffer overflows
