On Thu, May 6, 2010 at 11:39 AM, Serge E. Hallyn <[email protected]> wrote:
> Quoting Garrett Cooper ([email protected]):
>> On Thu, May 6, 2010 at 10:55 AM, Serge E. Hallyn <[email protected]> wrote:
>> > Quoting Garrett Cooper ([email protected]):
>> > So since we're all member of the doc team, send a patch for sysctl(2)
>> > manpage ERRORS section :)
>> >
>> > (mtk cc:d as this is probably news to him)
>>
>> I already have a bug outstanding for it:
>> https://bugzilla.kernel.org/show_bug.cgi?id=15446
>
> That's not what I said :)
Yeah, I understand. If you guys agree with the content, I will
submit a patch. Otherwise, the item will unfortunately remain dead in
the water :(.
>> >> > An LSM could choose to return -EPERM
>> >> > after all, or perhaps even something different. The thing that
>> >> > should scare us is if the call succeeds. If we give any false
>> >> > positives, then true positives will seem less scary.
>> >>
>> >> This will fail on older kernels as sysctl(2) always returned EPERM due
>> >
>> > Sorry - what will fail?
>>
>> Read through the link, and you will understand why your new proposed
>> patch with fail with a false negative.
>
> I'm not sure that thread means what you think it does.
Yes, I think it does mean what I think it does. 2.6.32 was
`corrected' to do a lot more things, one of which was to return EPERM
in certain cases where it completely bypassed that return code before.
That's why you're seeing the error now whereas before it was
completely bypassed :/.
> But look, just trying to help. And no time for it really. I'll drop
> this.
I appreciate your help as do a lot of other folks. I'm just trying
to (in my own pedantic way) be as unflexible as possible because the
requirements for each function call as per the documentation should be
crystal clear, as should the testcases. If not, then the developers
that develop against those requirements won't know what to expect and
bugs will only be introduced by accident into software. I don't want
that to happen and that's why I am the way I am.
Thanks,
-Garrett
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list