diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-11-06 14:33:16 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-11-06 14:33:16 +0000 |
commit | 6ef3b76be2d7620e8f495cf5654f0359a1ca178d (patch) | |
tree | b2c9fb10d8dd67809525de91886874d7e615825f /winsup/cygwin/external.cc | |
parent | fad5aef8606059f9715e8faac329852ef041f7a6 (diff) | |
download | newlib-6ef3b76be2d7620e8f495cf5654f0359a1ca178d.zip newlib-6ef3b76be2d7620e8f495cf5654f0359a1ca178d.tar.gz newlib-6ef3b76be2d7620e8f495cf5654f0359a1ca178d.tar.bz2 |
* 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.
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r-- | winsup/cygwin/external.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 839d380..8ab0c82 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -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; } |