From: Eric Paris <eparis@redhat.com>
To: torvalds@linux-foundation.org
Cc: linux-audit@redhat.com, linux-kernel@vger.kernel.org,
Eric Paris <eparis@redhat.com>,
Andy Lutomirski <luto@amacapital.net>
Subject: [PATCH 2/2] audit: do not select HAVE_ARCH_AUDITSYSCALL on x32
Date: Wed, 28 May 2014 23:09:59 -0400 [thread overview]
Message-ID: <1401332999-15167-2-git-send-email-eparis@redhat.com> (raw)
In-Reply-To: <1401332999-15167-1-git-send-email-eparis@redhat.com>
When x32 was introduced it assumed that it would get syscall audit for
free (since it works for x86 and x86_64). However, the audit system
assumed that the syscall table has less that 2048 entries. This is not
the case for x32 (or it is, kinda sorta)
Since audit syscall does not work on x32 stop selecting it.
Signed-off-by: Eric Paris <eparis@redhat.com>
Cc: Andy Lutomirski <luto@amacapital.net>
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 56f47ca..e11c4da 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -125,7 +125,7 @@ config X86
select RTC_LIB
select HAVE_DEBUG_STACKOVERFLOW
select HAVE_IRQ_EXIT_ON_IRQ_STACK if X86_64
- select HAVE_ARCH_AUDITSYSCALL
+ select HAVE_ARCH_AUDITSYSCALL if !X86_X32
config INSTRUCTION_DECODER
def_bool y
--
1.9.0
next prev parent reply other threads:[~2014-05-29 3:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-29 3:09 [PATCH 1/2] auditsc: audit_krule mask accesses need bounds checking Eric Paris
2014-05-29 3:09 ` Eric Paris [this message]
2014-06-09 22:30 ` Greg KH
2014-06-09 22:35 ` Andy Lutomirski
2014-06-09 22:46 ` Greg KH
2014-06-09 22:55 ` Andy Lutomirski
2014-06-10 0:32 ` Greg KH
2014-06-10 0:30 ` Andy Lutomirski
2014-06-10 0:37 ` Greg KH
2014-06-09 23:35 ` Josh Boyer
2014-06-10 0:31 ` Greg KH
2014-06-09 22:53 ` Linus Torvalds
2014-06-09 22:56 ` Andy Lutomirski
2014-06-09 23:36 ` Linus Torvalds
2014-06-10 12:50 ` Eric Paris
2014-06-10 15:42 ` Linus Torvalds
2014-06-10 15:48 ` Linus Torvalds
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=1401332999-15167-2-git-send-email-eparis@redhat.com \
--to=eparis@redhat.com \
--cc=linux-audit@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox