From nobody Sun Nov 24 18:42:05 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1721048204; cv=none; d=zohomail.com; s=zohoarc; b=iVmySGOCOGM48WaytENpGCPfuGL8ge+cRDFpeBN1dd8X1THsNUeXqXxTXLJapw63I99b9rvHUTOvcvEGiqWsThTdNNggtN9sWZHbw+9M9nj9enKIZ/2+PjUEb4hKoYkrDypqbemP7Psl9KFofBHnxDMRfG3oAzMeXnDYwKPN+Wg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1721048204; h=Content-Type:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=gWnaerq4VqejhtI3J8AaIYemLKLE4tyDuanVqba84gI=; b=agT+H+QdaPnnN5P8RByEutFSxJfafflx7vTAYvr0LGndj7NWdpbDly5wUVB18XnqImJL/hzX+5WkDwcIG+yz2HcogeQb1rZyPMHcu1IT8S2oCmcG0tIxqVx5OdyCk4nkp3xFFX7j43zEuF7jq2eabWbPfFAc0L1bAINao2+OaG0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1721048204005583.5581766017199; Mon, 15 Jul 2024 05:56:44 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTLF6-0003NB-5V; Mon, 15 Jul 2024 08:55:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sTINH-0000hw-Nz for qemu-devel@nongnu.org; Mon, 15 Jul 2024 05:52:03 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sTINF-0007Bk-Mm for qemu-devel@nongnu.org; Mon, 15 Jul 2024 05:52:03 -0400 Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-456-H91ii6S0PZy851mZPf0B1A-1; Mon, 15 Jul 2024 05:50:34 -0400 Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-2c9f6677d8eso4489168a91.2 for ; Mon, 15 Jul 2024 02:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721037120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=gWnaerq4VqejhtI3J8AaIYemLKLE4tyDuanVqba84gI=; b=WuqhW8pjOB+WBGCNemHLwS23mTeOjX4DNlufCkTM55otJaiinxgSWL0VMNDIuOmUZy5l6n GN87IzGVVRHVbsMhlbovGvDtNmhnRNZa1O37zbRrrFi4s1RrWmWLYUHq5/kn0D2ZPJyBgl BWS16eIUDvWLtpFA6UbY9Cd+l9GsHRk= X-MC-Unique: H91ii6S0PZy851mZPf0B1A-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721037032; x=1721641832; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gWnaerq4VqejhtI3J8AaIYemLKLE4tyDuanVqba84gI=; b=cuSQTdl4CCkH1nR5CmYI2I4KP/aZHsxcxHqLvPDj6lEhfQWo1QuB2+a9yoh3spvPgU Gmopwj3oC5WN3Ni5CALB2YNp1OccQn2OUPbU1of6PO8tVpVKHXLAldgqf2cyeYhW53nr uGBajZLa7Z9K96og3o4f2VZ7eQfkneGKoz5njAvRRw6vt8+tpKuD7ksnWTIfdtBdMQxN /F7jAdvCEWfGMmCH8voXYq/WPBv8OF7lA9gj6WSiRFM1flh/3LBGTlkdG3rtO2j2heoS GJQtSPkWUr7bfaFp9+0SdVIHNy0Lt0HjAwpsb40JPS0bJB3wyrT5IH7c7ydwSXqslP3y /WNg== X-Gm-Message-State: AOJu0YyPHpdc6k6yR/DGL2zg8lHDHYWXCkLCA9f5iEhdPS7b+m8dz+ko pHGpzKzL8dfWiEdfOm8Vc06I1jK3uZTe49Xgw2C+BK4iHs2eryc39bInvs06RAVhquK6Lb1n2PI T2igD2IAQum9OLspABe4c7Aly6Jgs/nSquE7S3iXICoGKLSA5HGYONDBZ3mCbcAEXXM/0V4JAWr kwuFosYwSDpQG21H9J3FCWX/kyRq1NmX4MkkTCFcFx X-Received: by 2002:a17:90a:43c6:b0:2c8:660d:cc2 with SMTP id 98e67ed59e1d1-2ca35be1c8dmr15646111a91.4.1721037032514; Mon, 15 Jul 2024 02:50:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH8ergCTm9xuzsqmpTL5Iplp1c0LNwcKfBkoT1V9+j11zXfBG/3hgqXql7Z/bzwekZbpehDIdOfu63AEJhmfAk= X-Received: by 2002:a17:90a:43c6:b0:2c8:660d:cc2 with SMTP id 98e67ed59e1d1-2ca35be1c8dmr15646105a91.4.1721037032196; Mon, 15 Jul 2024 02:50:32 -0700 (PDT) MIME-Version: 1.0 From: Boqiao Fu Date: Mon, 15 Jul 2024 17:50:21 +0800 Message-ID: Subject: [PATCH] Manpage: Update description of 'user=username' for '-run-with' To: qemu-devel@nongnu.org Cc: Thomas Huth Content-Type: multipart/alternative; boundary="000000000000f31df1061d4628d4" Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=bfu@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 15 Jul 2024 08:55:45 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1721048204480116600 Content-Transfer-Encoding: quoted-printable --000000000000f31df1061d4628d4 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 RnJvbTogQm9xaWFvIEZ1IDxiZnVAcmVkaGF0LmNvbT4KRGF0ZTogTW9uLCAxNSBKdWwgMjAyNCAx NzowNDozMiArMDgwMApTdWJqZWN0OiBbUEFUQ0hdIE1hbnBhZ2U6IFVwZGF0ZSBkZXNjcmlwdGlv biBvZi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pbmcgZ3Vl c3QgZXhlY3V0aW9uLgorICAgICh2aWEgdWlkOmdpZCkgaW1tZWRpYXRlbHkgYmVmb3JlIHN0YXJ0 aW5nIGd1ZXN0IGV4ZWN1dGlvbi4gRWZmZWN0aXZlbHkKKyAgICB1c2VzIHRoZSBzZXR1aWQgc3lz dGVtIGNhbGwgdG8gc3dpdGNoIHRvIGFub3RoZXIgdXNlciBpZC4KIEVSU1QKICNlbmRpZgoKLS09 MjAKMi40My4w --000000000000f31df1061d4628d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
From: Boqiao Fu <bfu@redhat.com>
Date: Mon, 15 Jul 2024 17:04:32 +0800
Subject= : [PATCH] Manpage: Update description of 'user=3Dusername' for
= =C2=A0'-run-with'

Manpage: the description of '-runs'= ; didn't show this parameter will use
setuid, so the customer might = get confused when 'elevateprivileges=3Ddeny' is
used. Since '= ;-runas' is going to be deprecated and replaced by this
parameter in= the coming qemu9.1, add the message here.

Signed-off-by: Boqiao Fu = <bfu@redhat.com>
---
=C2= =A0qemu-options.hx | 3 ++-
=C2=A01 file changed, 2 insertions(+), 1 dele= tion(-)

diff --git a/qemu-options.hx b/qemu-options.hx
index ad65= 21ef5e..264525ed16 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx=
@@ -5025,7 +5025,8 @@ SRST
=C2=A0
=C2=A0 =C2=A0 =C2=A0``user=3Dus= ername`` or ``user=3Duid:gid`` can be used to drop root privileges
=C2= =A0 =C2=A0 =C2=A0by switching to the specified user (via username) or user = and group
- =C2=A0 =C2=A0(via uid:gid) immediately before starting guest= execution.
+ =C2=A0 =C2=A0(via uid:gid) immediately before starting gue= st execution. Effectively
+ =C2=A0 =C2=A0uses the setuid system call to = switch to another user id.
=C2=A0ERST
=C2=A0#endif
=C2=A0
-- 2.43.0
--000000000000f31df1061d4628d4--