public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
  • * [PATCH v4 0/1] audit: generic compat system call support
           [not found] ` <1389945795-4255-1-git-send-email-takahiro.akashi@linaro.org>
           [not found]   ` <1389945795-4255-2-git-send-email-takahiro.akashi@linaro.org>
    @ 2014-02-03  6:55   ` AKASHI Takahiro
      2014-02-03  6:55     ` [PATCH v4 1/1] audit: Add generic compat syscall support AKASHI Takahiro
      2014-03-15  5:47     ` [PATCH_v5] audit: generic compat system call support AKASHI Takahiro
      1 sibling, 2 replies; 8+ messages in thread
    From: AKASHI Takahiro @ 2014-02-03  6:55 UTC (permalink / raw)
      To: viro, eparis, rgb
      Cc: catalin.marinas, will.deacon, arndb, linux-arm-kernel,
    	linaro-kernel, linux-kernel, linux-audit, patches,
    	AKASHI Takahiro
    
    Arm64 supports 32-bit mode(AArch32) and 64-bit mode(AArch64).
    To enable audit on arm64, we want to use lib/audit.c and re-work it
    to support compat system calls as well without copying it under
    arch sub-directory.
    
    Since this patch is implemented in much the same way as on existing
    bi-architectures (ie. ppc, s390, sparc and x86), it's not difficult
    for them to utilize this generic code instead of their own implementation.
    
    The code was tested on armv8 fast model with 64-bit and 32-bit userland
    by using modified audit-test-code. As this patch is mandatory for my
    "system call audit support for arm64" patch, please review it as well
    for better understandings.
    
    Changes v2 -> v3:
    * Specify AUDIT_CLASS_XYZ_32 instead of AUDIT_CLASS_XYZ when registering
      compat syscalls (bug fix)
    
    Changes v3 -> v4:
    * Add CONFIG_AUDIT_COMPAT_GENERIC to compile in compat_audit.c
    * Re-define audit_is_compat() in generic way in order to eliminate
      necessity of asm/audit.h.
    
    AKASHI Takahiro (1):
      audit: Add generic compat syscall support
    
     include/linux/audit.h      |    8 +++++++
     include/uapi/linux/audit.h |    6 ++++++
     lib/Kconfig                |    5 +++++
     lib/Makefile               |    1 +
     lib/audit.c                |   15 ++++++++++++-
     lib/compat_audit.c         |   50 ++++++++++++++++++++++++++++++++++++++++++++
     6 files changed, 84 insertions(+), 1 deletion(-)
     create mode 100644 lib/compat_audit.c
    
    -- 
    1.7.9.5
    
    
    ^ permalink raw reply	[flat|nested] 8+ messages in thread
  • * [PATCH v3] audit: generic compat system call support
    @ 2014-01-17  8:11 AKASHI Takahiro
      2014-01-17  8:11 ` [PATCH v3] audit: Add generic compat syscall support AKASHI Takahiro
      0 siblings, 1 reply; 8+ messages in thread
    From: AKASHI Takahiro @ 2014-01-17  8:11 UTC (permalink / raw)
      To: linux-kernel; +Cc: AKASHI Takahiro
    
    Arm64 supports 32-bit mode(AArch32) and 64-bit mode(AArch64).
    To enable audit on arm64, we want to use lib/audit.c and re-work it
    to support compat system calls as well without copying it under
    arch sub-directory.
    
    So this patch is mandatory for my "system call audit support for arm64"
    patch. Please review it as well for better understandings.
    
    This code was tested on armv8 fast model with 64-bit and 32-bit userland
    by using modified audit-test-code.
    
    Changes v1 -> v2:
    * Specify AUDIT_CLASS_XYZ_32 instead of AUDIT_CLASS_XYZ when registering
      compat syscalls (bug fix)
    
    
    AKASHI Takahiro (1):
      audit: Add generic compat syscall support
    
     include/linux/audit.h |    9 +++++++++
     lib/Makefile          |    3 +++
     lib/audit.c           |   17 +++++++++++++++++
     lib/compat_audit.c    |   51 +++++++++++++++++++++++++++++++++++++++++++++++++
     4 files changed, 80 insertions(+)
     create mode 100644 lib/compat_audit.c
    
    -- 
    1.7.9.5
    
    
    ^ permalink raw reply	[flat|nested] 8+ messages in thread

    end of thread, other threads:[~2014-03-16 19:14 UTC | newest]
    
    Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1384854235-6567-1-git-send-email-takahiro.akashi@linaro.org>
         [not found] ` <1389945795-4255-1-git-send-email-takahiro.akashi@linaro.org>
         [not found]   ` <1389945795-4255-2-git-send-email-takahiro.akashi@linaro.org>
         [not found]     ` <20140123145119.GE27520@arm.com>
         [not found]       ` <52E5F56F.2030502@linaro.org>
         [not found]         ` <20140127121505.GD32608@arm.com>
    2014-01-29  5:58           ` [PATCH v3] audit: Add generic compat syscall support AKASHI Takahiro
    2014-01-30 18:07             ` Catalin Marinas
    2014-02-03  6:55   ` [PATCH v4 0/1] audit: generic compat system call support AKASHI Takahiro
    2014-02-03  6:55     ` [PATCH v4 1/1] audit: Add generic compat syscall support AKASHI Takahiro
    2014-03-15  5:47     ` [PATCH_v5] audit: generic compat system call support AKASHI Takahiro
    2014-03-15  5:48       ` [PATCH_v5] audit: Add generic compat syscall support AKASHI Takahiro
    2014-03-16 19:13         ` Richard Guy Briggs
    2014-01-17  8:11 [PATCH v3] audit: generic compat system call support AKASHI Takahiro
    2014-01-17  8:11 ` [PATCH v3] audit: Add generic compat syscall support AKASHI Takahiro
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox