Skip to content
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

Merged
6 commits merged into from Mar 8, 2016

Conversation

ukernel
Copy link
Contributor

@ukernel ukernel commented Nov 16, 2015

@ghost ghost added bug-fix cephfs Ceph File System labels Nov 16, 2015
@ghost ghost self-assigned this Nov 16, 2015
@ghost
Copy link

ghost commented Nov 16, 2015

@ukernel 71eea34 is not an exact cherry pick of f04c8da. When this is the case, there needs to be an explanation for the difference after the (cherry picked from...) line. Thanks :-)

@ghost
Copy link

ghost commented Nov 16, 2015

Actually if I read correctly, this commit is the agreggation of two commits : 16b59c6 and f04c8da

@ghost ghost added this to the hammer milestone Nov 21, 2015
ghost pushed a commit that referenced this pull request Jan 11, 2016
…grouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jan 11, 2016
…grouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jan 11, 2016
…grouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jan 15, 2016
…grouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Jan 29, 2016
…grouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Feb 1, 2016
…grouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Feb 3, 2016
…grouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Feb 9, 2016
…grouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Feb 15, 2016
…grouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Feb 16, 2016
…grouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Feb 22, 2016
…grouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost changed the title client: added permission check based on getgrouplist hammer: client: added permission check based on getgrouplist Feb 25, 2016
@ghost
Copy link

ghost commented Feb 25, 2016

@ukernel thanks ! Would you be so kind as to rebase this pull request ? That will fix the (unrelated to your work) make check failure.

ghost pushed a commit that referenced this pull request Feb 26, 2016
…d on getgrouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link

ghost commented Mar 3, 2016

@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/).

@ghost
Copy link

ghost commented Mar 3, 2016

@ukernel could you please rebase to get a clean make check run ?

Be-El and others added 4 commits March 3, 2016 20:30
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)
ghost pushed a commit that referenced this pull request Mar 4, 2016
…d on getgrouplist

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@gregsfortytwo
Copy link
Member

Looks fine to me @dachary

ghost pushed a commit that referenced this pull request Mar 8, 2016
hammer: client: added permission check based on getgrouplist

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
@ghost ghost merged commit 7083829 into ceph:hammer Mar 8, 2016
@ukernel ukernel deleted the hammer-13268 branch March 10, 2016 07:57
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix cephfs Ceph File System
Projects
None yet
5 participants