{"push_id":2611106795,"size":3,"distinct_size":3,"ref":"refs/heads/block","head":"379b0f5211785e4e4915db878b5aad38cc1281ca","before":"14fc618461c2756a3f0b16bf6af198c5d7731137","commits":[{"sha":"73d049ffd46e2fed00cd779ee8c8db70d2d726b9","author":{"name":"Max Reitz","email":"6779b6f8ab957befe3afd965a2c13eebbdd5a946@redhat.com"},"message":"block/file-posix: Pass FD to locking helpers\n\nraw_apply_lock_bytes() and raw_check_lock_bytes() currently take a\nBDRVRawState *, but they only use the lock_fd field.  During image\ncreation, we do not have a BDRVRawState, but we do have an FD; so if we\nwant to reuse the functions there, we should modify them to receive only\nthe FD.\n\nSigned-off-by: Max Reitz <mreitz@redhat.com>\nReviewed-by: Fam Zheng <famz@redhat.com>\nMessage-id: 20180509215336.31304-2-mreitz@redhat.com\nSigned-off-by: Max Reitz <mreitz@redhat.com>","distinct":true,"url":"https://api.github.com/repos/XanClic/qemu/commits/73d049ffd46e2fed00cd779ee8c8db70d2d726b9"},{"sha":"1a4970370567af6212062df8dbc4a758191e985b","author":{"name":"Max Reitz","email":"6779b6f8ab957befe3afd965a2c13eebbdd5a946@redhat.com"},"message":"block/file-posix: File locking during creation\n\nWhen creating a file, we should take the WRITE and RESIZE permissions.\nWe do not need either for the creation itself, but we do need them for\nclearing and resizing it.  So we can take the proper permissions by\nreplacing O_TRUNC with an explicit truncation to 0, and by taking the\nappropriate file locks between those two steps.\n\nSigned-off-by: Max Reitz <mreitz@redhat.com>\nMessage-id: 20180509215336.31304-3-mreitz@redhat.com\nReviewed-by: Fam Zheng <famz@redhat.com>\nSigned-off-by: Max Reitz <mreitz@redhat.com>","distinct":true,"url":"https://api.github.com/repos/XanClic/qemu/commits/1a4970370567af6212062df8dbc4a758191e985b"},{"sha":"379b0f5211785e4e4915db878b5aad38cc1281ca","author":{"name":"Max Reitz","email":"6779b6f8ab957befe3afd965a2c13eebbdd5a946@redhat.com"},"message":"iotests: Add creation test to 153\n\nThis patch adds a test case to 153 which tries to overwrite an image\n(using qemu-img create) while it is in use.  Without the original user\nexplicitly sharing the necessary permissions (writing and truncation),\nthis should not be allowed.\n\nSigned-off-by: Max Reitz <mreitz@redhat.com>\nReviewed-by: Fam Zheng <famz@redhat.com>\nMessage-id: 20180509215336.31304-4-mreitz@redhat.com\nSigned-off-by: Max Reitz <mreitz@redhat.com>","distinct":true,"url":"https://api.github.com/repos/XanClic/qemu/commits/379b0f5211785e4e4915db878b5aad38cc1281ca"}]}
{"actor":{"display_login":"XanClic"}}