Project

General

Profile

Actions

Bug #1924

closed

mmap - add mmap offset randomisation

Added by robin.carey1 almost 14 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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 robin.carey1, 11/25/2010 04:12 PM
unnamed (2.11 KB) unnamed robin.carey1, 11/25/2010 05:30 PM
unnamed (6.49 KB) unnamed robin.carey1, 11/25/2010 05:36 PM
unnamed (1.58 KB) unnamed robin.carey1, 11/26/2010 08:56 AM
Actions

Also available in: Atom PDF