From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id A7393385742A; Mon, 11 Jul 2022 11:53:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A7393385742A Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] unix(4): Add SOL_LOCAL:LOCAL_CREDS_PERSISTENT X-Act-Checkin: newlib-cygwin X-Git-Author: Conrad Meyer X-Git-Refname: refs/heads/master X-Git-Oldrev: 1cb590ab48ae2c12e2eb15e1f6c5541c2039743e X-Git-Newrev: 55dec604f8e451e2d5d761ab0ccd3eb32be0738f Message-Id: <20220711115319.A7393385742A@sourceware.org> Date: Mon, 11 Jul 2022 11:53:19 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2022 11:53:19 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D55dec604f8e= 451e2d5d761ab0ccd3eb32be0738f commit 55dec604f8e451e2d5d761ab0ccd3eb32be0738f Author: Conrad Meyer Date: Tue Nov 3 01:17:45 2020 +0000 unix(4): Add SOL_LOCAL:LOCAL_CREDS_PERSISTENT =20 This option is intended to be semantically identical to Linux's SOL_SOCKET:SO_PASSCRED. For now, it is mutually exclusive with the pre-existing sockopt SOL_LOCAL:LOCAL_CREDS. =20 Reviewed by: markj (penultimate version) Differential Revision: https://reviews.freebsd.org/D27011 Diff: --- newlib/libc/sys/rtems/include/sys/un.h | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/libc/sys/rtems/include/sys/un.h b/newlib/libc/sys/rtems= /include/sys/un.h index 3a011aeef..e02484151 100644 --- a/newlib/libc/sys/rtems/include/sys/un.h +++ b/newlib/libc/sys/rtems/include/sys/un.h @@ -67,6 +67,7 @@ struct sockaddr_un { /* Socket options. */ #define LOCAL_PEERCRED 1 /* retrieve peer credentials */ #define LOCAL_CREDS 2 /* pass credentials to receiver */ +#define LOCAL_CREDS_PERSISTENT 3 /* pass credentials to receiver */ #define LOCAL_CONNWAIT 4 /* connects block until accepted */ =20 /* Start of reserved space for third-party socket options. */