linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Handling ioctl() argp memory
@ 2007-03-04 16:48 leslie.polzer
  2007-03-04 16:52 ` Markus Rechberger
  2007-03-05  1:54 ` Glynn Clements
  0 siblings, 2 replies; 8+ messages in thread
From: leslie.polzer @ 2007-03-04 16:48 UTC (permalink / raw)
  To: linux-c-programming

[-- Attachment #1: Type: text/plain, Size: 364 bytes --]


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/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-03-05 10:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-04 16:48 Handling ioctl() argp memory leslie.polzer
2007-03-04 16:52 ` Markus Rechberger
2007-03-04 17:04   ` leslie.polzer
2007-03-04 18:21     ` Markus Rechberger
2007-03-05  1:54 ` Glynn Clements
2007-03-05  5:23   ` leslie.polzer
2007-03-05  6:26     ` Glynn Clements
2007-03-05 10:49     ` Markus Rechberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).