Re: [PATCH 1/1] socket.7: Mention CAP_NET_RAW on SO_MARK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>

> 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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux