]> git.decadent.org.uk Git - nfs-utils.git/commit
rpc.gssd: don't call printerr from signal handler
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 6 Aug 2012 12:55:45 +0000 (08:55 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 6 Aug 2012 13:11:27 +0000 (09:11 -0400)
commitd9f51f267e459c975833ac853ce41809ca492ab0
tree53e9dc56efc4ba60594bbe4bd8f0b319f3339b49
parent6019ff50055ee189557b55aad781bb12beb95e19
rpc.gssd: don't call printerr from signal handler

From: "J. Bruce Fields" <bfields@redhat.com>

printerr() isn't actually safe to call from a signal handler.  It might
be possible to make it so, but I think this is the only case in
nfs-utils where we try to, and I'm not convince it's worth it.

This fixes a bug that would eventually cause mounts to hang when gssd
is run with -vv.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/gssd/gssd_main_loop.c