mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
e7c132a4a2
Like many languages, Perl uses has randomisation to prevent nasty
users using crafted values that hash to the same number to effect a
denial of service. This means the traversal order of perl HASH tables
is different every time.
The IDL handed to pidl is trusted, so we don't really need
randomisation, but we do want to be sure the build is the same every
time.
I am not aware of hash randomisation causing problems, but it seems
prudent to avoid it.
We do a similar thing with PYTHONHASHSEED for the entire build.
Thanks to Freexian and the Debian LTS project for sponsoring this work.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13213
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
configure_file.py | ||
generic_cc.py | ||
pkgconfig.py | ||
README | ||
samba3.py | ||
samba_abi.py | ||
samba_autoconf.py | ||
samba_autoproto.py | ||
samba_bundled.py | ||
samba_conftests.py | ||
samba_cross.py | ||
samba_deps.py | ||
samba_dist.py | ||
samba_git.py | ||
samba_headers.py | ||
samba_install.py | ||
samba_patterns.py | ||
samba_perl.py | ||
samba_pidl.py | ||
samba_python.py | ||
samba_third_party.py | ||
samba_utils.py | ||
samba_version.py | ||
samba_waf18.py | ||
samba_wildcard.py | ||
stale_files.py | ||
symbols.py | ||
test_duplicate_symbol.sh | ||
wafsamba.py | ||
wscript |
This is a set of waf 'tools' to help make building the Samba components easier, by having common functions in one place. This gives us a more consistent build, and ensures that our project rules are obeyed TODO: see http://wiki.samba.org/index.php/Waf