Commit 02bea2fc authored by Luca Bigliardi's avatar Luca Bigliardi
Browse files

Lock node daemon in memory


Signed-off-by: default avatarLuca Bigliardi <shammash@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 4b6fa0bf
...@@ -833,6 +833,8 @@ def ExecNoded(options, _): ...@@ -833,6 +833,8 @@ def ExecNoded(options, _):
"""Main node daemon function, executed with the PID file held. """Main node daemon function, executed with the PID file held.
""" """
utils.Mlockall()
# Read SSL certificate # Read SSL certificate
if options.ssl: if options.ssl:
ssl_params = http.HttpSslParams(ssl_key_path=options.ssl_key, ssl_params = http.HttpSslParams(ssl_key_path=options.ssl_key,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment