RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1500383 - ksc should not ignore symbols which it thinks are not exported
Summary: ksc should not ignore symbols which it thinks are not exported
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ksc
Version: 7.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Stanislav Kozina
QA Contact: Ziqian SUN (Zamir)
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-10 13:21 UTC by Martin Lacko
Modified: 2018-04-10 18:37 UTC (History)
2 users (show)

Fixed In Version: ksc-0.9.19-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 18:36:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0997 0 None None None 2018-04-10 18:37:14 UTC

Description Martin Lacko 2017-10-10 13:21:53 UTC
Description of problem:
ksc does not report symbols which are not found in Module.symvers file.


Version-Release number of selected component (if applicable):
0.9.16


How reproducible:
Always


Steps to Reproduce:
1. Create kernel module, which uses 'to_nnd' symbol
2. Run ksc on this module on rhel-7.0


Actual results:
ksc prints 'WARNING: External symbol does not exist in current kernel: to_nnd', and symbol 'to_nnd' is not present in ksc-result.txt.


Expected results:
to_nnd symbol should be included in NON-WHITELIST USAGE part of ksc tool,
because this symbol is present in rhel-7.4 Module.symvers


Additional info:

Comment 2 Ziqian SUN (Zamir) 2017-10-17 06:54:08 UTC
Reproduced on RHEL-7.4

$ rpm -q ksc
ksc-0.9.18-1.el7.noarch
$ uname -r
3.10.0-693.2.2.el7.x86_64
$ ksc -k kg-use-export.ko
('WARNING: External symbol does not exist in current kernel:', 'kg_export')
Checking against architecture x86_64
Total symbol usage: 1	Total Non white list symbol usage: 0
Score: 100.00%

A copy of the report is saved in /home/nay/zsun/ksc-result.txt

Comment 8 errata-xmlrpc 2018-04-10 18:36:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0997


Note You need to log in before you can comment on or make changes to this bug.