Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
ad9947ac
Commit
ad9947ac
authored
Dec 17, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LSM: Fix up the description of the root_plug code to try to make it clearer.
parent
36d03f0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
security/Kconfig
security/Kconfig
+5
-2
security/root_plug.c
security/root_plug.c
+3
-0
No files found.
security/Kconfig
View file @
ad9947ac
...
...
@@ -27,8 +27,11 @@ config SECURITY_ROOTPLUG
depends
on
SECURITY
!=n
help
This
is
a
sample
LSM
module
that
should
only
be
used
as
such
.
It
enables
control
over
processes
being
created
by
root
users
if
a
specific
USB
device
is
not
present
in
the
system
.
It
prevents
any
programs
running
with
egid
==
0
if
a
specific
USB
device
is
not
present
in
the
system
.
See
<
http
://
www
.
linuxjournal
.
com
/
article
.
php
?
sid
=
6279
>
for
more
information
about
this
module
.
If
you
are
unsure
how
to
answer
this
question
,
answer
N
.
...
...
security/root_plug.c
View file @
ad9947ac
...
...
@@ -13,6 +13,9 @@
* If you want to turn this into something with a semblance of security,
* you need to hook the task_* functions also.
*
* See http://www.linuxjournal.com/article.php?sid=6279 for more information
* about this code.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, version 2 of the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment