Article View: fa.netbsd.tech.kern
Article #105Re: [GSoC 2013] Implement file system flags to scrub data blocks before deletion
From: J. Hannken-Illjes
Date: Fri, 17 May 2013 10:34
Date: Fri, 17 May 2013 10:34
39 lines
3180 bytes
3180 bytes
On May 16, 2013, at 9:34 PM, Przemysław Sierociński <przsie@gmail.com> wrote: > Hello, > > I have received some comments on my project proposal, which can be found > https://google-melange.appspot.com/gsoc/proposal/review/google/gsoc2013/psie/1 , > however it would be great if I could detail more points. - Better start implementing mount flag and file flags and integrate them into mount_xxx, libutil and chflags first. - Kauth integration is missing. I propose to integrate with kauth so it becomes possible to set 'scrub_on_delete' per-file with flags, per-mount with flag and per-policy with kauth. > May I ask about your opinion on: > 1) What file system(s) besides ffs and ext2fs could be modified to > benefit users, Msdosfs and NFS would be fine but at least NFS will be out of scope ... Beware that FFS integration will be difficult as blocks may be claimed by snapshots and freed later when the last snapshot holding the block gets removed. See ffs_snapblkfree(). > 2) What user space binaries have to be changed? > > I am finding figuring out these two a little troubling, as I don't > want to miss anything. > Any other comments/suggestions are also more then welcome. > > I am not planning to implement undelete instead, unless it is really wanted. > > Mrs. S.P.Zeidler suggested I posted here, yet I started on > tech-security, I apologize and hope discussion won't diverge. -- J. Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)
Technical Details
Message-ID:
<fa.mMRqNKM7f9KV28qg78J+5TVwVr0@ifi.uio.no>Path:
arc1-ca.pugleaf.net!ln4ni3429pbb.0!nntp.google.com!news.glorb.com!uio.no!nntp.uio.no!.POSTED!not-for-mailReferences:
<fa.sEAkPTH8tj0Hz+O4GjH/0NrdGQE@ifi.uio.no>Show Full Headers
Complete Article Headers
X-Google-Thread: b7e13b6095,c7d2965c68d9d35e,start
X-Google-Attributes: gidb7e13b6095,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,UTF8
X-Received: by 10.66.191.10 with SMTP id gu10mr7736721pac.7.1368786856089;
Fri, 17 May 2013 03:34:16 -0700 (PDT)
Path: arc1-ca.pugleaf.net!ln4ni3429pbb.0!nntp.google.com!news.glorb.com!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: "J. Hannken-Illjes" <hannken@eis.cs.tu-bs.de>
Newsgroups: fa.netbsd.tech.kern
Subject: Re: [GSoC 2013] Implement file system flags to scrub data blocks before deletion
Date: Fri, 17 May 2013 10:34:15 UTC
Organization: Internet mailing list
Lines: 40
Sender: tech-kern-owner@NetBSD.org
Message-ID: <fa.mMRqNKM7f9KV28qg78J+5TVwVr0@ifi.uio.no>
References: <fa.sEAkPTH8tj0Hz+O4GjH/0NrdGQE@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
X-Trace: readme.uio.no 1368786855 2139 129.240.7.9 (17 May 2013 10:34:15 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Fri, 17 May 2013 10:34:15 +0000 (UTC)
Cc: tech-kern@NetBSD.org
To: Przemysław Sierociński <przsie@gmail.com>
Delivered-To: tech-kern@NetBSD.org
X-Virus-Scanned: amavisd-new at NetBSD.org
In-Reply-To: <CAFEq-UGvLSOKa-wEcY2qYcSe4gP8Cu6ySN06cZtuLxqQUkBZKA@mail.gmail.com>
X-Mailer: Apple Mail (2.1503)
List-Id: tech-kern.NetBSD.org
Original-Date: Fri, 17 May 2013 12:33:47 +0200
Original-Message-Id: <E06D2EA7-813D-4133-A64B-21C43C29D255@eis.cs.tu-bs.de>
Original-References: <CAFEq-UGvLSOKa-wEcY2qYcSe4gP8Cu6ySN06cZtuLxqQUkBZKA@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit