1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:17:44 +00:00

Kernel+LibC: Move O_* and MS_* flags to UnixTypes.h

That's where the other similar definitions reside. Also, use bit shift
operations for MS_* values.
This commit is contained in:
Sergey Bugaev 2020-05-28 17:52:02 +03:00 committed by Andreas Kling
parent b6845de3f6
commit b905126365
3 changed files with 29 additions and 29 deletions

View file

@ -149,10 +149,10 @@ enum {
#define X_OK 1
#define F_OK 0
#define MS_NODEV 1
#define MS_NOEXEC 2
#define MS_NOSUID 4
#define MS_BIND 8
#define MS_NODEV (1 << 0)
#define MS_NOEXEC (1 << 1)
#define MS_NOSUID (1 << 2)
#define MS_BIND (1 << 3)
/*
* We aren't fully compliant (don't support policies, and don't have a wide