chiark / gitweb /
import: add new minimal tool "systemd-import" for pulling down foreign containers...
[elogind.git] / src / shared / util.h
index a8ccf20bb8268f4ed65246b45372968a9d27df0f..96b8c1bcc0fdafd9e6efeb0c690aedb64aafd269 100644 (file)
@@ -1040,3 +1040,5 @@ int sethostname_idempotent(const char *s);
         for ((e) = (struct inotify_event*) (buffer);    \
              (uint8_t*) (e) < (uint8_t*) (buffer) + (sz); \
              (e) = (struct inotify_event*) ((uint8_t*) (e) + sizeof(struct inotify_event) + (e)->len))
+
+#define laccess(path, mode) faccessat(AT_FDCWD, (path), (mode), AT_SYMLINK_NOFOLLOW)