tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [GSoC 2013] Implement file system flags to scrub data blocks before deletion



On May 16, 2013, at 9:34 PM, Przemysław Sierociński 
<przsie%gmail.com@localhost> 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@localhost - TU Braunschweig 
(Germany)



Home | Main Index | Thread Index | Old Index