1

Why sys_mmap is not present in syscalls.h file in Linux 2.6.29?

view story
linux-howto

http://stackoverflow.com – I have written one kernel module which implements hooking of system calls. In the hooked system call, I just printk input parameters passed to that function and in case of ioctl, I get fd=21, cmd=3222823425 and arg=3198662648 After decoding, I get to know that it's mmap2 system call being made through ioctl. And in syscalls.h file, there is unmap sys call but not mmap. Is there any reason for not including mmap in syscalls.h file? (HowTos)