Coverage Report

Created: 2023-11-12 09:30

/proc/self/cwd/source/common/api/posix/os_sys_calls_impl_hot_restart.cc
Line
Count
Source (jump to first uncovered line)
1
#include <cerrno>
2
3
#include "source/common/api/os_sys_calls_impl_hot_restart.h"
4
5
namespace Envoy {
6
namespace Api {
7
8
0
SysCallIntResult HotRestartOsSysCallsImpl::shmOpen(const char* name, int oflag, mode_t mode) {
9
0
  const int rc = ::shm_open(name, oflag, mode);
10
0
  return {rc, errno};
11
0
}
12
13
0
SysCallIntResult HotRestartOsSysCallsImpl::shmUnlink(const char* name) {
14
0
  const int rc = ::shm_unlink(name);
15
0
  return {rc, errno};
16
0
}
17
18
} // namespace Api
19
} // namespace Envoy