Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/fs/tmpfs



Module Name:    src
Committed By:   kre
Date:           Wed Oct  7 04:25:09 UTC 2026

Modified Files:
        src/sys/fs/tmpfs: tmpfs_mem.c

Log Message:
PR kern/60601 - Avoid 32 bit wraparound on ILP32 hosts

In tmpfs_bytes_max calculate avail_mem using 64 bit calculations,
rather than one small piece being 32 bit only (and subject to
simple overflow, entirely within reasonable values).

Reported and diagnosed by Hashimoto Kenichi in PR kern/60601

XXX - pullup -11 -10 (in a week or two).


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/fs/tmpfs/tmpfs_mem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index