The Pedigree Project
0.1
src
modules
system
vfs
ExtendedAttributes.h
1
/* Copyright (c) 2026, Pedigree Developers. */
2
#ifndef PEDIGREE_VFS_EXTENDEDATTRIBUTES_H
3
#define PEDIGREE_VFS_EXTENDEDATTRIBUTES_H
4
5
#include "pedigree/kernel/processor/types.h"
6
7
enum class
XattrStatus {
8
Success,
9
Missing,
10
Exists,
11
Range,
12
NoSpace,
13
NoMemory,
14
Unsupported,
15
Denied,
16
IoError,
17
Invalid,
18
ReadOnly,
19
Quota,
20
Overflow,
21
};
22
23
namespace
Xattr {
24
constexpr
size_t
MaximumNameLength = 255;
25
constexpr
size_t
MaximumValueLength = 65536;
26
constexpr
size_t
MaximumListLength = 65536;
27
constexpr
unsigned
Create = 1, Replace = 2;
28
}
// namespace Xattr
29
30
#endif
Generated on Sat Oct 3 2026 06:38:07 for The Pedigree Project by
1.9.8