Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osal Integration Candidate: 2021-03-23 #917

Merged
merged 49 commits into from
Mar 22, 2021
Merged

Commits on Mar 11, 2021

  1. Configuration menu
    Copy the full SHA
    cdddcee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7cc4e3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2fb58c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d414c62 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d1d9e39 View commit details
    Browse the repository at this point in the history
  6. Fix #842, Remove NULL redefine

    skliper committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    4750bd2 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2021

  1. Configuration menu
    Copy the full SHA
    5980693 View commit details
    Browse the repository at this point in the history
  2. Fix #855, check against FD_SETSIZE in bsd-select

    The select() implementation utilizes its own set size limit
    that should be checked.
    jphickey committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    447366f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4a21edb View commit details
    Browse the repository at this point in the history
  4. Fix #857, correct interval calculation in DoSelect

    When calculating the relative time interval for the select() call,
    the increment should have been a decrement.
    
    This also adds a UT case that specifically exercises the carryover
    described.
    jphickey committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    4d7fc54 View commit details
    Browse the repository at this point in the history
  5. Fix #883, remove unreachable test

    The only way for this test happen would be if somehow the normal
    unlock process was bypassed.
    jphickey committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    f81f974 View commit details
    Browse the repository at this point in the history
  6. Fix #876, break up logic in return statement

    The return statement from OS_FileSys_FindVirtMountPoint() was
    performing several match operations and was hard to understand.
    
    This breaks up the statement so it is easier to read and adds
    some informational comments.
    jphickey committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    ec15028 View commit details
    Browse the repository at this point in the history
  7. Fix #869, rename OS_U32ValueWrapper_t

    The "U32" designator in the name had become confusing because all
    the members had over time migrated to a non-uint32/dedicated type.
    
    The point is to pass a value through a void* so a name change better
    indicates that purpose.
    jphickey committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    f1abc0c View commit details
    Browse the repository at this point in the history
  8. Fix #858, add check for EAGAIN in addition to EINTR

    This is documented as a possible errno from select on
    some systems, and the call should be repeated in that case.
    jphickey committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    d7c851f View commit details
    Browse the repository at this point in the history
  9. Fix #867, better error translation for ESPIPE errno

    The ESPIPE errno means that seeking is not supported on the
    given file handle.  Translate to the OS_ERR_OPERATION_NOT_SUPPORTED
    error rather than not implemented as it better indicates the
    actual condition.
    jphickey committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    7853845 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Configuration menu
    Copy the full SHA
    7a31e37 View commit details
    Browse the repository at this point in the history
  2. Fix #886, return moduleInfoGet error

    Propagate a VxWorks error on moduleInfoGet() call into OS_ERROR return.
    jphickey committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    1aad679 View commit details
    Browse the repository at this point in the history
  3. Fix #861, compile time assert for sockaddr size

    OSAL provides an abstract buffer for socket addresses, independent
    of the underlying implementation.  The size of this buffer is
    configurable by the user via compile-time options.
    
    This adds a CompileTimeAssert to confirm that the size of this
    abstract buffer is large enough to store any of the enabled
    address types. This also removes the need for runtime tests.
    jphickey committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    87c9cf2 View commit details
    Browse the repository at this point in the history
  4. Fix #862, comments describing select after connect

    A select() is used after connect() to provide application-controlled
    timeout on the connection initiation.
    
    This just adds some comments to describe why this is done.  It also
    adds a debug statement if the connect fails for a reason other than
    EINPROGRESS.
    jphickey committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    ef94a3d View commit details
    Browse the repository at this point in the history
  5. Fix #889, report timer_gettime error

    In VxWorks the impl calls timer_settime followed by timer_gettime on the
    same timer to check if rounding occurred.  If the second call fails this
    reports it as an error.
    
    Note unless there is some sort of OS bug this should be impossible to
    happen as this code only runs after a successful timer_settime.
    jphickey committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    bb2f5a2 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. Configuration menu
    Copy the full SHA
    e1bfcb1 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2021

  1. Configuration menu
    Copy the full SHA
    ffb3435 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #890 from skliper/fix875-copyblock_size

    Fix #875, Move copyblock size to define
    astrogeco committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    e24723b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #891 from skliper/fix873-rogue_while_loop

    Fix #873, Remove rogue while loop in OS_DeleteAllObjects
    astrogeco committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    2f128db View commit details
    Browse the repository at this point in the history
  4. Merge pull request #893 from skliper/fix859-switch_logic

    Fix #859, Consolidate duplicated switch in OS_SocketOpen_Impl
    astrogeco committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    04f84f1 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #892 from skliper/fix868-include_quotes

    Fix #868, Use quotes for local includes
    astrogeco committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    c332d9b View commit details
    Browse the repository at this point in the history
  6. Merge pull request #894 from skliper/fix854-const_correct

    Fix #854, Const correct input pointers
    astrogeco committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    8d6638d View commit details
    Browse the repository at this point in the history
  7. Merge pull request #895 from skliper/fix851-duplicate_prototype

    Fix #851, Remove duplicate network prototypes
    astrogeco committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    3546b4e View commit details
    Browse the repository at this point in the history
  8. Merge pull request #896 from skliper/fix842-rm_null_redefine

    Fix #842, Remove NULL redefine
    astrogeco committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    98b0320 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #912 from ArielSAdamsNASA/fix-911-add_contributing…

    …_guide
    
    Fix #911, Add Contributing Guide
    astrogeco committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    63672f2 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Merge pull request #914 from zanzaben/fix752_uniform_not_implemented_…

    …tests
    
    Fix #752, Utilize UTASSERT_CASETYPE_NA to report OS_ERR_NOT_IMPLEMENTED
    astrogeco committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    ddd8f27 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2021

  1. Merge pull request #897 from 'jphickey/fix-855-fd-setsize`

    Fix #855, check against FD_SETSIZE in bsd-select
    
    The select() implementation utilizes its own set size limit
    that should be checked.
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    db9b569 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #898 from jphickey/fix-857-doselect-calc

    Fix #857, correct interval calculation in DoSelect
    
    When calculating the relative time interval for the select() call,
    the increment should have been a decrement.
    
    This also adds a UT case that specifically exercises the carryover
    described.
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    58c172c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #909 from jphickey/fix-862-socket-connect-select

    Fix #862, comments describing select after connect
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    4725184 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #902 from jphickey/fix-858-check-eagain

    Fix #858, add check for EAGAIN in addition to EINTR
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    c29a2f4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #908 from jphickey/fix-861-sockaddr-size-check

    Fix #861, compile time assert for sockaddr size
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    a54f95f View commit details
    Browse the repository at this point in the history
  6. Merge pull request #840 from zanzaben/fix416_shell_functional_test

    Fix #416, add shell functional test
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    e599225 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #903 from jphickey/fix-867-better-espipe-error

    Fix #867, better error translation for ESPIPE errno
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    e9e71c7 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #901 from jphickey/fix-869-rename-value-wrapper

    Fix #869, rename OS_U32ValueWrapper_t
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    468ab5e View commit details
    Browse the repository at this point in the history
  9. Merge pull request #900 from jphickey/fix-876-breakup-logic

    Fix #876, break up logic in return statement
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    ab66b29 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #907 from jphickey/fix-889-timer_gettime-err

    Fix #889, report timer_gettime error
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    0ad9eb8 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #906 from jphickey/fix-886-moduleInfoGet-err

    Fix #886, return moduleInfoGet error
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    116677b View commit details
    Browse the repository at this point in the history
  12. Merge pull request #905 from jphickey/fix-882-max-module-comment

    Fix #882, make module comment same as other services
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    6f02345 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #899 from jphickey/fix-883-mutex-extra-check

    Fix #883, remove unreachable test
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    0876712 View commit details
    Browse the repository at this point in the history
  14. Fix #919, check index inside fdset conversions

    Add an extra limit check for the index, as it is possible
    due to padding that this goes beyond the end of the array.
    jphickey committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    cdd57c7 View commit details
    Browse the repository at this point in the history
  15. Merge pull request #920 from jphickey/fix-919-fdset-check-id

    Fix #919, check index inside fdset conversions
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    1583e16 View commit details
    Browse the repository at this point in the history
  16. Fix #921, make non-selectable fd an error

    Do not silently ignore a filehandle which was included in the OS_FdSet
    but the "selectable" flag is false.  Instead translate this to
    the OS_ERR_OPERATION_NOT_SUPPORTED error.
    jphickey committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    2b018c0 View commit details
    Browse the repository at this point in the history
  17. Merge pull request #922 from jphickey/fix-921-non-selectable-fd

    Fix #921, make non-selectable FD an error
    astrogeco committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    db8ccdc View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    65e301e View commit details
    Browse the repository at this point in the history