All of lore.kernel.org
 help / color / mirror / Atom feed
* Do we break POSIX?
@ 2003-11-10 13:37 Tom
  2003-11-10 14:02 ` Stephen Smalley
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Tom @ 2003-11-10 13:37 UTC (permalink / raw)
  To: selinux

One point brought up by Theo DeRaadt during PacSec was that according
to POSIX, write operations can not return a permission denied error.

I could not argue with him on that because I have not actually read the
POSIX standard, but he has a valid point in that breaking standards
would be a big no.

Does anyone know immediately if this is so and if we are indeed
breaking POSIX? If nobody can answer that, I will find out myself, as
I've promised him to check.


-- 
PGP/GPG key: http://web.lemuria.org/pubkey.html
pub  1024D/2D7A04F5 2002-05-16 Tom Vogt <tom@lemuria.org>
     Key fingerprint = C731 64D1 4BCF 4C20 48A4  29B2 BF01 9FA1 2D7A 04F5

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: Do we break POSIX?
@ 2003-11-10 18:19 Miner, Jonathan W
  0 siblings, 0 replies; 9+ messages in thread
From: Miner, Jonathan W @ 2003-11-10 18:19 UTC (permalink / raw)
  To: 'Richard Troth ', 'Stephen Smalley '
  Cc: 'Tom ', 'selinux@tycho.nsa.gov '

Solaris behaves the same way.

-----Original Message-----
From: Richard Troth
To: Stephen Smalley
Cc: Tom; selinux@tycho.nsa.gov
Sent: 11/10/03 12:18 PM
Subject: Re: Do we break POSIX?

> NFS can yield the same behavior.  If you are holding a file open on
the
> client and writing to it, and someone changes the ownership of the
file
> on the server, then subsequent write() requests will fail with
> Permission denied.  I just tested with a Linux client and server to
> verify, and this is what happens.

Find a Sun.
Test with Solaris.
(Just to be more sure.)
-------

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <Xine.LNX.4.44.0311101653490.5261-100000@thoron.boston.redhat.com>]

end of thread, other threads:[~2003-11-14 14:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-10 13:37 Do we break POSIX? Tom
2003-11-10 14:02 ` Stephen Smalley
2003-11-10 17:18   ` Richard Troth
2003-11-14 14:59   ` Jakob Oestergaard
2003-11-10 18:03 ` [selinux] " Magosányi Árpád
2003-11-10 21:32 ` Thorsten Kukuk
2003-11-10 21:52 ` James Morris
  -- strict thread matches above, loose matches on Subject: below --
2003-11-10 18:19 Miner, Jonathan W
     [not found] <Xine.LNX.4.44.0311101653490.5261-100000@thoron.boston.redhat.com>
2003-11-10 23:35 ` James Morris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.