Introduce 'kdist cve edit-db' command to modify/remove an existing CVE

For now only 'since' and 'description' fields can be modified.'

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Remove unused helper version__is_released()

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Libify cmp_kernel_version() and rename it into version__cmp()

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
cve-list-db: introduce --max-version option

This option is used to filter out CVEs which are known to be present
only for kernels =< version xxx.

For example if a bug has been introduce during 3.7 devel cycle,
--max-version=3.7 would not show the correspond CVE whereas
--max-version=3.[89..] would.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
cve: introduce __reset_cve_queried_values()
cve: change cve_db__query_by_id() semantic in order to select which fields to query

The new --field option take a shell pattern.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
cve: notes can be added to CVEs

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>