backend.globaleaks.utils.process

Module Contents

Functions

set_proc_title(title) Set the process title
set_pdeathsig(sig) Set the PDEATH Signal
drop_privileges(user, uid, gid)
disable_swap() Disable the usage of SWAP
SigQUIT(SIG, FRM) Handler of process QUIT signal
backend.globaleaks.utils.process.set_proc_title(title)[source]

Set the process title

Parameters:title – A title to be assigned to the process
backend.globaleaks.utils.process.set_pdeathsig(sig)[source]

Set the PDEATH Signal

Parameters:sig – A signal that the process need to receive when the parent process dies
backend.globaleaks.utils.process.drop_privileges(user, uid, gid)[source]
backend.globaleaks.utils.process.disable_swap()[source]

Disable the usage of SWAP

backend.globaleaks.utils.process.SigQUIT(SIG, FRM)[source]

Handler of process QUIT signal

Parameters:
  • SIG – the received signal
  • FRM – the pid of the