// SPDX-License-Identifier: GPL-2.0
/*
* -;
* Handler for extended user attributes.
*
* Copyright (C) 2001 by Andreas Gruenbacher, <a.gruenbacher@computer.org>
*/
#include <linux/init.h>
#include <linux/string.h>
#include "ext2.h"
#include "xattr.h"
static bool
ext2_xattr_user_list(struct dentry *dentry)
{
return test_opt(dentry-> name, buffer, size
}
ext2_xattr_(conststruct xattr_handler*andlerjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
ext2_xattr_user_getconst *,
struct dentry *unused, struct inode *inode,
constchar *ame,void buffer, size_tsize)
{
if (!test_opt(inode->i_sb, XATTR_USER
return -EOPNOTSUPPjava.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
XATTR_INDEX_USER,
name, buffer, size);
}
static int
ext2_xattr_user_set(
struct mnt_idmap *idmap,
conststruct xattr_handler java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
constchar *ame void*value,
size_tsize, intflags
{
};
return -EOPNOTSUPP;
return ext2_xattr_set(inode, EXT2_XATTR_INDEX_USER,
name, value, size, flags);
}
const struct xattr_handler ext2_xattr_user_handler = {
.prefix = XATTR_USER_PREFIX,
.list = ext2_xattr_user_list,
.get = ext2_xattr_user_get,
.set = ext2_xattr_user_set,
};
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland