• Andrew Morton's avatar
    revert "capabilities: clean up file capability reading" · 8f6936f4
    Andrew Morton authored
    Revert b68680e4 to make way for the next
    patch: "Add 64-bit capability support to the kernel".
    
    We want to keep the vfs_cap_data.data[] structure, using two 'data's for
    64-bit caps (and later three for 96-bit caps), whereas
    b68680e4 had gotten rid of the 'data' struct
    made its members inline.
    
    The 64-bit caps patch keeps the stack abuse fix at get_file_caps(), which was
    the more important part of that patch.
    
    [akpm@linux-foundation.org: coding-style fixes]
    Cc: Stephen Smalley <sds@tycho.nsa.gov>
    Cc: Serge Hallyn <serue@us.ibm.com>
    Cc: Chris Wright <chrisw@sous-sol.org>
    Cc: James Morris <jmorris@namei.org>
    Cc: Casey Schaufler <casey@schaufler-ca.com>
    Cc: Andrew Morgan <morgan@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    8f6936f4
commoncap.c 15 KB