libzypp 17.31.23
|
Public Member Functions | |
CheckAccessDeleted::Impl * | clone () const |
bool | addDataIf (const CacheEntry &cache_r, std::vector< std::string > *debMap=nullptr) |
Add cache to data if the process is accessing deleted files. | |
void | addCacheIf (CacheEntry &cache_r, const std::string &line_r, std::vector< std::string > *debMap=nullptr) |
Add file to cache if it refers to a deleted executable or library file: | |
std::map< pid_t, CacheEntry > | filterInput (externalprogram::ExternalDataSource &source) |
CheckAccessDeleted::size_type | createProcInfo (const std::map< pid_t, CacheEntry > &in) |
Public Attributes | |
std::vector< CheckAccessDeleted::ProcInfo > | _data |
bool | _fromLsofFileMode = false |
bool | _verbose = false |
std::map< pid_t, std::vector< std::string > > | debugMap |
Pathname | _debugFile |
Definition at line 194 of file CheckAccessDeleted.cc.
CheckAccessDeleted::Impl * zypp::CheckAccessDeleted::Impl::clone | ( | ) | const |
Definition at line 213 of file CheckAccessDeleted.cc.
|
inline |
Add cache
to data
if the process is accessing deleted files.
pid
string in cache
is the proc line (pcuLR),
files
are already in place. Always clear the cache.files!
Definition at line 223 of file CheckAccessDeleted.cc.
|
inline |
Add file to cache if it refers to a deleted executable or library file:
(k) is 0
, or no link cout is present.
(t) is set to REG
or DEL
(f) is set to txt
, mem
or DEL
Definition at line 295 of file CheckAccessDeleted.cc.
std::map< pid_t, CacheEntry > zypp::CheckAccessDeleted::Impl::filterInput | ( | externalprogram::ExternalDataSource & | source | ) |
Definition at line 390 of file CheckAccessDeleted.cc.
CheckAccessDeleted::size_type zypp::CheckAccessDeleted::Impl::createProcInfo | ( | const std::map< pid_t, CacheEntry > & | in | ) |
Definition at line 465 of file CheckAccessDeleted.cc.
std::vector<CheckAccessDeleted::ProcInfo> zypp::CheckAccessDeleted::Impl::_data |
Definition at line 205 of file CheckAccessDeleted.cc.
bool zypp::CheckAccessDeleted::Impl::_fromLsofFileMode = false |
Definition at line 206 of file CheckAccessDeleted.cc.
bool zypp::CheckAccessDeleted::Impl::_verbose = false |
Definition at line 207 of file CheckAccessDeleted.cc.
std::map<pid_t,std::vector<std::string> > zypp::CheckAccessDeleted::Impl::debugMap |
Definition at line 209 of file CheckAccessDeleted.cc.
Pathname zypp::CheckAccessDeleted::Impl::_debugFile |
Definition at line 210 of file CheckAccessDeleted.cc.