{"push_id":1192692440,"size":23,"distinct_size":23,"ref":"refs/heads/master","head":"0663953ebea1276df0601b7e1933afa03ad4f13d","before":"592d7ac685d5bf276ceff864870cb83f59d042d8","commits":[{"sha":"3ee4588789cf76ae6ac030c590a49286dc5e8aeb","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: add libc crate as a dependency\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/3ee4588789cf76ae6ac030c590a49286dc5e8aeb"},{"sha":"ad27af275d097173b0ff070a24e1668a02f5d404","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: add commit_suicide() function\n\nIt calls abort().\n\nWe can use this functions to abort syslog-ng when we receive a fatal error\n(like integer overflow, out-of-bound access to arrays). We catch\nthese errors on the Rust - C FFI boundary, but there is no guarantee that\nthe Rust parsers are in a valid state. Therefore, it's best to abort the\nwhole process.\n\nWe can't use panic! to abort the current process, as it causes a stack\nunwinding which shouldn't step through the Rust-C boundary. That's why\nwe call libc's abort().\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/ad27af275d097173b0ff070a24e1668a02f5d404"},{"sha":"276ca0a4d5932638030baa1de1197d52e2003195","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: add panicking parser to tests\n\nPanickingParser is a parser which panic!-s every time one of its functions\nare called. It's suitable for testing panic catching functionalities.\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/276ca0a4d5932638030baa1de1197d52e2003195"},{"sha":"011f0bf8364eb29d80ef8f4f2d0852dd839e12db","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: add utility functions for testing panic! catching\n\n* set_up_test() initializes the tests\n* fork_with_callbacks: if a panic! happens in the parsers, it's cought on\n  the FFI boundary. Then, a signal is sent to syslog-ng to die. We cannot\n  reliably catch the signal in simple unit tests: they are running in their\n  own threads so the signal handling wouldn't be deterministic. Therefore,\n  we will start a new process in every testcase, call panic! and raise\n  a signal in the child process and do the post-mortem analysis in the\n  parent thread. fork_with_callbacks() takes two closures. child_callback\n  is executed in the child process, parent_callback is executed in the\n  parent process.\n* assert_child_commits_suicide: forks the current process, then waits\n  for the child to complete. Checks the exit status of the child process.\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/011f0bf8364eb29d80ef8f4f2d0852dd839e12db"},{"sha":"d15991448dec2a41839fccc4bee6eb90ddc78127","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: add with_parser_and_builder() function to ParserProxy\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/d15991448dec2a41839fccc4bee6eb90ddc78127"},{"sha":"beae226d2537643d07f3d903c273330cb2dad8d9","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: test native_parser_proxy_new()\n\n* panic! should be caught\n* child process is killed with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/beae226d2537643d07f3d903c273330cb2dad8d9"},{"sha":"5e0ec6c0c0a80070f5e308dd45211d6c03cbfb0a","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: make in native_parser_proxy_new() unwind safe\n\n* catch panic!\n* kill syslog-ng with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/5e0ec6c0c0a80070f5e308dd45211d6c03cbfb0a"},{"sha":"bbd429652cdf7156fd64d18afb1cb44c1c665fbf","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: test native_parser_proxy_free()\n\n* panic! should be caught\n* child process is killed with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/bbd429652cdf7156fd64d18afb1cb44c1c665fbf"},{"sha":"a78877201c5d55458e454ba4cd31c63fe4cc5f6f","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: make in native_parser_proxy_free() unwind safe\n\n* catch panic!\n* kill syslog-ng with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/a78877201c5d55458e454ba4cd31c63fe4cc5f6f"},{"sha":"675912c78d8e1dfde03df80201e8cbb88fcb35ee","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: test native_parser_proxy_set_option()\n\n* panic! should be caught\n* child process is killed with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/675912c78d8e1dfde03df80201e8cbb88fcb35ee"},{"sha":"b070084c5bc685f8c7018e2080155d5dc93550eb","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: make in native_parser_proxy_set_option() unwind safe\n\n* catch panic!\n* kill syslog-ng with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/b070084c5bc685f8c7018e2080155d5dc93550eb"},{"sha":"f96413dc62665471748d98fa1885f37937fb869c","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: test native_parser_proxy_init()\n\n* panic! should be caught\n* child process is killed with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/f96413dc62665471748d98fa1885f37937fb869c"},{"sha":"65067d42ccad5e34a98a9e6e0437221de17fc515","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: make in native_parser_proxy_init() unwind safe\n\n* catch panic!\n* kill syslog-ng with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/65067d42ccad5e34a98a9e6e0437221de17fc515"},{"sha":"240f2a14b6379a80df578031fb87cf5f22f7f176","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: test native_parser_proxy_deinit()\n\n* panic! should be caught\n* child process is killed with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/240f2a14b6379a80df578031fb87cf5f22f7f176"},{"sha":"d83ea555e6a81f9777d13e19e82f4da0ec5bfad4","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: make in native_parser_proxy_deinit() unwind safe\n\n* catch panic!\n* kill syslog-ng with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/d83ea555e6a81f9777d13e19e82f4da0ec5bfad4"},{"sha":"794cc968ef9377470e39c163edaa66ea2846ede6","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: test native_parser_proxy_process()\n\n* panic! should be caught\n* child process is killed with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/794cc968ef9377470e39c163edaa66ea2846ede6"},{"sha":"c73160168d4fd5393b5b2b0bf42d1683ad39dc70","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: make in native_parser_proxy_process() unwind safe\n\n* catch panic!\n* kill syslog-ng with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/c73160168d4fd5393b5b2b0bf42d1683ad39dc70"},{"sha":"087e0dba4bc2243c1031201bdf9f46e12586bd25","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: test native_parser_proxy_clone()\n\n* panic! should be caught\n* child process is killed with abort()\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/087e0dba4bc2243c1031201bdf9f46e12586bd25"},{"sha":"2fa350e6763ec78d35c7c00c306e164156d286b3","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"syslog-ng-common: rename with_parser_and_builder() function\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/2fa350e6763ec78d35c7c00c306e164156d286b3"},{"sha":"8795569f330e9330f41e603e737a03f794a1252d","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"native_parser_proxy_*: fix typos\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":true,"url":"https://api.github.com/repos/ihrwein/syslog-ng-rust-modules/commits/8795569f330e9330f41e603e737a03f794a1252d"}]}
{"actor":{"display_login":"ihrwein"}}