History

ia64: kill thread_matches(), unexport ptrace_check_attach()

The ia64 function "thread_matches()" has no users since commit e868a55c2a8c ("[IA64] remove find_thread_for_addr()"). Remove it. This allows us to make ptrace_check_attach() static to kernel/ptrace.c, which is good since we'll need to change the semantics of it and fix up all the callers.

Oleg Nesterov committed 13 years ago

Commit edea0d01 parent 5da1f883 files · +1 −29Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/ptrace.h+0−1
@@ -45,7 +45,6 @@ extern long arch_ptrace(struct task_struct *child, long request, · 44 unmodified lines
45extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len);45extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len);
46extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len);46extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len);
47extern void ptrace_disable(struct task_struct *);47extern void ptrace_disable(struct task_struct *);
48extern int ptrace_check_attach(struct task_struct *task, bool ignore_state);
49extern int ptrace_request(struct task_struct *child, long request,48extern int ptrace_request(struct task_struct *child, long request,
50 unsigned long addr, unsigned long data);49 unsigned long addr, unsigned long data);
51extern void ptrace_notify(int exit_code);50extern void ptrace_notify(int exit_code);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t