Skip to content

Commit

Permalink
[System.Core]: Stub out Interop.Sys.GetEUid and SetEUid.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Baulig committed Oct 31, 2018
1 parent c4202ba commit bc6b861
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
18 changes: 18 additions & 0 deletions mcs/class/System.Core/corefx/Interop.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System;

internal static partial class Interop
{
internal static partial class Sys
{
internal static uint GetEUid ()
{
throw new PlatformNotSupportedException ();
}

internal static int SetEUid (uint euid)
{
throw new PlatformNotSupportedException ();
}

}
}
7 changes: 5 additions & 2 deletions mcs/class/System.Core/unix_net_4_x_System.Core.dll.sources
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@ System.IO.Pipes/AnonymousPipeServerStream.Unix.cs
../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.Stat.cs
../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.Stat.Pipe.cs
../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.GetPeerID.cs
../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.GetEUid.cs
../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.SetEUid.cs

# FIXME: the native side is not there yet.
# ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.GetEUid.cs
# ../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.SetEUid.cs
corefx/Interop.cs

0 comments on commit bc6b861

Please sign in to comment.