Marcus Brinkmann <[EMAIL PROTECTED]> writes: > It just occured to me that it is probably safe to use malloc()'ed buffers, > as long as you don't use dealloc with them? It's a bit awkward, because > this is mixing Mach level with glibc level stuff. I don't know if it is > safe to return a buffer that is not starting at a mmap'ed region, for > example. In general it's bad mojo. If the buffer is not page aligned, then Mach will DTRT, but data in the boundary pages outside the region might be sent in the RPC too, and the result would be a security failure. Also, we don't want to depend on that behavior of Mach; other kernels with other RPC systems might only allow sending page-aligned regions. _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd
- Bug#102437: dealloc analysis for each server function... Marcus Brinkmann
- Bug#102437: dealloc analysis for each server fun... Marcus Brinkmann
- Bug#102437: dealloc analysis for each server fun... Thomas Bushnell, BSG
- Bug#102437: dealloc analysis for each server fun... Marcus Brinkmann
- Bug#102437: dealloc analysis for each server fun... Thomas Bushnell, BSG
- Bug#102437: dealloc analysis for each server fun... Marcus Brinkmann
- Bug#102437: dealloc analysis for each server fun... Marcus Brinkmann
- Bug#102437: dealloc analysis for each server fun... Roland McGrath
- Bug#102437: dealloc analysis for each server fun... Marcus Brinkmann
- Bug#102437: dealloc analysis for each server fun... Marcus Brinkmann
- Bug#102437: dealloc analysis for each server fun... Roland McGrath
- Bug#102437: dealloc analysis for each server fun... Marcus Brinkmann
- Bug#102437: dealloc analysis for each server fun... Marcus Brinkmann