Re: [PATCH v2] modsign: use shred to overwrite the private key before deleting it

From: Alexander Holler
Date: Sun Jan 25 2015 - 08:46:51 EST


Am 25.01.2015 um 13:36 schrieb Alexander Holler:
Am 25.01.2015 um 13:24 schrieb Alexander Holler:
Am 25.01.2015 um 13:08 schrieb Richard Weinberger:

Or add support for the "s" chattr to major filesystems.

(...)

So maybe shred should first set the 's' attribute before calling unlink
on that file (if it doesn't already do it). I will look at it and send a
patch if necessary. It's at least a small bit where I can help. ;)

(...)

That currently looks like a total waste of time. Grepping the kernel for SECRM_FL looks like this flags isn't supported (used) by any fs.

Regards,

Alexander Holler
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/