[[!template id=project
title="Implement file system flags to scrub data blocks before deletion"
contact="""
[tech-security](mailto:tech-security@NetBSD.org)
"""
mentors="""
[Alistair G. Crooks](mailto:agc@NetBSD.org), [David Holland](mailto:dholland@NetBSD.org)
"""
category="kernel"
difficulty="easy"
duration="3 months"
done_by="Przemyslaw Sierocinski"
description="""
This project requires the implementation of a new mount option, and a new system and user file system flag, which, when set, will write random data over file system blocks before they are to be deleted. In the NetBSD kernel, this will take place at the time of the last unlink of a file, and when ftruncate is called.
The project will involve the investigation of retrieving or generating random data within the kernel, along with research into ways of retrieving large amounts of low-quality random data, such as LSFR, Mersenne twisters, and PRNGs. As well as implementing the file system flags within the kernel, user-level programs and library functions which manipulate the flags will need to be modified. Documentation detailing the new functionality must also be provided.
"""
]]
[[!tag gsoc]]