From owner-freebsd-hackers Fri Oct 26 3:54:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 0DFD437B403 for ; Fri, 26 Oct 2001 03:54:33 -0700 (PDT) Received: from localhost (ilmar@localhost) by fledge.watson.org (8.11.6/8.11.5) with ESMTP id f9QAdE384973; Fri, 26 Oct 2001 06:39:15 -0400 (EDT) (envelope-from ilmar@watson.org) Date: Fri, 26 Oct 2001 06:39:14 -0400 (EDT) From: "Ilmar S. Habibulin" To: Terry Lambert Cc: freebsd-hackers@freebsd.org Subject: Re: how can i wipeout swap pages? In-Reply-To: <3BD83020.E1CD620F@mindspring.com> Message-ID: <20011026061529.G84891-100000@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 25 Oct 2001, Terry Lambert wrote: > To do what you want, which is to clean the backing pages, you Yes, i mean cleaning pages in the backing storage. > are better off doing it for all freed blocks, not just swap > blocks (if someone can read your swap, they can read other data > off your unallocated disk blocks from the FS, as well). I clean UFS freed disk blocks, but i don't know how to do it from swap_pager. :( there are some kva to phisical mapping, which i do not understand. So i thought someone could point me how can write block from swap_pager to the disk or where can i read more info (except McKusicks' book and kernel sources). PS. I can make patch, which wipes files(freed blocks) upon deletion for -current, if someone is interested. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message