Bugzilla – Bug 647
Patches to fix visudo on hurd
Last modified: 2014-09-24 09:31:19 MDT
Created attachment 407 [details] Use flock instead of lockf for visudo on hurd Attached patches fix visudo on hurd: use-flock-on-hurd.diff Use flock instead of lockf for visudo on hurd skip-noedit.diff Skip installing/unlinking files without doedit set More info at respective Debian bugs. Thanks for considering.
Created attachment 408 [details] Skip installing/unlinking files without doedit set
I committed a slightly different fix for the NULL pointer deref: http://www.sudo.ws/repos/sudo/rev/3a677c4773e5 The configure.ac patch is too broad as it may match more than just Hurd. What does config.guess output on a Hurd system?
I found the Hurd porting guide which includes a configure host string for hurd and committed a slightly different diff. http://www.sudo.ws/repos/sudo/rev/7b8935a0c8b9
Fixed in sudo 1.8.11.