lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53DC8345.5050308@gmail.com>
Date:	Sat, 02 Aug 2014 14:20:53 +0800
From:	Lennox Wu <lennox.wu@...il.com>
To:	Chen Gang <gang.chen.5i5j@...il.com>
CC:	Liqin Chen <liqin.linux@...il.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arch: score: Export necessary symbols in related files

It was merged into Score's git tree, and it will show in the next PULL 
request.

Best,
Lennox

Chen Gang 於 2014/7/17 下午 05:01 寫道:
> On 07/17/2014 10:22 AM, Lennox Wu wrote:
>>   Acked-by: Lennox Wu<lennox.wu@...il.com>
>>
>
> OK, thank you for your work.
>
>
>> 2014-07-09 16:48 GMT+08:00 Chen Gang <gang.chen.5i5j@...il.com>:
>>> 'csum_partial_copy_from_user' and 'flush_dcache_page' are also needed by
>>> outside modules, so need export them in the related files.
>>>
>>> The related error (with allmodconfig under score):
>>>
>>>      MODPOST 1365 modules
>>>    ERROR: "csum_partial_copy_from_user" [net/rxrpc/af-rxrpc.ko] undefined!
>>>    ERROR: "flush_dcache_page" [net/sunrpc/sunrpc.ko] undefined!
>>>
>>>
>>> Signed-off-by: Chen Gang <gang.chen.5i5j@...il.com>
>>> ---
>>>   arch/score/lib/checksum_copy.c | 1 +
>>>   arch/score/mm/cache.c          | 1 +
>>>   2 files changed, 2 insertions(+)
>>>
>>> diff --git a/arch/score/lib/checksum_copy.c b/arch/score/lib/checksum_copy.c
>>> index 04565dd..9b770b3 100644
>>> --- a/arch/score/lib/checksum_copy.c
>>> +++ b/arch/score/lib/checksum_copy.c
>>> @@ -50,3 +50,4 @@ unsigned int csum_partial_copy_from_user(const char *src, char *dst,
>>>
>>>          return csum_partial(dst, len, sum);
>>>   }
>>> +EXPORT_SYMBOL(csum_partial_copy_from_user);
>>> diff --git a/arch/score/mm/cache.c b/arch/score/mm/cache.c
>>> index f85ec1a..be91041 100644
>>> --- a/arch/score/mm/cache.c
>>> +++ b/arch/score/mm/cache.c
>>> @@ -72,6 +72,7 @@ void flush_dcache_page(struct page *page)
>>>          addr = (unsigned long) page_address(page);
>>>          flush_data_cache_page(addr);
>>>   }
>>> +EXPORT_SYMBOL(flush_dcache_page);
>>>
>>>   /* called by update_mmu_cache. */
>>>   void __update_cache(struct vm_area_struct *vma, unsigned long address,
>>> --
>>> 1.9.2.459.g68773ac
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ