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/include | |
parent | fad5aef8606059f9715e8faac329852ef041f7a6 (diff) | |
download | cygnal-6ef3b76be2d7620e8f495cf5654f0359a1ca178d.tar.gz cygnal-6ef3b76be2d7620e8f495cf5654f0359a1ca178d.tar.bz2 cygnal-6ef3b76be2d7620e8f495cf5654f0359a1ca178d.zip |
* 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/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 | ||||
-rw-r--r-- | winsup/cygwin/include/sys/cygwin.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index 57ade5d66..d26ec4bc8 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -224,13 +224,14 @@ details. */ 97: Export sem_open, sem_close, sem_timedwait, sem_getvalue. 98: Export _tmpfile64. 99: CW_GET_POSIX_SECURITY_ATTRIBUTE addition to external.cc. + 100: CW_GET_SHMLBA addition to external.cc. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 99 +#define CYGWIN_VERSION_API_MINOR 100 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 4aec8c358..6db5bb936 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -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 */ |