Changeset View
Changeset View
Standalone View
Standalone View
saslauthd/__init__.py
Show First 20 Lines • Show All 150 Lines • ▼ Show 20 Lines | def run(self): | ||||
sys.stderr.flush() | sys.stderr.flush() | ||||
sys.stdout.flush() | sys.stdout.flush() | ||||
os.close(0) | os.close(0) | ||||
os.close(1) | os.close(1) | ||||
os.close(2) | os.close(2) | ||||
os.open(os.devnull, os.O_RDONLY) | |||||
os.open(os.devnull, os.O_WRONLY) | |||||
os.open(os.devnull, os.O_WRONLY) | |||||
os.umask(old_umask) | os.umask(old_umask) | ||||
self.thread_count += 1 | self.thread_count += 1 | ||||
log.remove_stdout_handler() | log.remove_stdout_handler() | ||||
self.set_signal_handlers() | self.set_signal_handlers() | ||||
self.write_pid() | self.write_pid() | ||||
self.do_saslauthd() | self.do_saslauthd() | ||||
▲ Show 20 Lines • Show All 217 Lines • Show Last 20 Lines |