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>] [day] [month] [year] [list]
Date:   Wed, 28 Aug 2019 17:12:23 +0800 (CST)
From:   宋 <csqshz@....com>
To:     linux-kernel@...r.kernel.org
Subject: [Question] What is the main function of sym_calc_value() under
 scripts/kconfig/symbol.c


Hi,


When "make KCONFIG_ALLCONFIG= mytmp.config alldefconfig", I find sym_calc_value() under scripts/kconfig/symbol.c is called many times.


But I don't understand what does sym_calc_value() do.


make KCONFIG_ALLCONFIG= mytmp.config alldefconfig
-> scripts/kconfig/conf.c main()
-> switch case alldefconfig
-> conf_write()
-> sym_calc_value()
sym_calc_value() is also called in many other place.


Can you tell me the function of sym_calc_value() ?


main(): https://github.com/torvalds/linux/blob/9e8312f5e160ade069e131d54ab8652cf0e86e1a/scripts/kconfig/conf.c#L486


sym_calc_value(): https://github.com/torvalds/linux/blob/9e8312f5e160ade069e131d54ab8652cf0e86e1a/scripts/kconfig/symbol.c#L319 


BestRegard,
-- Csqshz


 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ