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
81cd8896
Commit
81cd8896
authored
Mar 25, 2016
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constify ima_d_path()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
3b73b68c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
security/integrity/ima/ima.h
security/integrity/ima/ima.h
+1
-1
security/integrity/ima/ima_api.c
security/integrity/ima/ima_api.c
+1
-1
No files found.
security/integrity/ima/ima.h
View file @
81cd8896
...
...
@@ -170,7 +170,7 @@ int ima_alloc_init_template(struct ima_event_data *event_data,
int
ima_store_template
(
struct
ima_template_entry
*
entry
,
int
violation
,
struct
inode
*
inode
,
const
unsigned
char
*
filename
);
void
ima_free_template_entry
(
struct
ima_template_entry
*
entry
);
const
char
*
ima_d_path
(
struct
path
*
path
,
char
**
pathbuf
);
const
char
*
ima_d_path
(
const
struct
path
*
path
,
char
**
pathbuf
);
/* IMA policy related functions */
int
ima_match_policy
(
struct
inode
*
inode
,
enum
ima_hooks
func
,
int
mask
,
...
...
security/integrity/ima/ima_api.c
View file @
81cd8896
...
...
@@ -313,7 +313,7 @@ void ima_audit_measurement(struct integrity_iint_cache *iint,
iint
->
flags
|=
IMA_AUDITED
;
}
const
char
*
ima_d_path
(
struct
path
*
path
,
char
**
pathbuf
)
const
char
*
ima_d_path
(
const
struct
path
*
path
,
char
**
pathbuf
)
{
char
*
pathname
=
NULL
;
...
...
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