News for hackers. Stuff that matters.
Re:Linux syslog on the way out? by saljam on Tuesday November 22, 2011 @02:53PM (#3267057)
Plan 9 has an extra permission for files; "append." When set, this means programs are only allowed to append text to the end of the file. Both simplifying logging (just open the file and write) and making it more secure (no arbitrary writes.)

I wonder if Lennart and Kay would accept a solution that simple...

Re:Linux syslog on the way out? by wmf on Tuesday November 22, 2011 @03:35PM (#3267229)
Linux also has append-only files, although as usual root can override it.
Re:Linux syslog on the way out? by ciupicri on Tuesday November 22, 2011 @06:36PM (#3267959)
Are you referring to chatattr +a log? The problem with these files is that they can't be renamed:

    # mv log log.old
    mv: cannot move `log' to `log.old': Operation not permitted
Re:Linux syslog on the way out? by bingaling on Tuesday November 22, 2011 @03:13PM (#3267130)
That's the curious thing about syslogging to a network log server, it is append only (assuming the log server isn't compromised.)

It is an existing solution that simple.