On Tue, Sep 29 2015, Kees Cook wrote:
> On Tue, Sep 29, 2015 at 12:10 AM, Rasmus Villemoes
> wrote:
>
>> I guess I could, but do we really want to intentionally trigger
>> WARN_ON_ONCEs? Say some distro chooses to load this module at boot
>> time, then we'd both spam the kernel log with "false
On Wed, Sep 30 2015, Andy Shevchenko wrote:
> It's still better to distinguish what function does by names
> test vs. __test confuses me.
Think of test() as the ordinary "public" interface and __test() as
"private, but we expose it because you might need it, if you know what
you're doing".
On Mon, 2015-09-28 at 22:55 +0200, Rasmus Villemoes wrote:
> On Mon, Sep 28 2015, Andy Shevchenko <
> andriy.shevche...@linux.intel.com> wrote:
>
> > On Fri, 2015-09-25 at 19:41 +0200, Rasmus Villemoes wrote:
> > > This adds a simple module for testing the kernel's printf
> > > facilities.
On Mon, 2015-09-28 at 22:55 +0200, Rasmus Villemoes wrote:
> On Mon, Sep 28 2015, Andy Shevchenko <
> andriy.shevche...@linux.intel.com> wrote:
>
> > On Fri, 2015-09-25 at 19:41 +0200, Rasmus Villemoes wrote:
> > > This adds a simple module for testing the kernel's printf
> > > facilities.
On Wed, Sep 30 2015, Andy Shevchenko wrote:
> It's still better to distinguish what function does by names
> test vs. __test confuses me.
Think of test() as the ordinary "public" interface and __test() as
"private, but we expose it because you might need it,
On Tue, Sep 29 2015, Kees Cook wrote:
> On Tue, Sep 29, 2015 at 12:10 AM, Rasmus Villemoes
> wrote:
>
>> I guess I could, but do we really want to intentionally trigger
>> WARN_ON_ONCEs? Say some distro chooses to load this module at boot
>>
On Tue, Sep 29, 2015 at 12:10 AM, Rasmus Villemoes
wrote:
> On Tue, Sep 29 2015, Kees Cook wrote:
>
>>> +static void __init
>>> +test_string(void)
>>> +{
>>> + test("", "%s%.0s", "", "123");
>>> + test("ABCD|abc|123", "%s|%.3s|%.*s", "ABCD", "abcdef", 3, "123456");
>>> +
On Tue, Sep 29 2015, Kees Cook wrote:
>> +static void __init
>> +test_string(void)
>> +{
>> + test("", "%s%.0s", "", "123");
>> + test("ABCD|abc|123", "%s|%.3s|%.*s", "ABCD", "abcdef", 3, "123456");
>> + test("1 | 2|3 | 4|5 ", "%-3s|%3s|%-*s|%*s|%*s", "1", "2", 3,
>> "3",
On Tue, Sep 29 2015, Kees Cook wrote:
>> +static void __init
>> +test_string(void)
>> +{
>> + test("", "%s%.0s", "", "123");
>> + test("ABCD|abc|123", "%s|%.3s|%.*s", "ABCD", "abcdef", 3, "123456");
>> + test("1 | 2|3 | 4|5 ",
On Tue, Sep 29, 2015 at 12:10 AM, Rasmus Villemoes
wrote:
> On Tue, Sep 29 2015, Kees Cook wrote:
>
>>> +static void __init
>>> +test_string(void)
>>> +{
>>> + test("", "%s%.0s", "", "123");
>>> + test("ABCD|abc|123", "%s|%.3s|%.*s",
On Fri, Sep 25, 2015 at 10:41 AM, Rasmus Villemoes
wrote:
> This adds a simple module for testing the kernel's printf
> facilities. Previously, some %p extensions have caused a wrong return
> value in case the entire output didn't fit and/or been unusable in
> kasprintf(). This should help catch
On Mon, Sep 28 2015, Andy Shevchenko wrote:
> On Fri, 2015-09-25 at 19:41 +0200, Rasmus Villemoes wrote:
>> This adds a simple module for testing the kernel's printf
>> facilities. Previously, some %p extensions have caused a wrong return
>> value in case the entire output didn't fit and/or been
On Fri, 2015-09-25 at 19:41 +0200, Rasmus Villemoes wrote:
> This adds a simple module for testing the kernel's printf
> facilities. Previously, some %p extensions have caused a wrong return
> value in case the entire output didn't fit and/or been unusable in
> kasprintf(). This should help catch
On Fri, 2015-09-25 at 19:41 +0200, Rasmus Villemoes wrote:
> This adds a simple module for testing the kernel's printf
> facilities. Previously, some %p extensions have caused a wrong return
> value in case the entire output didn't fit and/or been unusable in
> kasprintf(). This should help catch
On Fri, Sep 25, 2015 at 10:41 AM, Rasmus Villemoes
wrote:
> This adds a simple module for testing the kernel's printf
> facilities. Previously, some %p extensions have caused a wrong return
> value in case the entire output didn't fit and/or been unusable in
>
On Mon, Sep 28 2015, Andy Shevchenko wrote:
> On Fri, 2015-09-25 at 19:41 +0200, Rasmus Villemoes wrote:
>> This adds a simple module for testing the kernel's printf
>> facilities. Previously, some %p extensions have caused a wrong return
>> value in case the
This adds a simple module for testing the kernel's printf
facilities. Previously, some %p extensions have caused a wrong return
value in case the entire output didn't fit and/or been unusable in
kasprintf(). This should help catch such issues. Also, it should help
ensure that changes to the
This adds a simple module for testing the kernel's printf
facilities. Previously, some %p extensions have caused a wrong return
value in case the entire output didn't fit and/or been unusable in
kasprintf(). This should help catch such issues. Also, it should help
ensure that changes to the
18 matches
Mail list logo