Userland counterpart of the previous commit.
Details
Details
- Reviewers
rmacklem - Group Reviewers
network - Commits
- rGa8f61691e9e5: gssd: use netlink(4) RPC service to talk to kernel GSS
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 61826 Build 58710: arc lint + arc unit
Event Timeline
Comment Actions
I think this looks fine. I cannot exactly remember what
the gssd_syscall("") did (it indicated the daemon was going away),
but I'll assume you no longer need it?
Does the kernel code know that the daemon has gone away so
that it will no longer attempt an upcall?
Comment Actions
Kernel will timeout the call. There is no way to quickly tell if there are any netlink listeners on the userland side. If we want to make a faster reaction of kernel to daemon failure we can play with timeouts algorithm. E.g. after first failure switch to very short timeout, so that we return in 1 second, but still leaving a chance for daemon to come up and then we will switch to a normal mode.