Re: couldn't log on to my -CURRENT machine after upgrade to late

看板FB_current作者時間14年前 (2012/01/10 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/11 (看更多)
Don Lewis <truckman@FreeBSD.org> writes: > After staring at the code a lot more, I see your point about the loss of > information. The problem is that openpam_parse_chain() returns > PAM_SUCCESS whether or not if found anything, but we want the loop to > terminate when either an error is detected or if openpam_parse_chain() > actually found something. Maybe changing the loop exit to something > like this would work: > > if (ret !=3D PAM_SUCCESS || pamh->chains[facility] !=3D NULL) > return (ret); The simplest fix for now is probably to revert r487; it applies cleanly except for the first hunk, which is easy to apply manually. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1F2qx3Da (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 5 之 11 篇):
文章代碼(AID): #1F2qx3Da (FB_current)