implement sys_hasmmap