From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f202.google.com (mail-dy1-f202.google.com [74.125.82.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B236A3009DA for ; Mon, 2 Feb 2026 21:49:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770068943; cv=none; b=XpQkEzgyOhk5LFRoNMcUle33yXXtziLaGjBuVi6/HVm8hG8rjyBPKPYR/vulx/MJMiNKA6xUtdP2cyfVJGeSYTSdCZAZJ+a0jVpIGV1FJXxmVrfuU2U3YQkFHk8nsUpdafgHWJaroJJyH5lxBYLGkq0e0WL2DFoTreQRBDBTIdA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770068943; c=relaxed/simple; bh=XySWeTq1x/14+SNZY6U2jbomS9uWDyEUitLbWsXbRw0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=kniPyZkcCQJch73sbZM+SrKdrvsL107gYbtT5K78qUZVrm42bC5PgiwMSxujkBGgHuXNJ+/8uYPyPMhGKhH4zcXP6zhrMfhluycmrzo7zEq2JElLDlJCv8YNsOTV7G9Wi5QLOOk2i0hPV+IlVSzBRyiF+qwx7PoZBCgi8jtEhXs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--jordanrichards.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=ygyQkD3m; arc=none smtp.client-ip=74.125.82.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--jordanrichards.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ygyQkD3m" Received: by mail-dy1-f202.google.com with SMTP id 5a478bee46e88-2b799f7a603so27587907eec.1 for ; Mon, 02 Feb 2026 13:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1770068942; x=1770673742; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=CGd6G1Vb/3CvX2kkVP9M1fJHJsx1i2LSzEHZHyKjpyk=; b=ygyQkD3m1FhmVP4KuD1Q/ywR1q8qqyL7Xaz1j2GvkvbW9Grej7Sd018dTsCRqvZLW6 a/SPA3z4V3TqxOZ+1zvmxusPqoohlnDApRR1NBfvoJooO+qN2vVAi+mwHFIX/RoifxfT Y2pyl49dNh7MM0IFQ+Fk4f+XQqzFhLh46v8bNtgDrwK4dmT8LmBlkeMe4jv7G8Cp6z7A 0h5a3/9YF20SHhj3yjIzCXVtKZU23oIUN/ONz/YnFOE5za4MnvDEDSCUyfWEem9qH41e hDBalhLSovL6GP3hOX6QSf2el4N8el4orgmBcGp+pECqKNuzX/F254ZsMaACx/MmBoQj btOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770068942; x=1770673742; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CGd6G1Vb/3CvX2kkVP9M1fJHJsx1i2LSzEHZHyKjpyk=; b=xU/L6Q6rKE6oQnumVfnbE/c4e8eZy1au24ioVP12IgT7FfEOXLAqnZolZijikLmCuA gSjoP/eShB/7hBDPrC2PLy3tPsY8nl+bYxNB60EsFHmZyyqdbteDI7M1RqprRLaMU8av ee4vUe5t+ZeeTDO9Y6V4ulw2dFNb9AYx3hBFPBo/XeWiBcqVwXb5m59tM1SvibCBnYk8 19hg7nsX97p1LL6LVVVS3e4E7vEjlTl+mq63TbRzhfUVWj7AdMshAtjktXaHTj5mO5RF AWCR9kaw6P92rIqtnjakxBXe6lB2i2XZj6b2yXNRoKBkPUHwCOqh295NY1KnGCtmY80k jUJw== X-Forwarded-Encrypted: i=1; AJvYcCWZvyq2m+0SBzu9mj2j+wwrb3MuaZO+xXJTga6JedHkuWLwaYF8wgcdF9rfkf5LavbtAQmPXB7JAVShmJY=@vger.kernel.org X-Gm-Message-State: AOJu0YwvosCTOiUZyovO1I1DAI0ouhhFNi9ZXk53uunKWB+oPS2u/a/m zZW4PpUObHnEAZMShLo6ksEaRTrXYoRc0duW1OLQPpkXX4sxlTAr8qzPNTPfMaMQfXmm5EEi/D/ sLbaYz+9UcCY3OGA7uqAytfe8K2TKv31Jr/gPIQ== X-Received: from dybnk15.prod.google.com ([2002:a05:7300:cf0f:b0:2b7:b47b:2f2f]) (user=jordanrichards job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7301:3d15:b0:2b7:2dac:5853 with SMTP id 5a478bee46e88-2b7c8626756mr5756175eec.2.1770068941732; Mon, 02 Feb 2026 13:49:01 -0800 (PST) Date: Mon, 2 Feb 2026 21:48:59 +0000 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: X-Mailer: git-send-email 2.53.0.rc1.225.gd81095ad13-goog Message-ID: <20260202214859.662889-1-jordanrichards@google.com> Subject: Re: [PATCH] selftests/liveupdate: add end to end test infrastructure and scripts From: Jordan Richards To: rppt@kernel.org Cc: dmatlack@google.com, jasonmiu@google.com, jordanrichards@google.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, pasha.tatashin@soleen.com, pratyush@kernel.org, shuah@kernel.org Content-Type: text/plain; charset="UTF-8" Hi Mike, Thanks for the feedback. >> +int sys_ftruncate(int fd, off_t length) >> +{ >> + return my_syscall2(__NR_ftruncate, fd, length); >> +} >> + >> +int ftruncate(int fd, off_t length) >> +{ >> + return __sysret(sys_ftruncate(fd, length)); >> +} > > These should be added to nolibc I suppose. I notice that nolibc has its own tree. If I patch nolibc/sys.h, will those changes make their way there? Or should I avoid modifying nolibc/sys.h and keep this local copy for now, to be removed if/when ftruncate is added to nolibc?