]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: stub certain modules and functions on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 18 Oct 2019 15:51:30 +0000 (15:51 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 4 Jun 2020 15:52:16 +0000 (15:52 +0000)
commit61227dfbaf4aa357baad18f906f3b59194378d87
tree7e9ed26a0bd1ef1682ee86f63b4402a3308676ed
parent69b362269a719b38da225e80b37add31265eac81
common: stub certain modules and functions on Windows

We're going to stub certain modules and functions for Windows builds.
Some of them will be implemented in subsequent commits, some are platform
specific and will be skipped.

Modules:
* module.c
* subprocess.cc
* blkdev.cc
* dns_resolve.cc
* numa.cc
* syslog.h
* statvfs.h
* libblk
* neorados

Functions:
x signal functions
x fork
x chown
* socketpair_cloexec
* dump_open_fds
* run_cmd
* is_symlink
* CInode::d_type
* nbd commands

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
21 files changed:
src/CMakeLists.txt
src/common/CMakeLists.txt
src/common/SubProcess.cc
src/common/SubProcess.h
src/common/Thread.cc
src/common/blkdev_win32.cc [new file with mode: 0644]
src/common/compat.cc
src/common/dns_resolve.h
src/common/dns_resolve_win32.cc [new file with mode: 0644]
src/common/fd.cc
src/common/fork_function.h
src/common/ipaddr.cc
src/common/module.c
src/common/numa.cc
src/common/signal.cc
src/include/compat.h
src/include/win32/sys/statvfs.h [new file with mode: 0644]
src/include/win32/syslog.h [new file with mode: 0644]
src/os/ObjectStore.h
src/tools/CMakeLists.txt
src/tools/rbd/action/Nbd.cc