* [PATCH] Adding SO_MARK for socket(7)
@ 2012-06-30 7:19 Elie De Brauwer
[not found] ` <4FEEA889.1080602-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Elie De Brauwer @ 2012-06-30 7:19 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
Hello,
In attachment a patch which adds a section on SO_MARK in man 7 socket,
this was already marked in the todo of the page and has a bugzilla entry
( https://bugzilla.kernel.org/show_bug.cgi?id=16461 ) which can be
closed as well.
my 2 cents
E.
--
Elie De Brauwer
[-- Attachment #2: 0001-Added-entry-for-SO_MARK-fixes-bug-16461.patch --]
[-- Type: text/x-patch, Size: 1205 bytes --]
>From b350b4f4e368c001f98604f346eb8685eb180649 Mon Sep 17 00:00:00 2001
From: Elie De Brauwer <eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Sat, 30 Jun 2012 09:15:00 +0200
Subject: [PATCH] Added entry for SO_MARK, fixes bug 16461
Signed-off-by: Elie De Brauwer <eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
man7/socket.7 | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/man7/socket.7 b/man7/socket.7
index a0e186a..ee282f3 100644
--- a/man7/socket.7
+++ b/man7/socket.7
@@ -19,7 +19,6 @@
.\" The following are not yet documented:
.\" SO_PEERNAME
.\" SO_TIMESTAMPNS
-.\" SO_MARK (see https://bugzilla.kernel.org/show_bug.cgi?id=16461)
.\" SO_TIMESTAMPING (2.6.30)
.\" SO_RXQ_OVFL (2.6.33)
.\"
@@ -320,6 +319,12 @@ When the socket is closed as part of
.BR exit (2),
it always lingers in the background.
.TP
+.B SO_MARK " (since Linux 2.6.25)"
+Allows the specification of a mark which gets set on all outgoing
+messages (similar as the netfilter MARK target. This requires the
+.B CAP_NET_ADMIN
+capability.
+.TP
.B SO_OOBINLINE
If this option is enabled,
out-of-band data is directly placed into the receive data stream.
--
1.7.10
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Adding SO_MARK for socket(7)
[not found] ` <4FEEA889.1080602-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2012-07-07 5:14 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2012-07-07 5:14 UTC (permalink / raw)
To: Elie De Brauwer; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
On Sat, Jun 30, 2012 at 9:19 AM, Elie De Brauwer
<eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hello,
>
> In attachment a patch which adds a section on SO_MARK in man 7 socket, this
> was already marked in the todo of the page and has a bugzilla entry (
> https://bugzilla.kernel.org/show_bug.cgi?id=16461 ) which can be closed as
> well.
Elie,
Thanks -- I've applied a patch that is close to the SO_MARK text in
https://bugzilla.kernel.org/show_bug.cgi?id=16461.
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-07 5:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-30 7:19 [PATCH] Adding SO_MARK for socket(7) Elie De Brauwer
[not found] ` <4FEEA889.1080602-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-07-07 5:14 ` Michael Kerrisk (man-pages)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox