Re: Handling ioctl() argp memory

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

 



Hi Leslie,

could you show us the sourcecode?

Markus

On 3/4/07, leslie.polzer@xxxxxxx <leslie.polzer@xxxxxxx> wrote:

Hello folks,

  I'm passing an array to a ioctl.
  ioctl(2) says it needs to point at memory, so I'm allocating it.
  Do I need to, or rather, am I allowed to free the memory afterwards?

  It seems I'm getting segfaults when I free the memory...

    Leslie

--
gpg --keyserver pgp.mit.edu --recv-keys DD4EBF83
http://nic-nac-project.de/~skypher/



--
Markus Rechberger
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux