diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-03-13 00:00:27 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-03-13 00:00:27 +0100 |
commit | 54ecda32c60c6f2548f74703bfd324694393edaa (patch) | |
tree | d9747c30a1985b3b95497450ca1c2678a9079d08 /src/missing.h | |
parent | fa734f4da837abe6c893e75c95be78527db72c0f (diff) |
socket: add option for SO_PASSEC
https://bugzilla.redhat.com/show_bug.cgi?id=798760
(Note that this work is not complete yet, as the kernel seems to send us
useless data with SCM_SECURITY enabled)
Diffstat (limited to 'src/missing.h')
-rw-r--r-- | src/missing.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/missing.h b/src/missing.h index 213ef2f6a6..095bf1fe04 100644 --- a/src/missing.h +++ b/src/missing.h @@ -180,4 +180,8 @@ static inline pid_t gettid(void) { return (pid_t) syscall(SYS_gettid); } +#ifndef SCM_SECURITY +#define SCM_SECURITY 0x03 +#endif + #endif |