1KSC(1) User Commands KSC(1)
2
3
4
6 ksc - Linux kernel module source checker
7
9 ksc [ -d | --directory ] DIRECTORY
10
11 ksc [ -k | --ko ] FILE
12
14 KSC accepts command-line arguments, and has both a long and short form
15 usage. You can use either style or combine them to specify options.
16 When the tool is run with kernel module sources it checks for all four
17 architectures, and when run with binary kernel modules, it checks for
18 the specific architecture for which the binary was built.
19
20
21
22 -h, --help
23 show this help message and exit
24
25 -c CONFIG, --config=CONFIG
26 path to the local ksc.conf file. If not specified the tool tries
27 to read from ~/ksc.conf and if that is also not found then from
28 /etc/ksc.conf.
29
30 -d DIRECTORY, --directory=DIRECTORY
31 path to the directory with kernel module sources.
32
33 -i, --internal
34 to create text files to be used internally.
35
36 -k KO, --ko=KO
37 path to the ko file. You should either use -d or -k to run the
38 KSC tool, but not both. If both -d and -k option is used at the
39 same time then only -d is used and the -k option is discarded.
40 Option -k can be specified multiple times.
41
42 -n RELEASENAME, --name=RELEASENAME
43 Red Hat release against which the bug is to be filed, e.g '6.5'.
44 Default value is 6.5.
45
46 -p PREVIOUS, --previous=PREVIOUS
47 path to the previous resultset file and submit it as a bug to
48 Red Hat Bugzilla.
49
50 -r RELEASE, --release=RELEASE
51 RHEL whitelist release used for comparison, e.g. '6.5'.
52
53 -y SYMVERS, --symvers=SYMVERS
54 Path to the Module.symvers file. The current kernel path is used
55 if not specified.
56
57 -s, --submit
58 Submits the report to the Red Hat bugzilla
59 (https://bugzilla.redhat.com). The credentials need to be in
60 the /etc/ksc.conf file. The tool will prompt for bugzilla pass‐
61 word.
62
63 The configuration file looks like below:
64
65 [bugzilla]
66 user=user@redhat.com
67 partner=partner-name
68 partnergroup=partner-group
69 server=https://bugzilla.redhat.com/xmlrpc.cgi
70
71 -v, --version
72 Prints KSC version number
73
74
75
76ksc - Version 0.9.22 December 2017 KSC(1)