Bug 517660

Summary: Changes for lowering capabilities project
Product: [Fedora] Fedora Reporter: Steve Grubb <sgrubb>
Component: bluezAssignee: Bastien Nocera <bnocera>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: anton, bnocera, dwmw2, marcel, mclasen, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-05 06:14:41 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 519823    
Description Flags
Patch to drop capabilities
Patch to drop capabilities
Patch to drop capabilities none

Description Steve Grubb 2009-08-15 14:57:37 EDT
Created attachment 357547 [details]
Patch to drop capabilities

Description of problem:
As part of the lowering capabilities project, we should drop all unnecessary
capabilities in bluetoothd.
Comment 1 Steve Grubb 2009-08-16 08:20:39 EDT
Created attachment 357568 [details]
Patch to drop capabilities

Forgot to clear the bounding set in previous patch.
Comment 2 Bastien Nocera 2009-08-17 05:05:43 EDT
Could you please send this upstream to the bluez mailing-list?
The address is linux-bluetooth@vger.kernel.org
Comment 3 Steve Grubb 2009-08-31 12:14:22 EDT
Created attachment 359286 [details]
Patch to drop capabilities

This patch reworks the configure part in order to be easier to upstream.
Comment 4 Steve Grubb 2009-08-31 12:23:29 EDT
Also, this patch needs to have Buildrequires: libcap-ng-devel added to the spec file.
Comment 5 Bastien Nocera 2009-09-16 10:12:06 EDT
Can you please make sure this gets sent upstream?

Note that the configure checks would be easier if libcap-ng installed a pkg-config file...
Comment 6 Steve Grubb 2009-09-16 10:20:11 EDT
Yes, I will send the patch upstream soon. I just finished a code review and have a few suggestions for upstream. I wanted to present the code review findings at about the same time as this patch while people are thinking about security fixes.
Comment 7 Steve Grubb 2009-09-25 16:53:47 EDT
Patch against 4.54 was sent upstream + some bug fixes.
Comment 8 Bastien Nocera 2009-10-05 06:14:41 EDT
Fixed in rawhide for F-13: