Commit ff1188646c6870f336e910fb894eeed74f50471f

Authored by Roland McGrath
Committed by Linus Torvalds
1 parent 6341c393fc

tracehook: unexport ptrace_notify

The ptrace_notify() function should not be called by any modules.  It was
only ever exported to be called by binfmt exec functions.  But that is no
longer necessary since fs/exec.c deals with that generically now.  There
should be no calls to ptrace_notify() from outside the core kernel.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -1895,7 +1895,6 @@
1895 1895 EXPORT_SYMBOL_GPL(dequeue_signal);
1896 1896 EXPORT_SYMBOL(flush_signals);
1897 1897 EXPORT_SYMBOL(force_sig);
1898   -EXPORT_SYMBOL(ptrace_notify);
1899 1898 EXPORT_SYMBOL(send_sig);
1900 1899 EXPORT_SYMBOL(send_sig_info);
1901 1900 EXPORT_SYMBOL(sigprocmask);