[DragonFlyBSD - Bug #1924] (Rejected) mmap - add mmap offset randomisation

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Jun 12 23:42:19 PDT 2014

Issue #1924 has been updated by alexh.

Description updated
Status changed from New to Rejected
Assignee deleted (0)

There is no reason whatsoever to not use karc4random for mmap offset randomization.

Bug #1924: mmap - add mmap offset randomisation

* Author: robin.carey1
* Status: Rejected
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
Dear DragonFlyBSD bugs,

Alex Hornung recently (today ?) added mmap randomisation (security feature),
but in his commit he uses:


When he should really be using the superior kernel random number generator
presented to userland via




There are other portions of Kernel code which needs to do the same, e.g. I
think OpenBSDs PF Packet
Filter uses karc4random() ....

unnamed (656 Bytes)
unnamed (2.11 KB)
unnamed (6.49 KB)
unnamed (1.58 KB)

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list