From owner-freebsd-current Mon Jul 13 19:38:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA02791 for freebsd-current-outgoing; Mon, 13 Jul 1998 19:38:25 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from bandicoot.prth.tensor.pgs.com (bandicoot.prth.tensor.pgs.com [157.147.224.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA02772; Mon, 13 Jul 1998 19:38:20 -0700 (PDT) (envelope-from shocking@ariadne.prth.tensor.pgs.com) Received: from ariadne.tensor.pgs.com (ariadne [157.147.227.36]) by bandicoot.prth.tensor.pgs.com (8.8.8/8.8.8) with SMTP id KAA16747; Tue, 14 Jul 1998 10:37:20 +0800 (WST) Received: from ariadne by ariadne.tensor.pgs.com (SMI-8.6/SMI-SVR4) id KAA10232; Tue, 14 Jul 1998 10:37:46 +0800 Message-Id: <199807140237.KAA10232@ariadne.tensor.pgs.com> X-Mailer: exmh version 2.0.2 2/24/98 To: hackers@FreeBSD.ORG, current@FreeBSD.ORG Subject: How do you tell (within the kernel) if we started setuid? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 14 Jul 1998 10:37:46 +0800 From: Stephen Hocking-Senior Programmer PGS Tensor Perth Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you're executing a program that was started setuid root but has subsequently given up its privileges, is there anyway to tell if it was originally set uid? Stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message