Re: Stack memory for clone(2)?

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

 



Hello.

Jan Hudec wrote:
> > But anyway, I should use malloc(3) to let it handle alignment.
> > I hope this alignment requirement be added to manpage of clone(2).
> Do you really need clone(2)?? Would not a clone(3) be better? Or is it
> because you are trying to implement that?
I just wanted to separete namespace for my userland programs
that runs upon various 2.4 and 2.6 kernels.
I think I can use unshare(2) for recent 2.6 kernels,
but I need to write a code for older kernels.

Thank you.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux