dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Functions
db-fsys-override.c File Reference

(5cdc783e5)

#include <config.h>
#include <compat.h>
#include <sys/types.h>
#include <errno.h>
#include <string.h>
#include <pwd.h>
#include <grp.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <dpkg/i18n.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/fdio.h>
#include <dpkg/debug.h>
#include <dpkg/db-fsys.h>
Include dependency graph for db-fsys-override.c:

Functions

uid_t statdb_parse_uid (const char *str)
 
gid_t statdb_parse_gid (const char *str)
 
mode_t statdb_parse_mode (const char *str)
 
void ensure_statoverrides (enum statdb_parse_flags flags)
 

Function Documentation

◆ ensure_statoverrides()

void ensure_statoverrides ( enum statdb_parse_flags  flags)

References _, DPKG_DB_NONE, dpkg_db_reopen(), DPKG_DB_SAME, DPKGSTAT, fd_read(), FHFF_NONE, dpkg_db::file, fsys_hash_find_node(), fsys_hash_iter_free(), fsys_hash_iter_new(), fsys_hash_iter_next(), file_stat::gid, file_stat::gname, m_malloc(), file_stat::mode, dpkg_db::name, nfmalloc(), nfstrsave(), ohshit(), ohshite(), onerr_abort, dpkg_db::pathname, dpkg_db::st, statdb_parse_gid(), STATDB_PARSE_LAX, statdb_parse_mode(), statdb_parse_uid(), fsys_namenode::statoverride, STATOVERRIDEFILE, file_stat::uid, and file_stat::uname.

Referenced by archivefiles().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ statdb_parse_gid()

gid_t statdb_parse_gid ( const char *  str)

References _, and ohshit().

Referenced by ensure_statoverrides().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ statdb_parse_mode()

mode_t statdb_parse_mode ( const char *  str)

References _, and ohshit().

Referenced by ensure_statoverrides().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ statdb_parse_uid()

uid_t statdb_parse_uid ( const char *  str)

References _, and ohshit().

Referenced by ensure_statoverrides().

Here is the call graph for this function:
Here is the caller graph for this function: