On Wed, 13 Apr 2011 22:28:43 +0200 (CEST) Vincent Torri <vto...@univ-evry.fr> wrote:
> > > On Wed, 13 Apr 2011, Cedric BAIL wrote: > > > On Wed, Apr 13, 2011 at 8:36 PM, Vincent Torri <vto...@univ-evry.fr> wrote: > >> On Wed, 13 Apr 2011, Vincent Torri wrote: > >>> are you sure that O_CLOEXEC and ACCESSPERMS are portable ? > > http://www.kernel.org/doc/man-pages/online/pages/man2/open.2.html > > "the Linux-specific O_CLOEXEC flag, etc..." > > O_CLOEXEC (Since Linux 2.6.23) > > hum, not really portable. yes, and it's worth mentioning that anything running a server will probably be running 2.6.18 so the flag isn't available there either > > > I hope they are. It's a pretty basic feature, being able to > > automatically close a fd on exec. As for ACCESSPERMS it's just a macro > > that should be provided by any unix system (would only means something > > on them, but not much in the considered case). > > it's not defined in OpenSolaris. > > >> and that MAP_POPULATE does not need a too recent linux kernel ? > > > > It will be available at least on all 2.6 kernel. I don't know for other. > > http://linux.die.net/man/2/mmap > > MAP_POPULATE (since Linux 2.5.46) > > and it's not defined in OpenSolaris. > > So all those 3 macro are not portable at all. > > > Vincent > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Mike Blumenkrantz Zentific: NULL pointer dereferences now 50% off! ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel