From owner-svn-src-head@FreeBSD.ORG Mon Nov 15 11:57:13 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16F771065673; Mon, 15 Nov 2010 11:57:13 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 725998FC08; Mon, 15 Nov 2010 11:57:12 +0000 (UTC) Received: by qwd6 with SMTP id 6so46784qwd.13 for ; Mon, 15 Nov 2010 03:57:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=h0uR2pJoonGKmjW2/vreEElHZ7yzwGu/gVNdTDy6V8M=; b=W19Rv7M+N0aOPl/+RjV1EFAoM8ua+YVcV8mFo+4F0hrH9hMDqIk1Oyj5b+T6eGPfwn p/QBxzqeApET9nkmrBqHv6IiDAErlC592EoMZskbxZpPnv/xKVMf1myjNk1nah5NR5Pl 7N6y0MM8Vy9ELDh9TffQorUlMjc/pPEE1VKaY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=VO4MsrSQPShPWAR0BIAncNK78qbO8/DuZ4l9HwEyd5nPEMQTaTDXXNlsulrC3QEeMB TbmDmuZh5jDr/sqfoP0EImk5MVjJC9efQG+nzN5Rc9sorrHGlOArJJpKGwC2Plye2Ocl q0BUP79ACF7zC+KGS8r5op3EHeMnyA31e5hOw= Received: by 10.229.232.15 with SMTP id js15mr5032689qcb.161.1289822231084; Mon, 15 Nov 2010 03:57:11 -0800 (PST) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.229.231.143 with HTTP; Mon, 15 Nov 2010 03:56:29 -0800 (PST) In-Reply-To: <201011121302.oACD2Qjt009385@svn.freebsd.org> References: <201011121302.oACD2Qjt009385@svn.freebsd.org> From: Ivan Voras Date: Mon, 15 Nov 2010 12:56:29 +0100 X-Google-Sender-Auth: Ixzq7-YgIFk9l8yvYOUM3TD4Npw Message-ID: To: Luigi Rizzo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r215178 - in head: lib/libc/sys sys/kern sys/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2010 11:57:13 -0000 On 12 November 2010 14:02, Luigi Rizzo wrote: > Author: luigi > Date: Fri Nov 12 13:02:26 2010 > New Revision: 215178 > URL: http://svn.freebsd.org/changeset/base/215178 > > Log: > =C2=A0This commit implements the SO_USER_COOKIE socket option, which lets > =C2=A0you tag a socket with an uint32_t value. The cookie can then be > =C2=A0used by the kernel for various purposes, e.g. setting the skipto > =C2=A0rule or pipe number in ipfw (this is the reason SO_USER_COOKIE has > =C2=A0been implemented; however there is nothing ipfw-specific in its > =C2=A0implementation). While at it, why not intptr_t? It would be marginally more useful and almost free.