Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564902 - net-analyzer/netselect - add USE=filecaps and USE=suid
Summary: net-analyzer/netselect - add USE=filecaps and USE=suid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2015-11-04 22:36 UTC by Nick Kossifidis
Modified: 2021-03-15 23:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Kossifidis 2015-11-04 22:36:17 UTC
/usr/bin/netselect is marked as suid (and owned by root) and there is no way to disable it (no suid USE flag available). Also it would be better if it was marked with cap_net_raw+ep (through the filecaps USE flag) instead.
Comment 1 Larry the Git Cow gentoo-dev 2021-03-15 23:35:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75bf552a579f71ee671e10fab2c322d8084fab16

commit 75bf552a579f71ee671e10fab2c322d8084fab16
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2019-10-23 19:13:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-15 23:32:10 +0000

    net-analyzer/netselect: Add filecaps support
    
    Closes: https://bugs.gentoo.org/564902
    Closes: https://github.com/gentoo/gentoo/pull/13388
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Peter Levine <plevine457@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/netselect/netselect-0.4-r2.ebuild | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)