All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org, linux-next@vger.kernel.org,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-arm-kernel@lists.infradead.org, mszeredi@suse.cz,
	tytso@mit.edu
Subject: Re: [PATCH] ARM: Wire up the renameat2() syscall
Date: Wed, 23 Apr 2014 17:03:44 +0300	[thread overview]
Message-ID: <5357C840.1000701@ti.com> (raw)
In-Reply-To: <1398150338-23475-1-git-send-email-peter.ujfalusi@ti.com>

On 04/22/2014 10:05 AM, Peter Ujfalusi wrote:
> The new renameat2() system call was only wired up for ARM causing:

obviously I mean that "system call was _not_ wired up for ARM causing"

I can send the patch again with a fixed up commit message...

>  CALL    /home/ujfalusi/work/kernel/kernel.org-next-linux-next/scripts/checksyscalls.sh
> <stdin>:1232:2: warning: #warning syscall renameat2 not implemented [-Wcpp]
> 
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
> Hi,
> 
> I have noticed this with linux-next.
> 
> Regards,
> Peter
> 
>  arch/arm/include/uapi/asm/unistd.h | 1 +
>  arch/arm/kernel/calls.S            | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h
> index fb5584d0cc05..ba94446c72d9 100644
> --- a/arch/arm/include/uapi/asm/unistd.h
> +++ b/arch/arm/include/uapi/asm/unistd.h
> @@ -408,6 +408,7 @@
>  #define __NR_finit_module		(__NR_SYSCALL_BASE+379)
>  #define __NR_sched_setattr		(__NR_SYSCALL_BASE+380)
>  #define __NR_sched_getattr		(__NR_SYSCALL_BASE+381)
> +#define __NR_renameat2			(__NR_SYSCALL_BASE+382)
>  
>  /*
>   * This may need to be greater than __NR_last_syscall+1 in order to
> diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S
> index 166e945de832..8f51bdcdacbb 100644
> --- a/arch/arm/kernel/calls.S
> +++ b/arch/arm/kernel/calls.S
> @@ -391,6 +391,7 @@
>  		CALL(sys_finit_module)
>  /* 380 */	CALL(sys_sched_setattr)
>  		CALL(sys_sched_getattr)
> +		CALL(sys_renameat2)
>  #ifndef syscalls_counted
>  .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
>  #define syscalls_counted
> 


-- 
Péter

WARNING: multiple messages have this Message-ID (diff)
From: peter.ujfalusi@ti.com (Peter Ujfalusi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: Wire up the renameat2() syscall
Date: Wed, 23 Apr 2014 17:03:44 +0300	[thread overview]
Message-ID: <5357C840.1000701@ti.com> (raw)
In-Reply-To: <1398150338-23475-1-git-send-email-peter.ujfalusi@ti.com>

On 04/22/2014 10:05 AM, Peter Ujfalusi wrote:
> The new renameat2() system call was only wired up for ARM causing:

obviously I mean that "system call was _not_ wired up for ARM causing"

I can send the patch again with a fixed up commit message...

>  CALL    /home/ujfalusi/work/kernel/kernel.org-next-linux-next/scripts/checksyscalls.sh
> <stdin>:1232:2: warning: #warning syscall renameat2 not implemented [-Wcpp]
> 
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
> Hi,
> 
> I have noticed this with linux-next.
> 
> Regards,
> Peter
> 
>  arch/arm/include/uapi/asm/unistd.h | 1 +
>  arch/arm/kernel/calls.S            | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h
> index fb5584d0cc05..ba94446c72d9 100644
> --- a/arch/arm/include/uapi/asm/unistd.h
> +++ b/arch/arm/include/uapi/asm/unistd.h
> @@ -408,6 +408,7 @@
>  #define __NR_finit_module		(__NR_SYSCALL_BASE+379)
>  #define __NR_sched_setattr		(__NR_SYSCALL_BASE+380)
>  #define __NR_sched_getattr		(__NR_SYSCALL_BASE+381)
> +#define __NR_renameat2			(__NR_SYSCALL_BASE+382)
>  
>  /*
>   * This may need to be greater than __NR_last_syscall+1 in order to
> diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S
> index 166e945de832..8f51bdcdacbb 100644
> --- a/arch/arm/kernel/calls.S
> +++ b/arch/arm/kernel/calls.S
> @@ -391,6 +391,7 @@
>  		CALL(sys_finit_module)
>  /* 380 */	CALL(sys_sched_setattr)
>  		CALL(sys_sched_getattr)
> +		CALL(sys_renameat2)
>  #ifndef syscalls_counted
>  .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
>  #define syscalls_counted
> 


-- 
P?ter

WARNING: multiple messages have this Message-ID (diff)
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: <linux-kernel@vger.kernel.org>, <linux-next@vger.kernel.org>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	<linux-arm-kernel@lists.infradead.org>, <mszeredi@suse.cz>,
	<tytso@mit.edu>
Subject: Re: [PATCH] ARM: Wire up the renameat2() syscall
Date: Wed, 23 Apr 2014 17:03:44 +0300	[thread overview]
Message-ID: <5357C840.1000701@ti.com> (raw)
In-Reply-To: <1398150338-23475-1-git-send-email-peter.ujfalusi@ti.com>

On 04/22/2014 10:05 AM, Peter Ujfalusi wrote:
> The new renameat2() system call was only wired up for ARM causing:

obviously I mean that "system call was _not_ wired up for ARM causing"

I can send the patch again with a fixed up commit message...

>  CALL    /home/ujfalusi/work/kernel/kernel.org-next-linux-next/scripts/checksyscalls.sh
> <stdin>:1232:2: warning: #warning syscall renameat2 not implemented [-Wcpp]
> 
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
> Hi,
> 
> I have noticed this with linux-next.
> 
> Regards,
> Peter
> 
>  arch/arm/include/uapi/asm/unistd.h | 1 +
>  arch/arm/kernel/calls.S            | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h
> index fb5584d0cc05..ba94446c72d9 100644
> --- a/arch/arm/include/uapi/asm/unistd.h
> +++ b/arch/arm/include/uapi/asm/unistd.h
> @@ -408,6 +408,7 @@
>  #define __NR_finit_module		(__NR_SYSCALL_BASE+379)
>  #define __NR_sched_setattr		(__NR_SYSCALL_BASE+380)
>  #define __NR_sched_getattr		(__NR_SYSCALL_BASE+381)
> +#define __NR_renameat2			(__NR_SYSCALL_BASE+382)
>  
>  /*
>   * This may need to be greater than __NR_last_syscall+1 in order to
> diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S
> index 166e945de832..8f51bdcdacbb 100644
> --- a/arch/arm/kernel/calls.S
> +++ b/arch/arm/kernel/calls.S
> @@ -391,6 +391,7 @@
>  		CALL(sys_finit_module)
>  /* 380 */	CALL(sys_sched_setattr)
>  		CALL(sys_sched_getattr)
> +		CALL(sys_renameat2)
>  #ifndef syscalls_counted
>  .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
>  #define syscalls_counted
> 


-- 
Péter

  reply	other threads:[~2014-04-23 14:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-22  7:05 [PATCH] ARM: Wire up the renameat2() syscall Peter Ujfalusi
2014-04-22  7:05 ` Peter Ujfalusi
2014-04-22  7:05 ` Peter Ujfalusi
2014-04-23 14:03 ` Peter Ujfalusi [this message]
2014-04-23 14:03   ` Peter Ujfalusi
2014-04-23 14:03   ` Peter Ujfalusi

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=5357C840.1000701@ti.com \
    --to=peter.ujfalusi@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mszeredi@suse.cz \
    --cc=sfr@canb.auug.org.au \
    --cc=tytso@mit.edu \
    /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.