Support Sony Tablet P (release5a)
Merge pull request #5 from fi01/test

Support Sony Tablet P (release5a)
Use ptmx_fops instead of ashmem

Because ptmx_fops can use both mmap and fsync.

ISW13F, IS17SH and  Sony Tablet P are not supported yet.
Separete kallsyms functions in kallsyms.c
Rename creds.[hc] -> cred.[hc]
Rename creds.h -> cred.c
Get remap_pfn_range address

remap_pfn_range() can be used to get addresses creds functions or
modify in .text section.
get_remap_pfn_range() should return void pointer
Fix get_ptmx_fops address check
Use appropriate name for return value of get_ptmx_fops_address()
Fix remap_pfn_range_address -> remap_pfn_range
Implement functions used for mmap
Reduce else statement
Update libdiagexploit
Separate ptmx.[hc]
Get functions for credentials using mmap
Add perf_swevent_run_exploit
Use perf_swevent_run_exploit
PTMXS -> PTMX
Define PTMX_DEVICE