Bug 193994 - Identify and implement missing controls in upstream kernel
Summary: Identify and implement missing controls in upstream kernel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: James Morris
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: FC6SELinuxKernel
TreeView+ depends on / blocked
 
Reported: 2006-06-04 06:14 UTC by James Morris
Modified: 2007-11-30 22:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-19 00:18:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Brief Analysis of functions (4.15 KB, text/plain)
2006-06-14 13:09 UTC, David Quigley
no flags Details

Description James Morris 2006-06-04 06:14:39 UTC
Missing controls: identify and implement controls for core kernel
components which have been added or modified and currently lack any
mediation.  Stephen has identified the following:

mm/mempolicy.c:sys_migrate_pages()
mm/migrate.c:sys_move_pages()
kernel/futex.c:sys_get_robust_list()
kernel/futex.c:all callers of futex_find_get_task()
kernel/cpuset.c:all callers of attach_task()
kernel/sched.c:sched_setaffinity(), sched_getaffinity()
kernel/signal.c:kill_proc_info_as_uid() [problematic, as it apparently
needs credentials to be provided by the caller rather than using
current, so we need the interface itself to pass a SID]

May need further review of the syscall table, and we need to know if the
new cpu rate cap stuff is going in.

Current status: under investigation.

Comment 1 James Morris 2006-06-06 06:19:51 UTC
I've audited all of the new *at syscalls and they're ok.

Also looks like we need to add a control to sys_mbind(), and more general
auditing is likely required.

Comment 2 David Quigley 2006-06-14 13:09:59 UTC
Created attachment 130840 [details]
Brief Analysis of functions

*Replaying posts from e-mails received*

Hello,
    My name is Dave Quigley and I'll be working on SELinux for the next few
months. Just before Stephen left he gave me this list so I spent most of last
week looking at it. After some comments from Stephen I have a revised version
of my analysis for these functions. I'll attach them to the bug, and please
feel free to give comments on then.


Note You need to log in before you can comment on or make changes to this bug.