From owner-freebsd-doc@FreeBSD.ORG Thu Jan 2 21:43:07 2014 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 96373352; Thu, 2 Jan 2014 21:43:07 +0000 (UTC) Received: from mx.ipv6.elandsys.com (mx.ipv6.elandsys.com [IPv6:2001:470:f329:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5E7AB1653; Thu, 2 Jan 2014 21:43:07 +0000 (UTC) Received: from mx.elandsys.com (IDENT:logan@localhost [127.0.0.1]) by mx.elandsys.com (8.14.5/8.14.5) with ESMTP id s02Lh3w2024961 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Jan 2014 13:43:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opendkim.org; s=mail2010; t=1388698984; bh=q+Ow3Q++r8YGPBZh9OKgx9JfdT66bebpb94G316y/1Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=jzMhNWmsG/XrHrgPH3W7tee38XDt5KlkZUl/SPtye0GtUMNLjwAJaIyp+1DNgJmia pEsMxkT/yIWsxPKHK7e8tK8Jz068tCAbvGfbDc4WnZCH6oVmc4ibTy6q6JaXUkAYH6 G9ZC6VqzkHbhn4ph4tQfZHe/iq7fuom1wBxxvABQ= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elandsys.com; s=mail; t=1388698984; i=@elandsys.com; bh=q+Ow3Q++r8YGPBZh9OKgx9JfdT66bebpb94G316y/1Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=w69gVPD++SBjdF5jpKOyi5EwsQm3z585Fy6BkmS+owJuT/XsXM3k6bsA/VQPRIMFG Lv5Dy7xzDHIqjRcHdR8xrnfxc8YACGRbZiQpH3fYj9SpN1ugnxEeWsHdehAOsmR0US W/1YUUKHbPa46DDxPtd5hq7TEEHJkiezZ7FrcWLk= Received: (from logan@localhost) by mx.elandsys.com (8.14.5/8.14.5/Submit) id s02Lh3CG019625; Thu, 2 Jan 2014 13:43:03 -0800 (PST) X-Authentication-Warning: mx.elandsys.com: logan set sender to logan@elandsys.com using -f Date: Thu, 2 Jan 2014 13:43:03 -0800 From: Loganaden Velvindron To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-doc@FreeBSD.org Subject: Re: docs/185382: missing description in rights(4) man page Message-ID: <20140102214303.GA6706@mx.elandsys.com> References: <201401010430.s014U606071143@oldred.freebsd.org> <201401010440.s014e0G0082702@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201401010440.s014e0G0082702@freefall.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 21:43:07 -0000 Based on discussions with pjd@, it's better to change the dhclient to use CAP_EVENT instead of CAP_EVENT_POLL as the latter has been deprecated. --- bpf.c.orig 2014-01-02 21:37:12.000000000 +0400 +++ bpf.c 2014-01-02 21:37:38.000000000 +0400 @@ -269,7 +269,7 @@ if_register_receive(struct interface_inf if (ioctl(info->rfdesc, BIOCLOCK, NULL) < 0) error("Cannot lock bpf"); - cap_rights_init(&rights, CAP_IOCTL, CAP_POLL_EVENT, CAP_READ); + cap_rights_init(&rights, CAP_IOCTL, CAP_EVENT, CAP_READ); if (cap_rights_limit(info->rfdesc, &rights) < 0 && errno != ENOSYS) error("Can't limit bpf descriptor: %m"); if (cap_ioctls_limit(info->rfdesc, cmds, 2) < 0 && errno != ENOSYS)