Home
last modified time | relevance | path

Searched refs:saved_errno (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/basic/
Derrno-util.h9 static inline void _reset_errno_(int *saved_errno) { in _reset_errno_() argument
10 if (*saved_errno < 0) /* Invalidated by UNPROTECT_ERRNO? */ in _reset_errno_()
13 errno = *saved_errno; in _reset_errno_()
Dprocess-util.c1527 int current, limit, saved_errno; in setpriority_closest() local
1535 saved_errno = -errno; in setpriority_closest()
1536 if (!ERRNO_IS_PRIVILEGE(saved_errno)) in setpriority_closest()
1537 return saved_errno; in setpriority_closest()
1551 return saved_errno; in setpriority_closest()
Dsocket-util.c636 int saved_errno = errno; in socknameinfo_pretty() local
642 log_debug_errno(saved_errno, "getnameinfo(%s) failed: %m", ret); in socknameinfo_pretty()
/systemd-251/src/core/
Dselinux-access.c148 int saved_errno = errno; in access_init() local
152 …log_full_errno(enforce ? LOG_ERR : LOG_WARNING, saved_errno, "Failed to open the SELinux AVC: %m"); in access_init()
164 …ror, SD_BUS_ERROR_ACCESS_DENIED, "Failed to open the SELinux AVC: %s", strerror_safe(saved_errno)); in access_init()