[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
http://bugs.dragonflybsd.org/issues/1924#change-12082

* 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:

karc4random()

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

/dev/random

and

/dev/urandom

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

---Files--------------------------------
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