title: How to edit linux kernel files?
body: <p>I am working of fork function which creates a child process, I want to edit it in a way that whenever it is called it should print whether the process is created or not, (I am doing it just for practice, I know it is of no use).</p>
  
  <p>What I have researched is this that fork function is defined in a file named fork.c which is in linux/kernel. I don't know that where is this folder in my ubuntu OS and also if I somehow get access to fork.c then will OS allow me to edit ?</p>
  
  <p>I have also read that for this purpose I have to download another kernel and then edit the downloaded one with disturbing original (which is a headache).</p>
  
  <p>I only want to edit fork.c in a way that it prints if a process is created or not.</p>
  
  <p>Plzz ignore any useless stuff i have said, it would be great if you could give me the answer in steps to modify fork.c and then use it.</p>