diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2015-12-02 13:44:36 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-07 02:33:52 (GMT) |
commit | 98e9cb5711c68223f0e4d5201b9a6add255ec550 (patch) | |
tree | 12fee55d296fc85a6e8188368ca4944fc4d913a8 /crypto/xcbc.c | |
parent | 97d79299223baab330b194437e676d301f12d5f6 (diff) | |
download | linux-98e9cb5711c68223f0e4d5201b9a6add255ec550.tar.xz |
vfs: Distinguish between full xattr names and proper prefixes
Add an additional "name" field to struct xattr_handler. When the name
is set, the handler matches attributes with exactly that name. When the
prefix is set instead, the handler matches attributes with the given
prefix and with a non-empty suffix.
This patch should avoid bugs like the one fixed in commit c361016a in
the future.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'crypto/xcbc.c')
0 files changed, 0 insertions, 0 deletions