[lkml]   [1998]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Secure deletion
    On 980723, Richard B. Johnson wrote:
    > Suppose you modified the 'C' runtime library so it could be recompiled with
    > a switch that changes anything that 'removes' files to:
    > stat the file (to get length);
    > write the file with junk.
    > close the file.
    > sync the file-system.
    > unlink the file.
    > sync the file-system.

    fd = open("file", O_RDONLY);
    while (line = get_line(fd))

    is valid in Unix.

    I don't think this can be solved in user space. Not as part of a wrapper
    around unlink(), at least. It needs a hook into the file actually being

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:43    [W:0.031 / U:0.120 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site