rem: state = disable_interrupts(); GRAB_TEAM_LOCK();
context: sys_getenv(const char *name, char **value){	char **envp;	char *p;	int state;	int i;	int len = strlen(name);	int rc = -1;	// ToDo: please put me out of the kernel into libroot.so!	state = disable_interrupts();	GRAB_TEAM_LOCK();	envp = (char **)thread_get_current_thread()->team->user_env_base;	for (i = 0; envp[i]; i++) {		if (!strncmp(envp[i], name, len)) {			p = envp[i] + len;			if (*p == '=') {				*value = (p + 1);				rc = 0;				break;			}		}	}	RELEASE_TEAM_LOCK();	restore_interrupts(state);		return rc;}