rem: team_info kinfo; status_t rc = B_OK; status_t rc2;  if ((addr)info >= KERNEL_BASE && (addr)info <= KERNEL_TOP) return ERR_VM_BAD_USER_MEMORY;  rc = _get_team_info(id, &kinfo, sizeof(team_info)); if (rc != B_OK) return rc;  rc2 = user_memcpy(info, &kinfo, sizeof(team_info)); if (rc2 < 0) return rc2;  return rc;
add: status_t status; team_info info;  if (!CHECK_USER_ADDRESS(userInfo)) return B_BAD_ADDRESS;  status = _get_team_info(id, &info, sizeof(team_info)); if (status == B_OK) { if (user_memcpy(userInfo, &info, sizeof(team_info)) < B_OK) return B_BAD_ADDRESS; }  return status;
context: user_get_team_info(team_id id, team_info *info){	team_info kinfo;	status_t rc = B_OK;	status_t rc2;		if ((addr)info >= KERNEL_BASE && (addr)info <= KERNEL_TOP)		return ERR_VM_BAD_USER_MEMORY;			rc = _get_team_info(id, &kinfo, sizeof(team_info));	if (rc != B_OK)		return rc;		rc2 = user_memcpy(info, &kinfo, sizeof(team_info));	if (rc2 < 0)		return rc2;		return rc;}