I am trying to find the implementation codes of the functions defined in syscalls.h
of linux kernel. For example, I see the following function prototype in syscalls.h
file
asmlinkage long sys_gethostname(char __user *name, int len);
asmlinkage long sys_sethostname(char __user *name, int len);
asmlinkage long sys_setdomainname(char __user *name, int len);
asmlinkage long sys_newuname(struct new_utsname __user *name);
asmlinkage long sys_uname(struct old_utsname __user *);
asmlinkage long sys_olduname(struct oldold_utsname __user *);
But I cannot find the actually implementation in my linux source directory. I am particularly interested in the implementation about the sys_uname
function. Can some one help me where I can find it in the linux source tree? I am using ubuntu 12.10.