From 6a4c4b1696e6f81c1d53f5e8a51bb2589a608bfc Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 07 Oct 2014 16:58:50 -0400 Subject: session_end(): Block signals for func's lifetime If prokit receives a signal (e.g. the user hits Ctrl+C) while session_end() is running (e.g. while unmounting file systems), the system can be left in an unclean state (e.g. with some file systems still mounted and the sessions change mutex permanently locked). --- (limited to 'lib/cmd') -- cgit v0.9.1