fix SYS_open
fix SYS_open EDX
fix ALLOC