* [PATCH 1/1] socket.7: Mention CAP_NET_RAW on SO_MARK @ 2024-01-16 11:04 Petr Vorel 2024-01-16 15:14 ` Alejandro Colomar 0 siblings, 1 reply; 5+ messages in thread From: Petr Vorel @ 2024-01-16 11:04 UTC (permalink / raw) To: linux-man Cc: Petr Vorel, Maciej Żenczykowski, Alejandro Colomar, linux-kernel, linux-api, Matthias Gerstner, Avinesh Kumar Added in 079925cce1d0 ("net: allow SO_MARK with CAP_NET_RAW") in v5.17. Signed-off-by: Petr Vorel <pvorel@suse.cz> --- man7/socket.7 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, -- 2.43.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] socket.7: Mention CAP_NET_RAW on SO_MARK 2024-01-16 11:04 [PATCH 1/1] socket.7: Mention CAP_NET_RAW on SO_MARK Petr Vorel @ 2024-01-16 15:14 ` Alejandro Colomar 2024-01-17 9:14 ` Petr Vorel 0 siblings, 1 reply; 5+ messages in thread From: Alejandro Colomar @ 2024-01-16 15:14 UTC (permalink / raw) To: Petr Vorel Cc: linux-man, Maciej Żenczykowski, linux-kernel, linux-api, Matthias Gerstner, Avinesh Kumar [-- Attachment #1: Type: text/plain, Size: 910 bytes --] 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. > > Signed-off-by: Petr Vorel <pvorel@suse.cz> Patch applied. Thanks! Have a lovely day, Alex > --- > man7/socket.7 | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > 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, > -- > 2.43.0 > -- <https://www.alejandro-colomar.es/> Looking for a remote C programming job at the moment. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] socket.7: Mention CAP_NET_RAW on SO_MARK 2024-01-16 15:14 ` Alejandro Colomar @ 2024-01-17 9:14 ` Petr Vorel 2024-01-17 12:02 ` Alejandro Colomar 0 siblings, 1 reply; 5+ messages in thread From: Petr Vorel @ 2024-01-17 9:14 UTC (permalink / raw) To: Alejandro Colomar Cc: linux-man, Maciej Żenczykowski, linux-kernel, linux-api, Matthias Gerstner, Avinesh Kumar Hi Alex, > 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. > > Signed-off-by: Petr Vorel <pvorel@suse.cz> > Patch applied. Thanks! Thank you! BTW I don't see this patch in git tree [1], maybe you just haven't push yet. Kind regards, Petr [1] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/ > Have a lovely day, > Alex > > --- > > man7/socket.7 | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > 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, > > -- > > 2.43.0 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] socket.7: Mention CAP_NET_RAW on SO_MARK 2024-01-17 9:14 ` Petr Vorel @ 2024-01-17 12:02 ` Alejandro Colomar 2024-01-17 12:08 ` Petr Vorel 0 siblings, 1 reply; 5+ messages in thread From: Alejandro Colomar @ 2024-01-17 12:02 UTC (permalink / raw) To: Petr Vorel Cc: linux-man, Maciej Żenczykowski, linux-kernel, linux-api, Matthias Gerstner, Avinesh Kumar [-- Attachment #1: Type: text/plain, Size: 1458 bytes --] Hi Petr, On Wed, Jan 17, 2024 at 10:14:52AM +0100, Petr Vorel wrote: > Hi Alex, > > > 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. > > > > Signed-off-by: Petr Vorel <pvorel@suse.cz> > > > Patch applied. Thanks! > > Thank you! BTW I don't see this patch in git tree [1], maybe you just haven't > push yet. That's it. I'm first pushing them to a 'contrib' branch (similar to Linux 'next') in my own server[1], and after one day or so I push to master. That buffering allows me to catch some mistakes. [1]: <https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/log/?h=contrib> $ git log --all --graph --oneline -10 * 0c118822f (alx/contrib, contrib) open.2: srcfix * 24347d22a syscalls.2: ffix * 9e04cb40f mremap.2: wfix * 3a271d5b8 fts.3, div_t.3type: ffix * 527f31b9f socket.7: Mention CAP_NET_RAW on SO_MARK | * 71c25f15d (alx/MR, MR) man*/: ffix (MR.sed) |/ * d82ce270c (HEAD -> master, korg/master, alx/main, main) locale.5: tfix * f65154cba cpuid.4: Note which CPUs don't support CPUID and what happens * f98168310 sched_getcpu.3: tfix * 26cdb3ebb faccessat(2), utimensat(2): Document AT_EMPTY_PATH flag I'll push in a moment to master. Have a lovely day, Alex -- <https://www.alejandro-colomar.es/> Looking for a remote C programming job at the moment. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] socket.7: Mention CAP_NET_RAW on SO_MARK 2024-01-17 12:02 ` Alejandro Colomar @ 2024-01-17 12:08 ` Petr Vorel 0 siblings, 0 replies; 5+ messages in thread From: Petr Vorel @ 2024-01-17 12:08 UTC (permalink / raw) To: Alejandro Colomar Cc: linux-man, Maciej Żenczykowski, linux-kernel, linux-api, Matthias Gerstner, Avinesh Kumar > Hi Petr, > On Wed, Jan 17, 2024 at 10:14:52AM +0100, Petr Vorel wrote: > > Hi Alex, > > > 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. > > > > Signed-off-by: Petr Vorel <pvorel@suse.cz> > > > Patch applied. Thanks! > > Thank you! BTW I don't see this patch in git tree [1], maybe you just haven't > > push yet. > That's it. I'm first pushing them to a 'contrib' branch (similar to > Linux 'next') in my own server[1], and after one day or so I push to > master. That buffering allows me to catch some mistakes. Thanks a lot for info! > [1]: <https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/log/?h=contrib> Ah, maybe my patch to MAINTAINERS was wrong, please push the correct tree https://lore.kernel.org/linux-man/20240117091903.2668916-1-pvorel@suse.cz/ > $ git log --all --graph --oneline -10 > * 0c118822f (alx/contrib, contrib) open.2: srcfix > * 24347d22a syscalls.2: ffix > * 9e04cb40f mremap.2: wfix > * 3a271d5b8 fts.3, div_t.3type: ffix > * 527f31b9f socket.7: Mention CAP_NET_RAW on SO_MARK > | * 71c25f15d (alx/MR, MR) man*/: ffix (MR.sed) > |/ > * d82ce270c (HEAD -> master, korg/master, alx/main, main) locale.5: tfix > * f65154cba cpuid.4: Note which CPUs don't support CPUID and what happens > * f98168310 sched_getcpu.3: tfix > * 26cdb3ebb faccessat(2), utimensat(2): Document AT_EMPTY_PATH flag > I'll push in a moment to master. Thanks! Kind regards, Petr > Have a lovely day, > Alex ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-01-17 12:08 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-01-16 11:04 [PATCH 1/1] socket.7: Mention CAP_NET_RAW on SO_MARK Petr Vorel 2024-01-16 15:14 ` Alejandro Colomar 2024-01-17 9:14 ` Petr Vorel 2024-01-17 12:02 ` Alejandro Colomar 2024-01-17 12:08 ` Petr Vorel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).