methods that were recently added to the interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21401
91177308-0d34-0410-b5e6-
96231b3b80d8
#endif
}
+int Process::GetCurrentUserId()
+{
+ return getuid();
+}
+
+int Process::GetCurrentGroupId()
+{
+ return getgid();
+}
+
// Some LLVM programs such as bugpoint produce core files as a normal part of
// their operation. To prevent the disk from filling up, this function
// does what's necessary to prevent their generation.
sys_time.nanoseconds( unsigned(KernelTime % 10000000) * 100 );
}
+int Process::GetCurrentUserId()
+{
+ return 65536;
+}
+
+int Process::GetCurrentGroupId()
+{
+ return 65536;
+}
+
// Some LLVM programs such as bugpoint produce core files as a normal part of
// their operation. To prevent the disk from filling up, this configuration item
// does what's necessary to prevent their generation.