]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/compat.cc
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / common / compat.cc
index 3380d1cd031c6bbb1d1547559ed65e30fd6f9873..ceb8a0115b47936a5e83c3548fab8263214ab43e 100644 (file)
@@ -46,6 +46,7 @@ int manual_fallocate(int fd, off_t offset, off_t len) {
     return errno;
   char data[1024*128];
   // TODO: compressing filesystems would require random data
+  // FIPS zeroization audit 20191115: this memset is not security related.
   memset(data, 0x42, sizeof(data));
   for (off_t off = 0; off < len; off += sizeof(data)) {
     if (off + static_cast<off_t>(sizeof(data)) > len)