Re: Missing `munmap` in clone.2 example code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2025-01-20 at 11:56 +0100, Alejandro Colomar wrote:
> Hi Chen,
> 
> On Mon, Jan 20, 2025 at 05:20:54PM +0800, Chen Linxuan wrote:
> > While reading `man clone.2`,
> > I found that the parent process doesn't unmap the stack of child
> > process.
> > Should we unmap the memory in this example?
> 
> Would you mind sending a patch to discuss it?  Thanks!

The patch has been sent.

https://lore.kernel.org/linux-man/647EBDB1A8DE7507+20250121031351.548052-1-chenlinxuan@xxxxxxxxxxxxx/T/#u

> 
> Have a lovely day!
> Alex
> 






[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux