lkml.org 
[lkml]   [2021]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v29 25/32] x86/cet/shstk: Handle thread shadow stack
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.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2021-08-26 19:29    [W:0.953 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site