mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
If we have blacklisted mmap() try to avoid using it accidentally by
undefining the HAVE_MMAP symbol.
This commit is contained in:
parent
89d42685b7
commit
c420195231
@ -1315,4 +1315,11 @@ BOOL get_krb5_smb_session_key(krb5_context context, krb5_auth_context auth_conte
|
|||||||
#endif
|
#endif
|
||||||
#define FALSE __ERROR__XX__DONT_USE_FALSE
|
#define FALSE __ERROR__XX__DONT_USE_FALSE
|
||||||
|
|
||||||
|
/* If we have blacklisted mmap() try to avoid using it accidentally by
|
||||||
|
undefining the HAVE_MMAP symbol. */
|
||||||
|
|
||||||
|
#ifdef MMAP_BLACKLIST
|
||||||
|
#undef HAVE_MMAP
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _INCLUDES_H */
|
#endif /* _INCLUDES_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user