2017-11-01 14:08:43 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2005-04-16 22:20:36 +00:00
|
|
|
/*
|
|
|
|
File: linux/reiserfs_xattr.h
|
|
|
|
*/
|
|
|
|
|
2007-02-10 09:46:24 +00:00
|
|
|
#ifndef _LINUX_REISERFS_XATTR_H
|
|
|
|
#define _LINUX_REISERFS_XATTR_H
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
/* Magic value in header */
|
2005-07-13 03:21:28 +00:00
|
|
|
#define REISERFS_XATTR_MAGIC 0x52465841 /* "RFXA" */
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
struct reiserfs_xattr_header {
|
2005-07-13 03:21:28 +00:00
|
|
|
__le32 h_magic; /* magic number for identification */
|
|
|
|
__le32 h_hash; /* hash of the value */
|
2005-04-16 22:20:36 +00:00
|
|
|
};
|
|
|
|
|
2009-03-30 18:02:41 +00:00
|
|
|
struct reiserfs_security_handle {
|
2013-07-24 20:44:02 +00:00
|
|
|
const char *name;
|
2009-03-30 18:02:41 +00:00
|
|
|
void *value;
|
2022-02-10 02:11:29 +00:00
|
|
|
__kernel_size_t length;
|
2009-03-30 18:02:41 +00:00
|
|
|
};
|
|
|
|
|
2007-02-10 09:46:24 +00:00
|
|
|
#endif /* _LINUX_REISERFS_XATTR_H */
|