From 3a1e95d14e99ed1bef0a6a097ed4620bf809e191 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 18 Nov 2015 23:11:34 +0000 Subject: [PATCH] net.c: move fallback definition of SCM_SECURITY to xlat/ * net.c: Move fallback definition of SCM_SECURITY ... * xlat/scmvals.in: ... here. --- net.c | 3 --- xlat/scmvals.in | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) 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 -- 2.40.0