blob: f1d13787d25726daa1e472fa50ce3787528b4d1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
internal static partial class Interop
{
internal static partial class Sys
{
[Flags]
internal enum Permissions
{
Mask = S_IRWXU | S_IRWXG | S_IRWXO,
S_IRWXU = S_IRUSR | S_IWUSR | S_IXUSR,
S_IRUSR = 0x100,
S_IWUSR = 0x80,
S_IXUSR = 0x40,
S_IRWXG = S_IRGRP | S_IWGRP | S_IXGRP,
S_IRGRP = 0x20,
S_IWGRP = 0x10,
S_IXGRP = 0x8,
S_IRWXO = S_IROTH | S_IWOTH | S_IXOTH,
S_IROTH = 0x4,
S_IWOTH = 0x2,
S_IXOTH = 0x1,
}
}
}
|