]> git.decadent.org.uk Git - nfs-utils.git/commit
statd - fix bug so statd can talk to kernel again.
authorNeil Brown <neilb@suse.de>
Fri, 23 Mar 2007 01:36:36 +0000 (12:36 +1100)
committerNeil Brown <neilb@suse.de>
Fri, 23 Mar 2007 01:36:36 +0000 (12:36 +1100)
commit03534540a25fe4c0679928a2f3f023e596c78dc4
treeba5e349447180816f1abb81291090eb37da4b35b
parent4e5f91d9b9607f2c29ef42a131460f0b29f96974
statd - fix bug so statd can talk to kernel again.

We need to call statd_get_socket before dropping privileges so that we
have a privileged port.  We use to do that when initialising
notification as the same socket was used for reboot notication as for
callbacks to the kernel.  Now it is a different socket..
utils/statd/statd.c