From: Elie De Brauwer <eliedebrauwer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] Adding SO_MARK for socket(7)
Date: Sat, 30 Jun 2012 09:19:37 +0200 [thread overview]
Message-ID: <4FEEA889.1080602@gmail.com> (raw)
[-- 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
next reply other threads:[~2012-06-30 7:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-30 7:19 Elie De Brauwer [this message]
[not found] ` <4FEEA889.1080602-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-07-07 5:14 ` [PATCH] Adding SO_MARK for socket(7) Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FEEA889.1080602@gmail.com \
--to=eliedebrauwer-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.