Adding SO_MARK for socket(7)
PATCH 1/1 Adding SO_MARK for socket(7)
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.
Signature · 1 line
Elie De Brauwer
Quoted 1 line
From
b350b4f4e368c001f98604f346eb8685eb180649Mon Sep 17 00:00:00 2001
From: Elie De Brauwer <[email protected]>
Date: Sat, 30 Jun 2012 09:15:00 +0200
Subject: [PATCH] Added entry for SO_MARK, fixes bug 16461
--- man7/socket.7 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
man7/socket.7 +6 -1
@@ -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.
Signature · 1 line
1.7.10
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Elie De Brauwer
Hello,
In attachment a patch which adds a section on
SO_MARKin 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
Signature · 7 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html