#812: don't mark koops as not-reportable if taint flags consists only of G
--------------------+---------------------
 Reporter:  jfilak  |       Owner:  jfilak
     Type:  defect  |      Status:  new
 Priority:  major   |   Milestone:
Component:  abrt    |     Version:  2.0
 Keywords:          |  Blocked By:
 Blocking:          |
--------------------+---------------------
 - the P and G flags are complementary (one of these flags is always
 present)
 - the G flag is present even if no module was loaded
 - 'P' - Proprietary module has been loaded.
 - 'G' - All modules are licensed under the GPL or a license compatible
 with the GPL.

 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob_plain;f=kernel/panic.c;hb=HEAD

 {{{
 ...
 struct tnt {
         u8      bit;
         char    true;
         char    false;
 };

 static const struct tnt tnts[] = {
         { TAINT_PROPRIETARY_MODULE,     'P', 'G' },
 ...

 const struct tnt *t = &tnts[i];
 *s++ = test_bit(t->bit, &tainted_mask) ?
                 t->true : t->false;
 ...
 }}}

-- 
Ticket URL: <https://fedorahosted.org/abrt/ticket/812>
Automatic Bug Reporting Tool - ABRT <http://fedorahoted.org/abrt/>
Automatic bug reporting tool

Reply via email to