Permalink
Commits on Sep 18, 2018
  1. Merge pull request #1115 from redhatrises/update_os_defined

    matejak committed Sep 18, 2018
    Update OS_defines to use oscap_platforms.h
Commits on Sep 14, 2018
  1. Clean up oscap_platforms.h

    redhatrises committed Sep 14, 2018
Commits on Aug 31, 2018
  1. Add oscap_platforms.h to .h files that need it

    redhatrises committed Aug 7, 2018
Commits on Aug 28, 2018
  1. Merge pull request #1186 from matusmarhefka/developer-manual-doc

    jan-cerny committed Aug 28, 2018
    Developer manual: added cmake command which enables docs building
  2. docs/developer/developer.adoc: added cmake command which enables docs…

    matusmarhefka committed Aug 28, 2018
    … building
    
    Follows the PR #1169.
  3. Merge pull request #1184 from jan-cerny/move_getopt

    matusmarhefka committed Aug 28, 2018
    Move fallback implementation of getopt to utils
Commits on Aug 27, 2018
  1. Guard fallback getopt code by preprocessor macros

    jan-cerny committed Aug 27, 2018
    We should put #ifndef HAVE_GETOPT_H to make it more reliable.
  2. Fix incorrect include

    jan-cerny committed Aug 27, 2018
  3. Move fallback implementation of getopt to utils

    jan-cerny committed Aug 27, 2018
    The utils module is the consumer of the getopt API. Instead of
    including the getopt symbols in the shared library, we can
    build them into the oscap binary. This will usually happen
    on Windows and similar platforms hthat do not provide getopt.h.
Commits on Aug 22, 2018
  1. Merge pull request #1143 from jan-cerny/make_verbose

    cipherboy committed Aug 22, 2018
    Make verbose mode a common option for all modules
  2. Merge pull request #1176 from jan-cerny/fix_common_util

    cipherboy committed Aug 22, 2018
    Move public symbols to a public header
  3. Merge pull request #1171 from cipherboy/public-headers

    jan-cerny committed Aug 22, 2018
    Public headers
  4. Add missing includes

    jan-cerny committed Aug 22, 2018
Commits on Aug 21, 2018
  1. Move public symbols to a public header

    jan-cerny committed Aug 21, 2018
    Our header file src/common/util.h deifned both public and private
    symbols. If they are used in probes, they can be made private.
    Previously the probes used to be separated binaries, so all the
    functions used in probes had to be made public. However, this is
    no longer true, so these comments are not relevant anymore and they
    should be removed. On the other hand, if some of the functions is
    used in oscap utility, they need to be kept public. This commit
    moves the symbols that need to be kept public to a new header file
    src/common/oscap_helpers.h Moreover, the symbols that doesn't have
    to be public won't be public anymore.
Commits on Aug 20, 2018
  1. Merge pull request #1174 from jan-cerny/improve_check_api_script

    cipherboy committed Aug 20, 2018
    Improve check_public_api.py script
  2. Merge pull request #1169 from cipherboy/make-install-fix

    jan-cerny committed Aug 20, 2018
    Add ENABLE_DOCS to control building documentation
  3. Wrap doc generation in add_custom_command/add_custom_target pairs

    cipherboy committed Aug 20, 2018
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
Commits on Aug 17, 2018
  1. Print only if the difference is nonempty

    jan-cerny committed Aug 17, 2018
Commits on Aug 16, 2018
  1. Merge pull request #1168 from redhatrises/ci_osx_updates

    jan-cerny committed Aug 16, 2018
    Update OSX CI builds
  2. Remove unimplemented function probe_result_additem

    cipherboy committed Aug 16, 2018
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
  3. Remove unimplemented function probe_objent_setstatus

    cipherboy committed Aug 16, 2018
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
  4. Remove unimplemented function probe_obj_build

    cipherboy committed Aug 16, 2018
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
  5. Remove unimplemented function probe_item_newid

    cipherboy committed Aug 16, 2018
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
  6. Remove unimplemented function probe_item_build

    cipherboy committed Aug 16, 2018
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
  7. Add ENABLE_DOCS to control building documentation

    cipherboy committed Aug 16, 2018
    Closes: #1161
    
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
  8. Merge pull request #1145 from cipherboy/remove-sexp-parser

    jan-cerny committed Aug 16, 2018
    Remove SEXP_parser
  9. Use oval_operation_from_text in oval_fts_list API probes tests

    cipherboy committed Aug 16, 2018
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
  10. Add oval_operation_from_text to query oval_operator_t enum values fro…

    cipherboy committed Aug 16, 2018
    …m text
    
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
  11. Remove SEXP_parser completely from the codebase

    cipherboy committed Jul 31, 2018
    These changes remove the SEXP_parser from the public headers,
    including parser-specific data structures, but leaves the SEXP_t
    and associated data types are they are used extensively internally.
    This updates dependent data types which include these as members,
    noting that their members were relatively unused. Further, the
    definition of SEAP_desc_add was updated to remove the pstate
    argument, noting that it was passed as NULL every time it was called
    in our code base.
    
    This also removes the unused c file, `tests/API/SEAP/test_api_sexp_ID.c`,
    which to my knowledge was only ever compiled and never executed. Other
    tests are likewise removed.
    
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
  12. Add inline documentation to tests/API/probes/fts.sh

    cipherboy committed Aug 16, 2018
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
  13. Remove use of SEXP_parse from tests/API/probes/oval_fts_list.c

    cipherboy committed Jul 31, 2018
    In order to remove the SEXP_parser, we must first remove one of
    its only legitimate uses: in oval_fts_list.c. We use shell arguments
    and manually build a structured SEXP_t tree from the arguments
    instead of using a generic parser. This removes the test-time
    dependency on SEXP_parse and allows us to place data from the arguments
    into their correct places in the function call, versus parsing
    completely arbitrary data.
    
    We introduce the EMPTY_STRING value to allow passing an explicit
    empty string in the filename construction.
    
    Signed-off-by: Alexander Scheel <ascheel@redhat.com>
Commits on Aug 15, 2018
  1. Merge pull request #1167 from jan-cerny/fix_cvrf_api

    cipherboy committed Aug 15, 2018
    Add unimplemented functions from CVRF public API
  2. Update OSX builds

    redhatrises committed Aug 15, 2018
    - Enable python3 builds and make sure required build deps are installed