* 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:
@ -74,7 +74,8 @@ typedef enum
|
||||
CW_CMDLINE,
|
||||
CW_CHECK_NTSEC,
|
||||
CW_GET_ERRNO_FROM_WINERROR,
|
||||
CW_GET_POSIX_SECURITY_ATTRIBUTE
|
||||
CW_GET_POSIX_SECURITY_ATTRIBUTE,
|
||||
CW_GET_SHMLBA
|
||||
} cygwin_getinfo_types;
|
||||
|
||||
#define CW_NEXTPID 0x80000000 /* or with pid to get next one */
|
||||
|
Reference in New Issue
Block a user