[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kauth and socket calls (esp. bind())
According to kauth(9):
Listeners might sleep, so no locks can be held when calling
an authorization wrapper.
According to uipc_socket.c:sobind():
error = (*so->so_proto->pr_usrreq)(so, PRU_BIND, NULL, nam,
According to in_pcb.c:in_pcbbind():
Um. Is it the documentation or the code which should be corrected?
I'm not sure I grasp how things like the filesystem or device scopes could
even really work if you can't make kauth calls with locks held.
Thor Lancelot Simon
"All of my opinions are consistent, but I cannot present them all
at once." -Jean-Jacques Rousseau, On The Social Contract
Main Index |
Thread Index |