Branch: refs/heads/master
  Home:   https://github.com/Linaro/odp
  Commit: 1e925d0ccc7340575ddcfa07ab7bd372d751e006
      
https://github.com/Linaro/odp/commit/1e925d0ccc7340575ddcfa07ab7bd372d751e006
  Author: Josep Puigdemont <josep.puigdem...@linaro.org>
  Date:   2018-04-13 (Fri, 13 Apr 2018)

  Changed paths:
    M platform/linux-generic/odp_ishm.c

  Log Message:
  -----------
  linux-gen: shm: fill data used in do_map before the call

do_map() checks the block's external_fd field to find out whether the
file descriptor provided was allocated externally or not, before closing
it in case an error occurred. However, this field was only updated
_after_ calling the do_map() function. Fix this.

Signed-off-by: Josep Puigdemont <josep.puigdem...@linaro.org>
Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


  Commit: f96a21992e13cf401a3494f2caeec9d42f56f0d9
      
https://github.com/Linaro/odp/commit/f96a21992e13cf401a3494f2caeec9d42f56f0d9
  Author: Josep Puigdemont <josep.puigdem...@linaro.org>
  Date:   2018-04-13 (Fri, 13 Apr 2018)

  Changed paths:
    M platform/linux-generic/odp_ishm.c

  Log Message:
  -----------
  linux-gen: shm: do not close provided file descriptors

If we provide a file descriptor to _odp_ishm_reserve, this function
should not close them. It's the responsibility of the caller to decide
what to do with the file descriptor if the return value indicates an
error.

Signed-off-by: Josep Puigdemont <josep.puigdem...@linaro.org>
Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


  Commit: b1100fdba29d8f514236dbcfd6f17e7941c0256a
      
https://github.com/Linaro/odp/commit/b1100fdba29d8f514236dbcfd6f17e7941c0256a
  Author: Josep Puigdemont <josep.puigdem...@linaro.org>
  Date:   2018-04-13 (Fri, 13 Apr 2018)

  Changed paths:
    M platform/linux-generic/odp_ishm.c

  Log Message:
  -----------
  linux-gen: shm: be consistent with rest of the code

We should be consistent and use new_block as in the rest of the
function, instead of accessing the array of blocks using an index.

Signed-off-by: Josep Puigdemont <josep.puigdem...@linaro.org>
Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


  Commit: 48f8503baf847315dda6609abc01f5befe6e0284
      
https://github.com/Linaro/odp/commit/48f8503baf847315dda6609abc01f5befe6e0284
  Author: Josep Puigdemont <josep.puigdem...@linaro.org>
  Date:   2018-04-13 (Fri, 13 Apr 2018)

  Changed paths:
    M platform/linux-generic/odp_fdserver.c

  Log Message:
  -----------
  fdserver: change session ID after fork

This is to avoid the fdserver process from handling signals sent to the
process group.
This patch partly fixes: https://bugs.linaro.org/show_bug.cgi?id=3690

Signed-off-by: Josep Puigdemont <josep.puigdem...@linaro.org>
Suggested-by: Janne Peltonen <janne.pelto...@nokia.com>
Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


Compare: https://github.com/Linaro/odp/compare/c9d31f30ba4f...48f8503baf84

Reply via email to