rem: va_start(args, oflags); perms = va_arg(args,int); va_end(args);
add: if (openMode & O_CREAT) { va_start(args, openMode); perms = va_arg(args, int) & ~__gUmask;  va_end(args); }
context: open(const char *path, int oflags, ...){	int status;	int perms;	va_list args;	va_start(args, oflags);	perms = va_arg(args,int);	va_end(args);	if (oflags & O_CREAT)		status = _kern_create(path, oflags, perms);	else		status = _kern_open(-1, path, oflags);	if (status < 0) {		errno = status;		return -1;	}	return status;}