]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: add platform checks
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 18 Oct 2019 11:05:47 +0000 (11:05 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Mon, 27 Jul 2020 08:26:31 +0000 (08:26 +0000)
commit51967594bc6fe5336e3ac85822d495752306dee5
tree623f7d6422fefd8cd8d5c7067abc379909a48645
parent9ce91a6c515d0308280527e7409ab1032bac7959
common: add platform checks

O_CLOEXEC is not available on Windows. Subprocesses do not inherit
handles unless explicitly requested when creating the handle.
That being considered, we'll avoid setting this flag on Windows.

The zfs check will also be skipped for now.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/common/compat.cc