BIND 10 #3056: MemorySegmentMappedTest.badAllocate fails when run as root user

BIND 10 Development do-not-reply at isc.org
Mon Jul 15 14:36:10 UTC 2013


#3056: MemorySegmentMappedTest.badAllocate fails when run as root user
-------------------------------------+-------------------------------------
                   Reporter:  muks   |                 Owner:  muks
                       Type:         |                Status:  new
  defect                             |             Milestone:
                   Priority:         |  Sprint-20130723
  medium                             |              Keywords:
                  Component:  data   |             Sensitive:  0
  source                             |           Sub-Project:  DNS
               CVSS Scoring:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 `MemorySegmentMappedTest.badAllocate` sets the mode on the mapped file to
 0444, and tries to re-open the mapped file (call indirectly to
 `growSegment()`).

 This test works in all cases except when the user running the test is
 `root`. `root` is able to write to a mode 0444 file.

 We should fix it so that this testcase is skipped when run as the `root`
 user.

-- 
Ticket URL: <http://bind10.isc.org/ticket/3056>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list