[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47a73ab7-20c9-f7bb-14b0-ba81e33fa1ad@intel.com>
Date: Thu, 26 Aug 2021 10:33:03 -0700
From: "Yu, Yu-cheng" <yu-cheng.yu@...el.com>
To: Borislav Petkov <bp@...en8.de>, "H.J. Lu" <hjl.tools@...il.com>
CC: the arch/x86 maintainers <x86@...nel.org>,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
LKML <linux-kernel@...r.kernel.org>,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
Linux-MM <linux-mm@...ck.org>,
linux-arch <linux-arch@...r.kernel.org>,
Linux API <linux-api@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>,
Andy Lutomirski <luto@...nel.org>,
Balbir Singh <bsingharora@...il.com>,
Cyrill Gorcunov <gorcunov@...il.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"Eugene Syromiatnikov" <esyr@...hat.com>,
Florian Weimer <fweimer@...hat.com>,
"Jann Horn" <jannh@...gle.com>, Jonathan Corbet <corbet@....net>,
Kees Cook <keescook@...omium.org>,
Mike Kravetz <mike.kravetz@...cle.com>,
Nadav Amit <nadav.amit@...il.com>,
Oleg Nesterov <oleg@...hat.com>, Pavel Machek <pavel@....cz>,
Peter Zijlstra <peterz@...radead.org>,
Randy Dunlap <rdunlap@...radead.org>,
"Ravi V. Shankar" <ravi.v.shankar@...el.com>,
"Dave Martin" <Dave.Martin@....com>,
Weijiang Yang <weijiang.yang@...el.com>,
Pengfei Xu <pengfei.xu@...el.com>,
Haitao Huang <haitao.huang@...el.com>,
Rick P Edgecombe <rick.p.edgecombe@...el.com>
Subject: Re: [PATCH v29 25/32] x86/cet/shstk: Handle thread shadow stack
On 8/26/2021 10:28 AM, Borislav Petkov wrote:
> On Thu, Aug 26, 2021 at 10:22:29AM -0700, H.J. Lu wrote:
>>>> + /*
>>>> + * Earlier clone() does not pass stack_size. Use RLIMIT_STACK and
>>>
>>> What is "earlier clone()"?
>>
>> clone() doesn't have stack size info which was added to clone3().
>
> /me goes and reads the manpage...
>
> clone3()
> The clone3() system call provides a superset of the functionality of the older
> clone() interface. It also provides a number of API improvements, including:
> space for additional flags bits; cleaner separation in the use of various argu‐
> ments; and the ability to specify the size of the child's stack area.
>
> Aha, Yu-cheng, pls use those words to make your comment understandable.
>
> Thx.
>
Sure!
Yu-cheng
Powered by blists - more mailing lists