All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miloslav Trmac <mitr@redhat.com>
To: linux-audit@redhat.com
Subject: [PATCH] Renumber AUDIT_TTY_[GS]ET
Date: Wed, 15 Aug 2007 22:53:29 +0200	[thread overview]
Message-ID: <46C367C9.2030304@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 99 bytes --]

Renumber AUDIT_TTY_[GS]ET to avoid a conflict with netlink message types
already used in the wild.

[-- Attachment #2: audit-renumber.patch --]
[-- Type: text/x-patch, Size: 1013 bytes --]

From: Miloslav Trmac <mitr@redhat.com>

Renumber AUDIT_TTY_[GS]ET to avoid a conflict with netlink message types
already used in the wild.

Signed-off-by: Miloslav Trmac <mitr@redhat.com>
---
 audit.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/audit.h b/include/linux/audit.h
index 4bbd860..d6579df 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -63,8 +63,8 @@
 #define AUDIT_ADD_RULE		1011	/* Add syscall filtering rule */
 #define AUDIT_DEL_RULE		1012	/* Delete syscall filtering rule */
 #define AUDIT_LIST_RULES	1013	/* List syscall filtering rules */
-#define AUDIT_TTY_GET		1014	/* Get TTY auditing status */
-#define AUDIT_TTY_SET		1015	/* Set TTY auditing status */
+#define AUDIT_TTY_GET		1016	/* Get TTY auditing status */
+#define AUDIT_TTY_SET		1017	/* Set TTY auditing status */
 
 #define AUDIT_FIRST_USER_MSG	1100	/* Userspace messages mostly uninteresting to kernel */
 #define AUDIT_USER_AVC		1107	/* We filter this differently */

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2007-08-15 20:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15 20:53 Miloslav Trmac [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-08-23  9:19 [PATCH] Renumber AUDIT_TTY_[GS]ET Al Viro
2007-08-23 14:32 ` Arjan van de Ven
2007-08-23 19:31   ` Al Viro

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=46C367C9.2030304@redhat.com \
    --to=mitr@redhat.com \
    --cc=linux-audit@redhat.com \
    /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.