lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090730211256.31be54e6@lxorguk.ukuu.org.uk>
Date:	Thu, 30 Jul 2009 21:12:56 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Jonathan Reed <jdreed@....EDU>
Cc:	Pavel Machek <pavel@....cz>, Geoffrey Thomas <geofft@....EDU>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Return ENOEXEC, not ENOENT, if a binary's or script's
 interpreter doesn't exist.

> They then go and look at /usr/bin/foo, find that it exists, and are 
> extremely confused.

-ENOEXEC is just as confusing. It is executable, it will match
(cmp/md5sum etc) with one on another box etc.

> More advanced users might at that point try and run "ldd" on the binary 
> (which will also fail, thanks to a missing interpreter).

So fix ldd ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ