GSocket: Use MSG_CMSG_CLOEXEC
authorColin Walters <walters@verbum.org>
Thu, 5 May 2011 17:16:54 +0000 (13:16 -0400)
committerColin Walters <walters@verbum.org>
Thu, 5 May 2011 18:09:11 +0000 (14:09 -0400)
commit8932a1a7a3bf1bb68c2f2762f3674a149742b1fa
tree7ed008ed6315c8e4d32b25bfffbdedd1fd5812ef
parent7ca8691a934ac571ed034d5c01882ac8de19769c
GSocket: Use MSG_CMSG_CLOEXEC

This ensures received file descriptors don't leak to child processes.

https://bugzilla.gnome.org/show_bug.cgi?id=649480
gio/gsocket.c
gio/gunixfdmessage.c