Outline the steps involved in transitioning from user space to kernel space when `execl()` is called. What role does the `execve()` system call play in this process?
The steps involved in transitioning from user space to kernel space are:-
User-space Preparation
System call transition
Kernel-space execution
Returning to user mode
execl function internally invokes execve system call. The execve system call is the main call running in the background which transitions user from user mode to kernel mode.