BIND 10 #3056: MemorySegmentMappedTest.badAllocate fails when run as root user
BIND 10 Development
do-not-reply at isc.org
Tue Jul 16 06:06:19 UTC 2013
#3056: MemorySegmentMappedTest.badAllocate fails when run as root user
-------------------------------------+-------------------------------------
Reporter: muks | Owner:
Type: defect | UnAssigned
Priority: medium | Status:
Component: data source | reviewing
Keywords: | Milestone:
Sensitive: 0 | Sprint-20130723
Sub-Project: DNS | Resolution:
Estimated Difficulty: 0 | CVSS Scoring:
Total Hours: 0 | Defect Severity: N/A
| Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Description changed by muks:
Old description:
> `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.
New description:
`MemorySegmentMappedTest.badAllocate` sets the mode on the mapped file to
0444, and tries to re-open the mapped file for writing (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#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list