CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/08/29 10:26:33

Modified files:
        etc            : rc 

Log message:
Move /tmp clearing earlier in /etc/rc

Moving pruning above relinking and early daemon startup to be able
to clear everything old without removing entries that are in use.

The goals are:

1) free up at least one inode, because mkstemp needs at least one
2) free up a few more, just in case.  We settled on 50.
3) With an inode freed up for mktemp, create a directory and move all the
deleteable files into that directory and remove it asyncronously.

The first two goals were very fiddly to get right.

Much help and discussion with deraadt@ plus dlg@ and kn@

ok for an earlier diff from kn@

Reply via email to