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
Kirill Smelkov
linux
Commits
64b2f34f
Commit
64b2f34f
authored
Mar 24, 2021
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apparmor:match_mn() - constify devpath argument
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
90432e60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
security/apparmor/mount.c
security/apparmor/mount.c
+2
-2
No files found.
security/apparmor/mount.c
View file @
64b2f34f
...
@@ -370,7 +370,7 @@ static int match_mnt_path_str(struct aa_profile *profile,
...
@@ -370,7 +370,7 @@ static int match_mnt_path_str(struct aa_profile *profile,
* Returns: 0 on success else error
* Returns: 0 on success else error
*/
*/
static
int
match_mnt
(
struct
aa_profile
*
profile
,
const
struct
path
*
path
,
static
int
match_mnt
(
struct
aa_profile
*
profile
,
const
struct
path
*
path
,
char
*
buffer
,
struct
path
*
devpath
,
char
*
devbuffer
,
char
*
buffer
,
const
struct
path
*
devpath
,
char
*
devbuffer
,
const
char
*
type
,
unsigned
long
flags
,
void
*
data
,
const
char
*
type
,
unsigned
long
flags
,
void
*
data
,
bool
binary
)
bool
binary
)
{
{
...
@@ -579,7 +579,7 @@ int aa_new_mount(struct aa_label *label, const char *dev_name,
...
@@ -579,7 +579,7 @@ int aa_new_mount(struct aa_label *label, const char *dev_name,
return
error
;
return
error
;
}
}
static
int
profile_umount
(
struct
aa_profile
*
profile
,
struct
path
*
path
,
static
int
profile_umount
(
struct
aa_profile
*
profile
,
const
struct
path
*
path
,
char
*
buffer
)
char
*
buffer
)
{
{
struct
aa_perms
perms
=
{
};
struct
aa_perms
perms
=
{
};
...
...
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