Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2000 10:01:19 -0500
From:      Brad Guillory <round@baileylink.net>
To:        freebsd-security@FreeBSD.ORG
Subject:   Re: FreeBSDDEATH.c.txt (mmap dirty page no check bug)
Message-ID:  <20000606100119.B56528@baileylink.net>
In-Reply-To: <200006061440.HAA93503@apollo.backplane.com>; from dillon@apollo.backplane.com on Tue, Jun 06, 2000 at 07:40:41AM -0700
References:  <Pine.BSF.4.21.0006021647100.10651-100000@epsilon.lucida.qc.ca> <Pine.BSF.3.96.1000606222934.9047A-100000@aurora.scoop.co.nz> <20000606141000.H36228@vuurwerk.nl> <200006061440.HAA93503@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I would suggest checking a file's atime over mtime.  Of course
this will not work if you visit every file on a periodic basis
(tar, grep whatever).

BMG

On Tue, Jun 06, 2000 at 07:40:41AM -0700, Matthew Dillon wrote:
> 
> :On Tue, Jun 06, 2000 at 10:38:37PM +1200, Andrew McNaughton wrote:
> :[snip]
> :> 
> :> Absence of /tmp is a pretty major oversight for any machine.  Putting it
> :> on the root partition is doubly so.  If there's no sepsrate partition it
> :> should at least be an alias to /var/tmp or something of the sort. 
> :
> :To /usr/tmp, please, then.
> :
> :/var/tmp is designed to be not cleaned out on reboots.
> :
> :Greetz, Peter.
> 
>     It should be /var/tmp.   It's bad enough that some bozo created two
>     standard locations for temporary files (/tmp and /var/tmp), we don't
>     want to add a third.
> 
>     Frankly, it makes no sense to have more then one.  In every machine
>     I've ever configured for the last umpteen years I've created a /var/tmp
>     partition and softlinked /tmp to it.  Programs make no real distinction
>     in functionality except perhaps a couple of minor ones in our tree.
>     You wind up having to put tonnes of space in both anyway so they might
>     as well be the same.  It just doesn't make any sense to separate them
>     out nor does it make sense to introduce yet another 'standard' location
>     for tmp.
> 
>     The cron job should generally just use a find -mtime ... -delete for
>     /tmp rather then attempt to wipe it entirely.  There should be no
>     distinction in functionality.
> 
>     So it should be /var/tmp with /tmp a softlink.  Works just dandy even
>     in single-user mode (you create a degenerate /var/tmp in / so you get
>     a working tmp even if /var is not mounted).
> 
> 					-Matt
> 					Matthew Dillon 
> 					<dillon@backplane.com>
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message

-- 
    __O    |     Information wants to be free!     |     __O    Bike
  _-\<,_   |  FreeBSD:The Power to Serve (easily)  |   _-\<,_    to
 (_)/ (_)  | OpenBSD:The Power to Serve (securely) |  (_)/ (_)  Work


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000606100119.B56528>