- Contact: tech-security
- Mentors: Alistair G. Crooks, David Holland
- Duration estimate: 3 months
IMPORTANT: This project was completed by Przemyslaw Sierocinski. You may still contact the people above for details, but please do not submit an application for this project.
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.