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
c6eb50d2
Commit
c6eb50d2
authored
Sep 30, 2017
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mode_t whack-a-mole: task_dump_owner()
should be umode_t... Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
2bd6bf03
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fs/proc/base.c
fs/proc/base.c
+1
-1
fs/proc/internal.h
fs/proc/internal.h
+1
-1
No files found.
fs/proc/base.c
View file @
c6eb50d2
...
...
@@ -1681,7 +1681,7 @@ const struct inode_operations proc_pid_link_inode_operations = {
/* building an inode */
void
task_dump_owner
(
struct
task_struct
*
task
,
mode_t
mode
,
void
task_dump_owner
(
struct
task_struct
*
task
,
u
mode_t
mode
,
kuid_t
*
ruid
,
kgid_t
*
rgid
)
{
/* Depending on the state of dumpable compute who should own a
...
...
fs/proc/internal.h
View file @
c6eb50d2
...
...
@@ -100,7 +100,7 @@ static inline struct task_struct *get_proc_task(struct inode *inode)
return
get_pid_task
(
proc_pid
(
inode
),
PIDTYPE_PID
);
}
void
task_dump_owner
(
struct
task_struct
*
task
,
mode_t
mode
,
void
task_dump_owner
(
struct
task_struct
*
task
,
u
mode_t
mode
,
kuid_t
*
ruid
,
kgid_t
*
rgid
);
static
inline
unsigned
name_to_int
(
const
struct
qstr
*
qstr
)
...
...
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