Re: [PATCH 2/2] drm/amdgpu: Enable clear page functionality

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

 



Am 13.12.23 um 16:46 schrieb Michel Dänzer:
From a security PoV, the kernel should never return uncleared memory to (at least unprivileged) user space. This series seems like a big step in that direction.

Well please take a look at the MAP_UNINITIALIZED flag for mmap(). We even have the functionality to return uninitialized system memory when the kernel compile option for this is set since this is an important optimization for many use cases.

Regards,
Christian.

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux