The following reply was made to PR docs/185382; it has been noted by GNATS.
From: Loganaden Velvindron <[email protected]> To: [email protected], [email protected] Cc: [email protected] Subject: Re: docs/185382: missing description in rights(4) man page Date: Thu, 2 Jan 2014 13:43:03 -0800 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) _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "[email protected]"
