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
6859e21e
Commit
6859e21e
authored
Apr 19, 2017
by
James Morris
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'smack-for-4.12' of
git://github.com/cschaufler/smack-next
into next
parents
fa5b5b26
af96f0d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
security/smack/smack_access.c
security/smack/smack_access.c
+1
-1
security/smack/smack_lsm.c
security/smack/smack_lsm.c
+1
-3
No files found.
security/smack/smack_access.c
View file @
6859e21e
...
...
@@ -504,7 +504,7 @@ int smk_netlbl_mls(int level, char *catset, struct netlbl_lsm_secattr *sap,
if
((
m
&
*
cp
)
==
0
)
continue
;
rc
=
netlbl_catmap_setbit
(
&
sap
->
attr
.
mls
.
cat
,
cat
,
GFP_
ATOMIC
);
cat
,
GFP_
KERNEL
);
if
(
rc
<
0
)
{
netlbl_catmap_free
(
sap
->
attr
.
mls
.
cat
);
return
rc
;
...
...
security/smack/smack_lsm.c
View file @
6859e21e
...
...
@@ -695,10 +695,8 @@ static int smack_parse_opts_str(char *options,
opts
->
mnt_opts_flags
=
kcalloc
(
NUM_SMK_MNT_OPTS
,
sizeof
(
int
),
GFP_KERNEL
);
if
(
!
opts
->
mnt_opts_flags
)
{
kfree
(
opts
->
mnt_opts
);
if
(
!
opts
->
mnt_opts_flags
)
goto
out_err
;
}
if
(
fsdefault
)
{
opts
->
mnt_opts
[
num_mnt_opts
]
=
fsdefault
;
...
...
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