Bug 29423 - [request] [patch] new feature: kernel security hooks implementation
Summary: [request] [patch] new feature: kernel security hooks implementation
Status: Closed Not Accepted
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 5.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-04 02:20 UTC by Evan Sarmiento
Modified: 2019-01-29 04:41 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (15.71 KB, patch)
2001-08-04 02:20 UTC, Evan Sarmiento
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Sarmiento 2001-08-04 02:20:00 UTC
Kernel Security Hooks provide a standard interface for programmers of kernel security
extensions to intercept system calls and other functions. Before, programmers had to wrap
the system call with their own system call, resulting in two copyins. PRFW, the kernel
security hook patch I am addressing in this PR, provides a standard interface for these
uses. It also provides per-pid restrictions, so process X might not be able to use setuid
but process Y might, depending on what restrictions you write.

        I have also written a brief howto at http://www.sekt7.org/~ems/prfw.howto
        You can also download the patch at http://www.sekt7.org/~ems/patch

        Quick installation: cd /usr/src && patch -p < patch

        I'm pretty much a kernel newbie, but this is certanly a large achievement for me,
to code all this, so take pity, I'm sure my code has problems, but I've tested it and
it has worked beautifully.

        Note: this only works on i386 platform due to a change to i386/i386/trap.c
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-10-24 03:28:24 UTC
State Changed
From-To: open->suspended

Mark as 'suspended' since this does not seem as though it is being 
actively worked on.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2018-05-20 23:50:44 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

Do
- Set Status to "Open"
Comment 3 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2019-01-29 04:41:22 UTC
Closing this feature request as "Reject" since nobody picked it up to work on.
Feel free to reopen if there are any plans to add it to the current version.