mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05: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 {
|
||||
|
||||
// Kernel internal options.
|
||||
#define O_NOFOLLOW_NOERROR (1 << 29)
|
||||
#define O_UNLINK_INTERNAL (1 << 30)
|
||||
|
||||
struct UidAndGid {
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue