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
c3e1e584
Commit
c3e1e584
authored
Jan 16, 2017
by
John Johansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apparmor: fix change_hat debug output
Signed-off-by:
John Johansen
<
john.johansen@canonical.com
>
parent
5ef50d01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
security/apparmor/procattr.c
security/apparmor/procattr.c
+5
-4
No files found.
security/apparmor/procattr.c
View file @
c3e1e584
...
...
@@ -139,12 +139,13 @@ int aa_setprocattr_changehat(char *args, size_t size, int test)
for
(
count
=
0
;
(
hat
<
end
)
&&
count
<
16
;
++
count
)
{
char
*
next
=
hat
+
strlen
(
hat
)
+
1
;
hats
[
count
]
=
hat
;
AA_DEBUG
(
"%s: (pid %d) Magic 0x%llx count %d hat '%s'
\n
"
,
__func__
,
current
->
pid
,
token
,
count
,
hat
);
hat
=
next
;
}
}
AA_DEBUG
(
"%s: Magic 0x%llx Hat '%s'
\n
"
,
__func__
,
token
,
hat
?
hat
:
NULL
);
}
else
AA_DEBUG
(
"%s: (pid %d) Magic 0x%llx count %d Hat '%s'
\n
"
,
__func__
,
current
->
pid
,
token
,
count
,
"<NULL>"
);
return
aa_change_hat
(
hats
,
count
,
token
,
test
);
}
...
...
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