commit | 6a7c8492cc5160ab392a82ba6c106b1fada9136d | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Wed Sep 18 22:14:09 2013 -0700 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Sep 18 22:14:09 2013 -0700 |
tree | 8b247ee74cfdb45884823f07bb75ef595de7c738 | |
parent | 81b49639495f22f1d8f8a6978029db3d0b07fe0b [diff] |
weston-launch: Use fstat to make sure we stat the right fd Instead of the racy stat+open, open first and then use fstat. We want to make sure we're stating the fd we'll be sending to weston and nothing else.