linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Doug McNaught <doug@wireboard.com>
To: landley@webofficenow.com
Cc: "Albert D. Cahalan" <acahalan@cs.uml.edu>, linux-kernel@vger.kernel.org
Subject: Re: The SUID bit (was Re: [PATCH] more SAK stuff)
Date: 06 Jul 2001 11:17:28 -0400	[thread overview]
Message-ID: <m3u20q6q9j.fsf@belphigor.mcnaught.org> (raw)
In-Reply-To: <200107060145.f661j5v74941@saturn.cs.uml.edu> <01070606044004.00596@localhost.localdomain>
In-Reply-To: Rob Landley's message of "Fri, 6 Jul 2001 06:04:40 -0400"

Rob Landley <landley@webofficenow.com> writes:

> Do you have a code example of how a program with euid root can change its 
> actual uid (which several programs check when they should be checking euid, 
> versions of dhcpcd before I complained about it case in point)?

Ummm...  setuid(2)?

Works for me...

-Doug
-- 
The rain man gave me two cures; he said jump right in,
The first was Texas medicine--the second was just railroad gin,
And like a fool I mixed them, and it strangled up my mind,
Now people just get uglier, and I got no sense of time...          --Dylan

  reply	other threads:[~2001-07-06 15:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-02 12:16 [PATCH] more SAK stuff Andries.Brouwer
2001-07-02 12:33 ` Alan Cox
2001-07-02 19:10   ` Hua Zhong
2001-07-03 22:00     ` Rob Landley
2001-07-06  1:45       ` Albert D. Cahalan
2001-07-06 10:04         ` The SUID bit (was Re: [PATCH] more SAK stuff) Rob Landley
2001-07-06 15:17           ` Doug McNaught [this message]
2001-07-06 15:44             ` Rob Landley
2001-07-02 18:57 ` [PATCH] more SAK stuff Kain
2001-07-06 22:02 ` David Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3u20q6q9j.fsf@belphigor.mcnaught.org \
    --to=doug@wireboard.com \
    --cc=acahalan@cs.uml.edu \
    --cc=landley@webofficenow.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).