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
6d8982d9
Commit
6d8982d9
authored
Dec 06, 2007
by
Matthew Wilcox
Committed by
Matthew Wilcox
Dec 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proc/base.c: Use task_is_*
Signed-off-by:
Matthew Wilcox
<
willy@linux.intel.com
>
parent
1587e2b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fs/proc/base.c
fs/proc/base.c
+1
-1
No files found.
fs/proc/base.c
View file @
6d8982d9
...
@@ -199,7 +199,7 @@ static int proc_root_link(struct inode *inode, struct dentry **dentry, struct vf
...
@@ -199,7 +199,7 @@ static int proc_root_link(struct inode *inode, struct dentry **dentry, struct vf
(task == current || \
(task == current || \
(task->parent == current && \
(task->parent == current && \
(task->ptrace & PT_PTRACED) && \
(task->ptrace & PT_PTRACED) && \
(task
->state == TASK_STOPPED || task->state == TASK_TRACED
) && \
(task
_is_stopped_or_traced(task)
) && \
security_ptrace(current,task) == 0))
security_ptrace(current,task) == 0))
static
int
proc_pid_cmdline
(
struct
task_struct
*
task
,
char
*
buffer
)
static
int
proc_pid_cmdline
(
struct
task_struct
*
task
,
char
*
buffer
)
...
...
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