[Bugs] [Bug 1178688] Internal ec xattrs are allowed to be modified

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 9 05:55:42 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1178688



--- Comment #7 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9385 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit 70dc47389cbe08238d8c216c51d49583154bd08a
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Mon Jan 5 16:21:52 2015 +0530

    cluster/ec: Handle internal xattr get/set

    Problem:
    Internal xattrs of EC like trusted.ec.size/config/version
    can be modified by users and that can lead to misbehavior
    in EC.

    Fix:
    Don't let the user modify the xattrs. Hide these xattrs
    in getfattr outputs.

    Change-Id: I39cec96ae12826b506b496fda7da74201015fd75
    BUG: 1178688
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/9385
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Emmanuel Dreyfus <manu at netbsd.org>
    Tested-by: Emmanuel Dreyfus <manu at netbsd.org>
    Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=HOpJEMLG55&a=cc_unsubscribe


More information about the Bugs mailing list