Re: Re: How to split a VMA.

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

 



On 17 Sep 2004 14:25:10 -0000, Naren <ns78@xxxxxxxxxxxxxx> wrote:

> Thanks mate. I have got a working program now.
> You guys in this list are just great :)

Naren,

You'll want to add some error checking on the allocation of the new
vma because it might fail (like any memory allocation) and then you'll
end up in limbo, likely resulting in the process later crashing or
perhaps an oops.

Cheers,

Jon.

--
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