Kernel: Move VFS-internal O_FOO definitions to VirtualFileSystem.h

This commit is contained in:
Andreas Kling 2021-08-14 19:46:18 +02:00
parent b47c7a2c38
commit dcb015fa7e
2 changed files with 4 additions and 3 deletions

View file

@ -23,6 +23,10 @@
namespace Kernel {
// Kernel internal options.
#define O_NOFOLLOW_NOERROR (1 << 29)
#define O_UNLINK_INTERNAL (1 << 30)
struct UidAndGid {
uid_t uid;
gid_t gid;

View file

@ -35,9 +35,6 @@
#include <Kernel/API/POSIX/time.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:
TYPEDEF_DISTINCT_ORDERED_ID(pid_t, ProcessID);
TYPEDEF_DISTINCT_ORDERED_ID(pid_t, ThreadID);