* syscalls.cc (getshmlba): New function.
* external.cc (cygwin_internal): Add CW_GET_SHMLBA handling. * mmap.cc (mmap64): Call getshmlba to evaluate granularity. * winsup.h (getshmlba): Add declaration. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_SHMLBA.
This commit is contained in:
@ -274,6 +274,10 @@ cygwin_internal (cygwin_getinfo_types t, ...)
|
||||
set_security_attribute (attribute, psa, sd_buf, sd_buf_size);
|
||||
return psa->lpSecurityDescriptor ? 0 : -1;
|
||||
}
|
||||
case CW_GET_SHMLBA:
|
||||
{
|
||||
return getshmlba ();
|
||||
}
|
||||
default:
|
||||
return (DWORD) -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user