Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1444445 > unrolled thread

Re: [PATCH v15 06/10] arm64: Treat all entry code as non-kprobe-able

Started byCatalin Marinas <catalin.marinas@arm.com>
First post2016-07-15 18:50 +0200
Last post2016-07-19 03:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v15 06/10] arm64: Treat all entry code as non-kprobe-able Catalin Marinas <catalin.marinas@arm.com> - 2016-07-15 18:50 +0200
    Re: [PATCH v15 06/10] arm64: Treat all entry code as non-kprobe-able David Long <dave.long@linaro.org> - 2016-07-19 03:00 +0200

#1444445 — Re: [PATCH v15 06/10] arm64: Treat all entry code as non-kprobe-able

FromCatalin Marinas <catalin.marinas@arm.com>
Date2016-07-15 18:50 +0200
SubjectRe: [PATCH v15 06/10] arm64: Treat all entry code as non-kprobe-able
Message-ID<rVetk-No-33@gated-at.bofh.it>
On Fri, Jul 08, 2016 at 12:35:50PM -0400, David Long wrote:
> --- a/arch/arm64/kernel/entry.S
> +++ b/arch/arm64/kernel/entry.S
> @@ -243,6 +243,7 @@ tsk	.req	x28		// current thread_info
>   * Exception vectors.
>   */
>  
> +	.pushsection ".entry.text", "ax"
>  	.align	11
>  ENTRY(vectors)
>  	ventry	el1_sync_invalid		// Synchronous EL1t
> @@ -781,3 +782,5 @@ ENTRY(sys_rt_sigreturn_wrapper)
>  	mov	x0, sp
>  	b	sys_rt_sigreturn
>  ENDPROC(sys_rt_sigreturn_wrapper)
> +
> +	.popsection

Does the above sigreturn wrapper need to be included in the .entry.text
section?

-- 
Catalin

[toc] | [next] | [standalone]


#1445976

FromDavid Long <dave.long@linaro.org>
Date2016-07-19 03:00 +0200
Message-ID<rWry9-5fC-11@gated-at.bofh.it>
In reply to#1444445
On 07/15/2016 12:47 PM, Catalin Marinas wrote:
> On Fri, Jul 08, 2016 at 12:35:50PM -0400, David Long wrote:
>> --- a/arch/arm64/kernel/entry.S
>> +++ b/arch/arm64/kernel/entry.S
>> @@ -243,6 +243,7 @@ tsk	.req	x28		// current thread_info
>>    * Exception vectors.
>>    */
>>
>> +	.pushsection ".entry.text", "ax"
>>   	.align	11
>>   ENTRY(vectors)
>>   	ventry	el1_sync_invalid		// Synchronous EL1t
>> @@ -781,3 +782,5 @@ ENTRY(sys_rt_sigreturn_wrapper)
>>   	mov	x0, sp
>>   	b	sys_rt_sigreturn
>>   ENDPROC(sys_rt_sigreturn_wrapper)
>> +
>> +	.popsection
>
> Does the above sigreturn wrapper need to be included in the .entry.text
> section?
>

Apparently not. It wouldn't make sense for that to be in entry.text when 
sys_rt_sigreturn() isn't. I'll put that in the list of changes.

Thanks,
-dl

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web