Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Feb 2003 14:59:15 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Anoop Ranganath <anoop@ranganath.com>, freebsd-current@freebsd.org
Subject:   Re: tmpfile breakage on setuid executables
Message-ID:  <3E419743.6144BE0B@mindspring.com>
References:  <00e201c2cd5b$14f31c30$0c02040a@ranganath> <3E41846A.39AAE406@mindspring.com> <015c01c2cd60$7b6dc0a0$0c02040a@ranganath> <3E418C3C.F4B99C78@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> We need to know how we think it's supposed to work, not how you
> think it's supposed to work to determine if the error is in the
> code OR in the fact some old bug was fixed going from 4.7->5.0,
> and the fix is biting you, OR it's a real bug.

For anyone who cares:

Additional information was provided off-list.  The problem was
indeed that "setuid(geteuid());" was missing from the program.

Apparently, there was a bug fixed in 4.7 -> 5.0, where the
effective UID was being tested instead of the real UID.

This is probably something that someone should MFC.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E419743.6144BE0B>