2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 06:25:34 +00:00

[#3832] Checkpoint: removed #3050 and fixes

This commit is contained in:
Francis Dupont
2025-04-29 10:54:02 +02:00
committed by Andrei Pavel
parent 3403f15dc7
commit 923990b389
4 changed files with 3 additions and 43 deletions

View File

@@ -7,7 +7,6 @@
#ifndef KEA_UTIL_FILESYSTEM_H
#define KEA_UTIL_FILESYSTEM_H
#include <sys/stat.h>
#include <string>
namespace isc {
@@ -49,23 +48,6 @@ isDir(const std::string& path);
bool
isFile(const std::string& path);
/// @brief RAII device to limit access of created files.
struct Umask {
/// @brief Constructor
///
/// Set wanted bits in umask.
Umask(mode_t mask);
/// @brief Destructor.
///
/// Restore umask.
~Umask();
private:
/// @brief Original umask.
mode_t orig_umask_;
};
bool
isSocket(const std::string& path);