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
66b3fad3
Commit
66b3fad3
authored
Mar 14, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
constify path argument of audit_log_d_path()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
9fcf03d0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/linux/audit.h
include/linux/audit.h
+1
-1
kernel/audit.c
kernel/audit.c
+1
-1
No files found.
include/linux/audit.h
View file @
66b3fad3
...
@@ -684,7 +684,7 @@ extern void audit_log_untrustedstring(struct audit_buffer *ab,
...
@@ -684,7 +684,7 @@ extern void audit_log_untrustedstring(struct audit_buffer *ab,
const
char
*
string
);
const
char
*
string
);
extern
void
audit_log_d_path
(
struct
audit_buffer
*
ab
,
extern
void
audit_log_d_path
(
struct
audit_buffer
*
ab
,
const
char
*
prefix
,
const
char
*
prefix
,
struct
path
*
path
);
const
struct
path
*
path
);
extern
void
audit_log_key
(
struct
audit_buffer
*
ab
,
extern
void
audit_log_key
(
struct
audit_buffer
*
ab
,
char
*
key
);
char
*
key
);
extern
void
audit_log_lost
(
const
char
*
message
);
extern
void
audit_log_lost
(
const
char
*
message
);
...
...
kernel/audit.c
View file @
66b3fad3
...
@@ -1418,7 +1418,7 @@ void audit_log_untrustedstring(struct audit_buffer *ab, const char *string)
...
@@ -1418,7 +1418,7 @@ void audit_log_untrustedstring(struct audit_buffer *ab, const char *string)
/* This is a helper-function to print the escaped d_path */
/* This is a helper-function to print the escaped d_path */
void
audit_log_d_path
(
struct
audit_buffer
*
ab
,
const
char
*
prefix
,
void
audit_log_d_path
(
struct
audit_buffer
*
ab
,
const
char
*
prefix
,
struct
path
*
path
)
const
struct
path
*
path
)
{
{
char
*
p
,
*
pathname
;
char
*
p
,
*
pathname
;
...
...
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