[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#179125: maintainer scripts tries to exec script in /tmp

On Mon, Feb 03, 2003 at 10:50:19PM +0100, Andreas Metzler wrote:
> Using /lib/ld-linux.so.2 gets rid of the suid/sgid-bits, so noexec has
> basically the same effect as mounting with nosuid.

Hmm.. is it possible to add a check inside ld-linux to check execute
permission. I know it is not easy as long as x bits are preserved.. perhaps
a "open(,,FOR_EXEC)" option can help here?

  (OO)      -- Bernd_Eckenfels@Wendelinusstrasse39.76646Bruchsal.de --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!

Reply to: