chiark / gitweb /
journald: fix typo
[elogind.git] / src / missing.h
index a44390074fe14ae171053461c639e0e594b85595..095bf1fe042ad8a694aa1c18eb9a2bb9816e1f57 100644 (file)
@@ -176,4 +176,12 @@ struct btrfs_ioctl_vol_args {
 #define MS_PRIVATE  (1 << 18)
 #endif
 
+static inline pid_t gettid(void) {
+        return (pid_t) syscall(SYS_gettid);
+}
+
+#ifndef SCM_SECURITY
+#define SCM_SECURITY 0x03
+#endif
+
 #endif