From: Dmitry V. Levin Date: Wed, 18 Nov 2015 23:11:34 +0000 (+0000) Subject: net.c: move fallback definition of SCM_SECURITY to xlat/ X-Git-Tag: v4.11~139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a1e95d14e99ed1bef0a6a097ed4620bf809e191;p=strace net.c: move fallback definition of SCM_SECURITY to xlat/ * net.c: Move fallback definition of SCM_SECURITY ... * xlat/scmvals.in: ... here. --- diff --git a/net.c b/net.c index 7e8586ac..59cbe93e 100644 --- a/net.c +++ b/net.c @@ -290,9 +290,6 @@ printsock(struct tcb *tcp, long addr, int addrlen) } #ifdef HAVE_SENDMSG -# ifndef SCM_SECURITY -# define SCM_SECURITY 0x03 -# endif # include "xlat/scmvals.h" #if SUPPORTED_PERSONALITIES > 1 && SIZEOF_LONG > 4 diff --git a/xlat/scmvals.in b/xlat/scmvals.in index 86d9a15b..3d61f9ef 100644 --- a/xlat/scmvals.in +++ b/xlat/scmvals.in @@ -1,3 +1,3 @@ -SCM_RIGHTS -SCM_CREDENTIALS -SCM_SECURITY +SCM_RIGHTS 1 +SCM_CREDENTIALS 2 +SCM_SECURITY 3