{"push_id":1313018524,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"a67b37cc89bb314f2552c6e0bb21e95eb4703062","before":"0c6c5f8a37d45f615515197e53d5d9091d248f2d","commits":[{"sha":"4390d2fd56da2124c9762190fc931c3fed433df4","author":{"name":"Kevin Klues","email":"6afa7d19d5bbf119e8125b3659d829a3f7e07e62@gmail.com"},"message":"Added 'os::spawn()' to stout as 'argv' counterpart to 'os::system()'.\n\nReview: https://reviews.apache.org/r/52184/","distinct":true,"url":"https://api.github.com/repos/apache/mesos/commits/4390d2fd56da2124c9762190fc931c3fed433df4"},{"sha":"bcb33ee1c8fe51eb0b29d903e5f486edc38204cb","author":{"name":"Kevin Klues","email":"6afa7d19d5bbf119e8125b3659d829a3f7e07e62@gmail.com"},"message":"Updated launch helper to avoid initializing libprocess.\n\nPreviously, we used 'process::subprocess()' to run all of our pre-exec\ncommands. However, doing so causes us to (unnecesssarily) initialize\nall of libprocess (and subsequently creating a whole bunch of unused\nthreads, etc.) just to run a simple script.\n\nTo avoid this, we now use `os::system()` and the new `os::spawn()`\nfunctions to give us our shell/non-shell variant of commands we want\nto launch.\n\nIn the past, we used 'os::system()' alone to avoid initializing\nlibprocess, but this caused security issues with allowing arbitrary\nshell commands to be appended to root-level pre-exec commands that\ntake strings as their last argument (e.g. mount --bind <src> <target>,\nwhere target is user supplied and is set to \"target_dir; rm -rf /\").\nWe now handle this case by using `os::spawn()` instead.\n\nReview: https://reviews.apache.org/r/52011/","distinct":true,"url":"https://api.github.com/repos/apache/mesos/commits/bcb33ee1c8fe51eb0b29d903e5f486edc38204cb"},{"sha":"a67b37cc89bb314f2552c6e0bb21e95eb4703062","author":{"name":"Jie Yu","email":"f7222f05d12e3ba12bb04fd30f9be9baa697b227@gmail.com"},"message":"Fixed a small formatting issue in launch.cpp.","distinct":true,"url":"https://api.github.com/repos/apache/mesos/commits/a67b37cc89bb314f2552c6e0bb21e95eb4703062"}]}
{"actor":{"display_login":"asfgit"}}