mirror of
https://github.com/RGBCube/serenity
synced 2025-06-30 15:02:06 +00:00
Kernel: Move VFS-internal O_FOO definitions to VirtualFileSystem.h
This commit is contained in:
parent
b47c7a2c38
commit
dcb015fa7e
2 changed files with 4 additions and 3 deletions
|
@ -23,6 +23,10 @@
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
|
// Kernel internal options.
|
||||||
|
#define O_NOFOLLOW_NOERROR (1 << 29)
|
||||||
|
#define O_UNLINK_INTERNAL (1 << 30)
|
||||||
|
|
||||||
struct UidAndGid {
|
struct UidAndGid {
|
||||||
uid_t uid;
|
uid_t uid;
|
||||||
gid_t gid;
|
gid_t gid;
|
||||||
|
|
|
@ -35,9 +35,6 @@
|
||||||
#include <Kernel/API/POSIX/time.h>
|
#include <Kernel/API/POSIX/time.h>
|
||||||
#include <Kernel/API/POSIX/unistd.h>
|
#include <Kernel/API/POSIX/unistd.h>
|
||||||
|
|
||||||
// Kernel internal options.
|
|
||||||
#define O_NOFOLLOW_NOERROR (1 << 29)
|
|
||||||
#define O_UNLINK_INTERNAL (1 << 30)
|
|
||||||
// Avoid interference with AK/Types.h and LibC/sys/types.h by defining *separate* names:
|
// Avoid interference with AK/Types.h and LibC/sys/types.h by defining *separate* names:
|
||||||
TYPEDEF_DISTINCT_ORDERED_ID(pid_t, ProcessID);
|
TYPEDEF_DISTINCT_ORDERED_ID(pid_t, ProcessID);
|
||||||
TYPEDEF_DISTINCT_ORDERED_ID(pid_t, ThreadID);
|
TYPEDEF_DISTINCT_ORDERED_ID(pid_t, ThreadID);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue