Re: ipcclean in 8.1 broken?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ipcclean in 8.1 broken?
Date: 2006-03-03 18:45:21
Message-ID: 20060303184521.GA52832@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Mar 03, 2006 at 01:00:59PM -0500, Bruce Momjian wrote:
> Tom Lane wrote:
> > (I'm not finding it right now, but I'm pretty sure that the SUS
> > specifies that numeric userid == 0 for superuser, whereas "root" is not
> > required to be the name, so this would be more correct anyway.)

The Rationale (XRAT) Definitions section says for "Superuser":

This concept, with great historical significance to UNIX system
users, has been replaced with the notion of appropriate privileges.

An excerpt from the definition of "Appropriate Privileges" is

For many historical implementations of the UNIX system, the
presence of the term "appropriate privileges" in POSIX.1 may be
understood as a synonym for "superuser" (UID 0). However, other
systems have emerged where this is not the case and each discrete
controllable action has appropriate privileges associated with
it. Because this mechanism is implementation-defined, it must
be described in the conformance document.

(I'd post links but people elsewhere haved bitched about doing that
because the documents are supposed to require registration to read.
If that's true then it seems silly that they're available to anybody
who knows the URL.)

> Can we assume 'id' is on all unix systems?

It's defined in Shell and Utilities (XCU). If the system doesn't
have it then one must wonder what else the system is missing.

--
Michael Fuhr

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paesold 2006-03-03 18:49:08 Re: ipcclean in 8.1 broken?
Previous Message Tom Lane 2006-03-03 18:40:45 Re: Foreign keys for non-default datatypes