Exemple #1
0
        public KernelResult GetResourceLimitLimitValue32([R(1)] int handle, [R(2)] LimitableResource resource, [R(1)] out int limitValueLow, [R(2)] out int limitValueHigh)
        {
            KernelResult result = _syscall.GetResourceLimitLimitValue(handle, resource, out long limitValue);

            limitValueHigh = (int)(limitValue >> 32);
            limitValueLow  = (int)(limitValue & uint.MaxValue);

            return(result);
        }
Exemple #2
0
 public KernelResult GetResourceLimitLimitValue64([R(1)] int handle, [R(2)] LimitableResource resource, [R(1)] out long limitValue)
 {
     return(_syscall.GetResourceLimitLimitValue(handle, resource, out limitValue));
 }