what is the difference between user APIs and kernel system
calls ?
Answer / noor alam
Application Programming Interface (API) is a set of
functions, objects, protocols or datastructures for the
support of application development for
developers/programmers. It is actually a kind of function
definition which specifies how to make available of a
specific service of the system/OS. The API's are available
from library or from Operating system itself. Whenever a
programmer need a specific service from OS, he/she can use
appropriate API to do that.
Processes in a system are run in different modes, process
run in user mode have no access to the privileged
instructions. If they want perform any privileged
instructions or need of any services they request kernal for
that service through System Calls. System calls are made by
way of software interrupt. This is actually a request for
the service whereas API is a function description that can
be used by the programmer for his programs, its like a tool
used to obtain a specific task in his programs.
| Is This Answer Correct ? | 5 Yes | 1 No |
what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?
what is mean by raid and what are all raids available even in software and hardware?
1.Diff between Active and passive FTP? 2.What is anacron? 3.Diff between yum update and yum install while doing for kernel? 4.root_squash and no_root_squash does what? 5.What are the commands will you execute to find a new hardware? 6.How will you find out a lun allocated from SAN? 7.What is the main diff in CaT5 and CAT6 cable, except the 1/100 and 1/1000? 8.What is stale NFS and How will you fix it? 9.What is kernel panic error? 10.How will you recover password and shadow file, in case both got deleted. Explain the steps? 11.Explain boot process 12.What is network bonding. Explain the steps? 13.What are the exit codes returned by FSCK? 14.What is LDOM? 15.Diff between block and character device?
what is nis server
what are different ways the context switch happens from user to kernel space or vice-versa ?
what is stored in /proc ? what is significance of /proc in linux ?
What are the signals we have in Linux
how to create a ftp user on redhat linux 4.0?
how to configure http server on red hat linux4.0?
How to create secured appeche web sever ?
What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device?
what is the difference between user APIs and kernel system calls ?