[SERVER-20538] Build a general purpose SecureAllocator Created: 21/Sep/15  Updated: 04/Nov/15  Resolved: 27/Oct/15

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: 3.1.8
Fix Version/s: 3.2.0-rc2

Type: Task Priority: Major - P3
Reporter: Mira Carey Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-20152 Lock SymmetricKey data pointer to avo... Closed
Backwards Compatibility: Fully Compatible
Sprint: Platform A (10/09/15), Platform B (10/30/15)
Participants:

 Description   

We should build a secure allocator for general use in the server whenever we need secure bits of memory.

It should:

  • mmap/munmap memory to keep bit on separate pages for lock/unlock
  • mlock/unlock
  • zero on deallocation
  • Satisfy the minimal allocator api for the stl so it can be used with types like std::vector and std::string


 Comments   
Comment by Githook User [ 27/Oct/15 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-20538 Build a general purpose SecureAllocator
Branch: master
https://github.com/mongodb/mongo/commit/17a0b2a3be87fb1a1a86db2ee0bf1871e4b8d6fc

Generated at Thu Feb 08 03:54:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.