New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hammer: client: added permission check based on getgrouplist #6604
Conversation
f37874a
to
71eea34
Compare
71eea34
to
19b76aa
Compare
…grouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
…grouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
…grouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
…grouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
…grouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
…grouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
…grouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
…grouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
…grouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
…grouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
…grouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ukernel thanks ! Would you be so kind as to rebase this pull request ? That will fix the (unrelated to your work) make check failure. |
…d on getgrouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
@gregsfortytwo does this backport look good to merge ? It passed a run of the hammer fs suite ( see http://tracker.ceph.com/issues/14692#note-25 for details ) except one test which does not seem to be related (http://pulpito.ceph.com/loic-2016-03-01_20:26:33-fs-hammer-backports---basic-multi/36755/). |
@ukernel could you please rebase to get a clean make check run ? |
Signed-off-by: Yan, Zheng <zyan@redhat.com> (cherry picked from commit 16b59c6)
Fixes: ceph#13268 Signed-off-by: Yan, Zheng <zyan@redhat.com> (cherry picked from commit f04c8da)
Fix handling of realloc. If realloc() fails it returns NULL, assigning the return value of realloc() directly to the pointer without checking for the result will lead to a memory leak. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de> Signed-off-by: Yan, Zheng <zyan@redhat.com> (cherry picked from commit 4f98dab)
Fix for: [src/client/Client.cc:4555]: (style) The scope of the variable 'initial_group_count' can be reduced. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de> Signed-off-by: Yan, Zheng <zyan@redhat.com> (cherry picked from commit a29dd45)
When handling an operation, libcephfs code may want to access fuse request for extra information. by tracking fuse request in thread local data, we can avoid adding extra parameter to Client::ll_foo functions. Signed-off-by: Yan, Zheng <zyan@redhat.com> (cherry picked from commit a9f91d7)
Signed-off-by: Yan, Zheng <zyan@redhat.com> (cherry picked from commit 0eb6d0b)
…d on getgrouplist Reviewed-by: Loic Dachary <ldachary@redhat.com>
Looks fine to me @dachary |
hammer: client: added permission check based on getgrouplist Reviewed-by: Greg Farnum <gfarnum@redhat.com>
http://tracker.ceph.com/issues/13809