Searched refs:saved_errno (Results 1 – 4 of 4) sorted by relevance
9 static inline void _reset_errno_(int *saved_errno) { in _reset_errno_() argument10 if (*saved_errno < 0) /* Invalidated by UNPROTECT_ERRNO? */ in _reset_errno_()13 errno = *saved_errno; in _reset_errno_()
1527 int current, limit, saved_errno; in setpriority_closest() local1535 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()
636 int saved_errno = errno; in socknameinfo_pretty() local642 log_debug_errno(saved_errno, "getnameinfo(%s) failed: %m", ret); in socknameinfo_pretty()
148 int saved_errno = errno; in access_init() local152 …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()