Message ID | 771f13e1343d63532bf559bffdb483a11667df3b.1646292328.git.development@efficientek.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=N/mcq64O; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=efficientek-com.20210112.gappssmtp.com header.i=@efficientek-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=Cf/HFYqt; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K8NYk0T0rz9sGD for <incoming@patchwork.ozlabs.org>; Thu, 3 Mar 2022 18:54:50 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FYWcOm4fvk0PKRuxmankQev57PQiyyEOnvQ1W7CmG2E=; b=N/mcq64O/AjEyK 6X7wpHtOLhwKyeVDxSyn3klhNYemna+vNfomV13sXaXc0nEWSkkhj77DtNUkDmSFYUQixkxGW+vj2 k0AwfscyW+28Bd56XH9PNt1DIwNFZSkxyKiBWUVyCK/ZtYlujTX2do/Igt0tt9V5Lga9szTQZPp7d ZBIaj4XdS0hEKnukOsBlvAzJXUul2mAdI+j7JJbFn9wTVFB5hc98EPBh+hzpClb8VC4RJpOfYVAqh OQEZpLQK2DsD3foVWWxpZ1mDsa/l+IgHjq0kcu9avDuJKes+9Wl0VuZ0Ud2/Od9pd9bO7OsU/T/cZ 3c11ju7TiRm9ZqsAVpuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPgIH-005dWJ-Um; Thu, 03 Mar 2022 07:54:37 +0000 Received: from mail-qv1-xf2e.google.com ([2607:f8b0:4864:20::f2e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPgIA-005dTf-Ic for linux-um@lists.infradead.org; Thu, 03 Mar 2022 07:54:31 +0000 Received: by mail-qv1-xf2e.google.com with SMTP id p8so521714qvg.12 for <linux-um@lists.infradead.org>; Wed, 02 Mar 2022 23:54:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=icU8BdOC6sPMw/Vf072vCHVVYTZDpr8THSoIMVp+cvs=; b=Cf/HFYqtU1visvs30ZorzqqM9OSZGXCWRnRfVf0VyTEeldsNV7BVJJ+HPjcNzaBwX1 4Jry86eyy7LDILNcDyUiQFCdI7ErtbJ232f4rj3l/mre5c5/zR5Ri7qa19d/0QQ6wnEU aZ/XKsr1zpcgE6VhJ/0eYeJasEcHzjc8m/4oFmec6WYL/OPOfrKfa/OtBw6uq2KIO/Kh LuXeEg4rkrVKrvPGRbmTfd2E6ymaeEaAMU2sDDZqwJJFktXibbHnPDh5TlLFFo0BUmJU wwuRmd3z8fCWbnY/0kcmv/EajAqvMpAPnTbX66SyF0sHoNSxILskWlGNYAr7MSWmuBZl XDnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=icU8BdOC6sPMw/Vf072vCHVVYTZDpr8THSoIMVp+cvs=; b=4vaUE+1JyPZP402hg6iEhSWsyDtK0NwvA9NnpL05dbRZcVFF5TcZQZcZ0C9b1Ys2dy uAhdbNlRYn0QTTMG69pbgep4nf8bIkkbZHSO5wui5ypPRYFqjpDaqj2MRo8oKQ+pndtz vJNzUhZiE0hyNRl197GMas8mqFpOPBnpbrR5hnuYt9sMTVU4NrbGIqBlsECjHaHWu01U g66+axex1Z139FnvK0XXfj8sgeTO7srK1pbz8Bh+PRusJZmrkxuRASAztf/hD5kpPFK/ NWf7pQ8Qec0CWkZg/26wdJWZ22DMulxmH9Ws/J31yXuTbhNb6xtVmTZGu3QoKj5YRD7I IT7A== X-Gm-Message-State: AOAM530mMDzyg82cQOlYDN/RxgarpAnLiHW9ZV51PH1K/KfGwUiIOsKf XOR1VQEfLUYbCm1ZAxQbniRwcfnwi6lGXQ== X-Google-Smtp-Source: ABdhPJzx1BT9rcC4OOB9lvDqKXkOKFayBccoRMFTPE6YJb9hjs524M27M7wkRidUtn9Evzy+TdYQXg== X-Received: by 2002:ad4:514c:0:b0:432:e725:258f with SMTP id g12-20020ad4514c000000b00432e725258fmr15905827qvq.131.1646294069068; Wed, 02 Mar 2022 23:54:29 -0800 (PST) Received: from localhost.localdomain (garza.riseup.net. [198.252.153.109]) by smtp.gmail.com with ESMTPSA id o21-20020a05622a009500b002de9437a361sm1044295qtw.51.2022.03.02.23.54.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 23:54:27 -0800 (PST) From: Glenn Washburn <development@efficientek.com> To: linux-um <linux-um@lists.infradead.org> Cc: Glenn Washburn <development@efficientek.com> Subject: [PATCH 1/4] um: port_user: Search for in.telnetd in PATH Date: Thu, 3 Mar 2022 01:53:30 -0600 Message-Id: <771f13e1343d63532bf559bffdb483a11667df3b.1646292328.git.development@efficientek.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <cover.1646292328.git.development@efficientek.com> References: <cover.1646292328.git.development@efficientek.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220302_235430_637568_2DF6F5D0 X-CRM114-Status: GOOD ( 11.27 ) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This allows in.telnetd to be run from non-standard installation locations and is especially useful when running a UML instance as an unprivileged user on a system where the administrator has not insta [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:f2e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-um.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-um>, <mailto:linux-um-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-um/> List-Post: <mailto:linux-um@lists.infradead.org> List-Help: <mailto:linux-um-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-um>, <mailto:linux-um-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" <linux-um-bounces@lists.infradead.org> Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series | [1/4] um: port_user: Search for in.telnetd in PATH | expand |
diff --git a/arch/um/drivers/port_user.c b/arch/um/drivers/port_user.c index 5b5b64cb1071..0625aa42041d 100644 --- a/arch/um/drivers/port_user.c +++ b/arch/um/drivers/port_user.c @@ -167,7 +167,7 @@ static void port_pre_exec(void *arg) int port_connection(int fd, int *socket, int *pid_out) { int new, err; - char *argv[] = { "/usr/sbin/in.telnetd", "-L", + char *argv[] = { "in.telnetd", "-L", OS_LIB_PATH "/uml/port-helper", NULL }; struct port_pre_exec_data data;
This allows in.telnetd to be run from non-standard installation locations and is especially useful when running a UML instance as an unprivileged user on a system where the administrator has not installed the in.telnetd binary. Signed-off-by: Glenn Washburn <development@efficientek.com> --- arch/um/drivers/port_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)