From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4984 Path: news.gmane.org!not-for-mail From: Khem Raj Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH 1/3] bits/socket.h: Define SO_RCVBUFFORCE for mips Date: Mon, 28 Apr 2014 07:54:26 -0700 Message-ID: References: <1398649434-23560-1-git-send-email-raj.khem@gmail.com> <20140428142935.GZ26358@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1398696920 4549 80.91.229.3 (28 Apr 2014 14:55:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2014 14:55:20 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4988-gllmg-musl=m.gmane.org@lists.openwall.com Mon Apr 28 16:55:13 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Wemxa-0002ft-Bk for gllmg-musl@plane.gmane.org; Mon, 28 Apr 2014 16:55:10 +0200 Original-Received: (qmail 32608 invoked by uid 550); 28 Apr 2014 14:55:09 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 32600 invoked from network); 28 Apr 2014 14:55:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=HxOJm+D650ow3rJumyjQhUTSP4DyHnpZBSFjx4erBtA=; b=ouN2VFNMn07RF6HEg3iLqpmkc8k/E00/3fCaj3f5Lttx+/1j3uulXadgfwEKdGWgQt xwhl5/+wzvJry93dNtmjDe7oCRpX5fO66NFtAOikCcfdAe8aDJlcqGh/4QbqfNqVEEGk WPkSh75wI0MwhhZ6WQGiOpOyme+iCyBNlzPiGzxCR/de9Z2srmUOQhh9/qTBS8Iay0BE DdoHNPU5DQ7n92kBEuURNm5VJOJxKO9tevXW2cNrBM6lOM5fsUBK2qU2Dx6MigY2GiSg 9x0h0TDtkQHTb1/TbQFTdmipSY37NWTjAUg0lOWM9JSllB/Mfcw6WFjXwUD4droydpgu k3iw== X-Received: by 10.50.49.109 with SMTP id t13mr24829309ign.2.1398696896591; Mon, 28 Apr 2014 07:54:56 -0700 (PDT) In-Reply-To: <20140428142935.GZ26358@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:4984 Archived-At: On Mon, Apr 28, 2014 at 7:29 AM, Rich Felker wrote: > On Sun, Apr 27, 2014 at 06:43:52PM -0700, Khem Raj wrote: >> packages like udev are using it >> >> Signed-off-by: Khem Raj >> >> Upstream-Status: Pending >> --- >> arch/mips/bits/socket.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/arch/mips/bits/socket.h b/arch/mips/bits/socket.h >> index ba79045..2264679 100644 >> --- a/arch/mips/bits/socket.h >> +++ b/arch/mips/bits/socket.h >> @@ -31,6 +31,7 @@ struct cmsghdr >> #define SO_RCVBUF 0x1002 >> #define SO_KEEPALIVE 8 >> #define SO_OOBINLINE 256 >> +#define SO_RCVBUFFORCE 33 >> >> #define SO_NO_CHECK 11 >> #define SO_PRIORITY 12 >> -- >> 1.7.10.4 > > I think this is correct, but are there additional new SO_*'s that > should be added to mips, or is this value the same as on other archs > and perhaps not something that should be arch-specific to begin with? I think redefining them in mips specific sockets.h is not needed. it could use the values from sys/socket.h > > Rich