Refactor sysvsem, sysvshm, sysmsg