linux-integrity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ERROR: "process_buffer_measurement" [security/integrity/ima/ima_asymmetric_keys.ko] undefined!
@ 2020-01-04 18:37 kbuild test robot
  2020-01-04 18:53 ` Lakshmi Ramasubramanian
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2020-01-04 18:37 UTC (permalink / raw)
  To: Lakshmi Ramasubramanian; +Cc: kbuild-all, linux-integrity, Mimi Zohar

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next-integrity
head:   f47825c694851955fa4c492dd56809621529b086
commit: 88e70da170e8945f6b1c1299083d1b942705beb5 IMA: Define an IMA hook to measure keys
date:   3 weeks ago
config: i386-randconfig-c002-20200103 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
        git checkout 88e70da170e8945f6b1c1299083d1b942705beb5
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   WARNING: modpost: missing MODULE_LICENSE() in security/integrity/ima/ima_asymmetric_keys.o
   see include/linux/module.h for more information
>> ERROR: "process_buffer_measurement" [security/integrity/ima/ima_asymmetric_keys.ko] undefined!

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31089 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ERROR: "process_buffer_measurement" [security/integrity/ima/ima_asymmetric_keys.ko] undefined!
  2020-01-04 18:37 ERROR: "process_buffer_measurement" [security/integrity/ima/ima_asymmetric_keys.ko] undefined! kbuild test robot
@ 2020-01-04 18:53 ` Lakshmi Ramasubramanian
  2020-01-04 23:15   ` Mimi Zohar
  0 siblings, 1 reply; 3+ messages in thread
From: Lakshmi Ramasubramanian @ 2020-01-04 18:53 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-integrity, Mimi Zohar, Nayna Jain

On 1/4/2020 10:37 AM, kbuild test robot wrote:

>     WARNING: modpost: missing MODULE_LICENSE() in security/integrity/ima/ima_asymmetric_keys.o
>     see include/linux/module.h for more information

The new file ima_asymmetric_keys.c does have the license header (similar 
to the license header in other files in IMA folder). Did I missing 
something?

>>> ERROR: "process_buffer_measurement" [security/integrity/ima/ima_asymmetric_keys.ko] undefined!

process_buffer_measurement() is defined ima_main.c - this function was 
updated in Nayna's patch and I had updated it.

thanks,
  -lakshmi



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ERROR: "process_buffer_measurement" [security/integrity/ima/ima_asymmetric_keys.ko] undefined!
  2020-01-04 18:53 ` Lakshmi Ramasubramanian
@ 2020-01-04 23:15   ` Mimi Zohar
  0 siblings, 0 replies; 3+ messages in thread
From: Mimi Zohar @ 2020-01-04 23:15 UTC (permalink / raw)
  To: Lakshmi Ramasubramanian, kbuild test robot
  Cc: kbuild-all, linux-integrity, Nayna Jain

On Sat, 2020-01-04 at 10:53 -0800, Lakshmi Ramasubramanian wrote:
> On 1/4/2020 10:37 AM, kbuild test robot wrote:
> 
> >     WARNING: modpost: missing MODULE_LICENSE() in security/integrity/ima/ima_asymmetric_keys.o
> >     see include/linux/module.h for more information
> 
> The new file ima_asymmetric_keys.c does have the license header (similar 
> to the license header in other files in IMA folder). Did I missing 
> something?
> 
> >>> ERROR: "process_buffer_measurement" [security/integrity/ima/ima_asymmetric_keys.ko] undefined!
> 
> process_buffer_measurement() is defined ima_main.c - this function was 
> updated in Nayna's patch and I had updated it.

It's trying to build ima_asymmetric_keys.c for some reason as a
separate kernel module, which it isn't.

Mimi


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-04 23:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-04 18:37 ERROR: "process_buffer_measurement" [security/integrity/ima/ima_asymmetric_keys.ko] undefined! kbuild test robot
2020-01-04 18:53 ` Lakshmi Ramasubramanian
2020-01-04 23:15   ` Mimi Zohar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).