Rev 632: make sure we set close on exec on any possibly inherited fds in http://samba.org/~tridge/ctdb

Stefan (metze) Metzmacher metze at samba.org
Wed Sep 19 06:47:24 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> +
> +	/* on exec, don't inherit the fd */
> +	v = fcntl(epoll_ev->epoll_fd, F_GETFD, 0);
> +        fcntl(epoll_ev->epoll_fd, F_SETFD, v | FD_CLOEXEC);
> +

Hi Tridge,

can you please fix the leading whitespaces into a tab
and then merge this to samba4?

Thanks!

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG8MX8m70gjA5TCD8RAoieAJ9vcUrJ2zf0iauXFmOK0iDtVbhcyACgl+mD
p4VT9MMAa8gVN7quhzBC4uY=
=AI1V
-----END PGP SIGNATURE-----


More information about the samba-cvs mailing list