[23443] in bugtraq
Re: SECURITY.NNOV: file locking and security (group policy DoS on Windows 2000 domain)
daemon@ATHENA.MIT.EDU (Seth Arnold)
Sat Dec 8 05:03:40 2001
Date: Fri, 7 Dec 2001 17:15:48 -0800
From: Seth Arnold <sarnold@wirex.com>
To: bugtraq@securityfocus.com
Message-ID: <20011207171548.N7800@wirex.com>
Mail-Followup-To: bugtraq@securityfocus.com
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="WN6aQKo+m8mGR1SW"
Content-Disposition: inline
In-Reply-To: <100167573558.20011207115758@SECURITY.NNOV.RU>; from 3APA3A@SECURITY.NNOV.RU on Fri, Dec 07, 2001 at 11:57:58AM +0300
--WN6aQKo+m8mGR1SW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Dec 07, 2001 at 11:57:58AM +0300, 3APA3A wrote:
> The way file locks interfere with file access depends on OS. There are 2
> possible situations: moderate and non-moderate file locks. *BSD and
> linux use non-moderate locking, while Windows NT locking is moderate.
> What does it mean? Under Unix file locking is only checked then another
> application tries to lock the file. If application doesn't use file
> locking it will not be affected by file locking.
3APA3A -- close....
A long-time feature of many Unix systems, including Linux (and probably
all the BSDs too, but I don't know this for sure) is mandatory file
locking, implemented in the kernel. It can be turned on using the setgid
bit on regular files.
Look for Documentation/mandatory.txt in the linux kernel source tree. It
has all the gory details on mandary file locking, as it is implemented
in the linux kernel. (Or, was implemented, in 1996.. :)
Cheers!
--=20
People who separate manpages from the programs
they document would steal sheep. -- apologies to Goudy
--WN6aQKo+m8mGR1SW
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8EWnD1XMg6PgdEDQRAhHuAKC/1mCJXVBD8erSaL1h+xqQXTwtZACg5Kdi
r/eoi3BsfK7Ywmt4hyqK41s=
=pfGF
-----END PGP SIGNATURE-----
--WN6aQKo+m8mGR1SW--