Refactor sys_open to use fops tables; validate pointers in sys_{exec,getargs}