Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp507838rdb; Tue, 16 Jan 2024 07:14:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPp9Q7jSNZ9YuUtPKWuGDD9g1jvJGfBjp78kj9l2diEEQEl3S39w7ev5Drf8wyQanFTydl X-Received: by 2002:aa7:cd05:0:b0:559:bccb:589e with SMTP id b5-20020aa7cd05000000b00559bccb589emr171730edw.116.1705418060021; Tue, 16 Jan 2024 07:14:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705418060; cv=none; d=google.com; s=arc-20160816; b=V5gHdBzESBwmC8NkjspfAAWPB/qDzzMyg9MVAVeejkyfkUTmF3Msf4OFVOhLHNxsp2 n+kOVjDXkno9H2iJPXwBf5oKgM5LBtiT02/rvI75y/QbSDHM/6TrY2bnDkgXlQbSZwAC 76B6tgwofhs9MkroC6F7D+T8M1pkSoRLZjv5frSWc1jCZgeWfYXJJMpMfmyeauSOgMDe r/CwFU+Q0qqt6o6U5e1nDGwUunpaMgOpR9XZnegy01JLgIE5iuTkVk4+NbF7bode1viR 2nw1Q9tV/eFeXicEns3NmdNv6NDxvYEGd3XkMEbEHcp2zliD/JvjtOzuwZrR1wNpwchQ Toww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jftoHCEH1MhBQleUkWhLmv2sCGVwbJV0oOypJymPJko=; fh=dhDS92r6bvGSZ959JqypipYXm4NDVTllwle/IUEgDAc=; b=O57tMeal115Wln3gQqbRgHt5A29Ph1waQr//nVX0ALh6rFqbp5qQMTP7Jm6zU+3Lri /5KNbxkTfdVl074zOfOHBr9UbxDQmO1T2n4xo0+OoAV0dZ4F5zCi/NOzK/hFmD7VgiQ2 PjNhfIoWDDH3QWfVc0lfG456c1XrOcT8uWMFTqQGrq+V210ZuzbvOUcIjVwb9waKgLnm k7rCKddoYgjeIkK5lePYk5JkQZS9HSfCxKmtq8DHU1tLF/rmtdXSywnhl2YQjIMsX6GD diPas3T67rNUVqXLAL9HQlhEYSn5jtRoDHynyJMVwpICzuSjBptp/2N/TGm2vK82R0Di hqUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ElxQ3hwZ; spf=pass (google.com: domain of linux-kernel+bounces-27504-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27504-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id m19-20020a509313000000b00559b39cbe68si495110eda.142.2024.01.16.07.14.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 07:14:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27504-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ElxQ3hwZ; spf=pass (google.com: domain of linux-kernel+bounces-27504-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27504-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B59C81F2107C for ; Tue, 16 Jan 2024 15:14:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ADD7D1BF4F; Tue, 16 Jan 2024 15:14:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ElxQ3hwZ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCFF91BF2B; Tue, 16 Jan 2024 15:14:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DC7EC433F1; Tue, 16 Jan 2024 15:14:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705418050; bh=kqWQQUuaJdff5I0uGZCylWnTssX2s6YVxSu7iKtNMLU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ElxQ3hwZ20gajxxte3wUCNKg2VAhCCxGGHYpl4kbOsIOLp3oQ7GIErbk9QHGrY8aN UuOfTcym1MVv82UdEbAEWbuwAcz3DrqcXk4QWMHvY9bPSjVkuiLU7m0loLwfgHxDKf GJSdyTLsuRhjELnO1fMr22KG/bF3YuzmMQrQGsrwDxbFZA3fgc8Hbp1xRVbVQiuCKh MyPywJvqUPmFkdKChqjP0ee5crxJfcSnQSayrDTNFekXJis7ZMM8T3zstphJvVGM2Z jrnMkWTNsrqqBOTIx/miY2qjPuLJKPl8FseBR+5KQdnkqFKB+Anxwt1afUX8qyuxrE 7qAsarSBaNUjg== Date: Tue, 16 Jan 2024 16:14:06 +0100 From: Alejandro Colomar To: Petr Vorel Cc: linux-man@vger.kernel.org, Maciej =?utf-8?Q?=C5=BBenczykowski?= , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, Matthias Gerstner , Avinesh Kumar Subject: Re: [PATCH 1/1] socket.7: Mention CAP_NET_RAW on SO_MARK Message-ID: References: <20240116110418.2577798-1-pvorel@suse.cz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bhiuGhNFMyNI74lX" Content-Disposition: inline In-Reply-To: <20240116110418.2577798-1-pvorel@suse.cz> --bhiuGhNFMyNI74lX Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Tue, 16 Jan 2024 16:14:06 +0100 From: Alejandro Colomar To: Petr Vorel Cc: linux-man@vger.kernel.org, Maciej =?utf-8?Q?=C5=BBenczykowski?= , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, Matthias Gerstner , Avinesh Kumar Subject: Re: [PATCH 1/1] socket.7: Mention CAP_NET_RAW on SO_MARK Hi Petr, On Tue, Jan 16, 2024 at 12:04:18PM +0100, Petr Vorel wrote: > Added in 079925cce1d0 ("net: allow SO_MARK with CAP_NET_RAW") in v5.17. >=20 > Signed-off-by: Petr Vorel Patch applied. Thanks! Have a lovely day, Alex > --- > man7/socket.7 | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/man7/socket.7 b/man7/socket.7 > index 3ff8fe51b..3ebfc770b 100644 > --- a/man7/socket.7 > +++ b/man7/socket.7 > @@ -614,7 +614,9 @@ Changing the mark can be used for mark-based > routing without netfilter or for packet filtering. > Setting this option requires the > .B CAP_NET_ADMIN > -capability. > +or > +.B CAP_NET_RAW > +(since Linux 5.17) capability. > .TP > .B SO_OOBINLINE > If this option is enabled, > --=20 > 2.43.0 >=20 --=20 Looking for a remote C programming job at the moment. --bhiuGhNFMyNI74lX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6jqH8KTroDDkXfJAnowa+77/2zIFAmWmnT4ACgkQnowa+77/ 2zKrpw//eDslC0PUvAEIgtFOQAbGv+aFzPcmugouIlpPzK7ybnXFA2s41LQoEm/f oRI1LtANL9BIC4M+eq0sNkevqjkTTHM9Gc++8MfqAfvvOhrqzpsVaHgMGcd7ys+J xdvukkRmL0M/MdhKsn/IDJDTDwmmVpxFEyznNmjvKV1ZwrtUGnJNX9wSScZ9kkD8 nXDCbDg33cRKRHyOh09uBx4eqksznsJwBXPQuQtqVYLrXot8nAQcnsRifCZcpR8y mn/m+pjFthQ98EJozUHtzans0hTjyBGR28ZaeHgjhko0cYwVO7Dj6wzdSsem8a9m nmnotmPd7Y+6i+qpMdinJmHGBtIrb43u3I/iLapN7liP4vtkvCd1nimzXMeKYfdV xUUk56YU7zbVCkdTFbX1lUkgAgUt2VsJZiM4CD/9u8ikiWKNxeNJuXK6NuMzL2td RjrLYUcpU4pCSKEnKKi4273CWS94z9gb8sRpfGdNOr8bYXkn+aYsrMCZnZ6kftuw QVIBU35zFMaB+O7b9flRupG7ICu0kWKs9aWi8/XUXBFz+XKOHW3VAAs6c3uXiYfb ylCcip+BX5E0n6zDpyO7SreAWFw/lxXJ+5bZRuDA3JzlcJ73C/xnhoj+8srT+xem i9QiufXjy3L9qtmQbKSnLpQJUBYSXxM1NzqOVMQHXhA0m6dpg0k= =UOiT -----END PGP SIGNATURE----- --bhiuGhNFMyNI74lX--