lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 14 Nov 2017 21:40:43 +0900
From:   Masami Hiramatsu <mhiramat@...nel.org>
To:     mingo@...nel.org, torvalds@...ux-foundation.org, hpa@...or.com,
        tglx@...utronix.de, peterz@...radead.org,
        linux-kernel@...r.kernel.org, mhiramat@...nel.org
Cc:     tip-bot for Ingo Molnar <tipbot@...or.com>,
        linux-tip-commits@...r.kernel.org, torvalds@...ux-foundation.org,
        mingo@...nel.org, mhiramat@...nel.org, tglx@...utronix.de,
        peterz@...radead.org, hpa@...or.com
Subject: Re: [tip:perf/core] kprobes: Don't spam the build log with
 deprecation warnings

On Sun, 12 Nov 2017 23:18:55 -0800
tip-bot for Ingo Molnar <tipbot@...or.com> wrote:

> Commit-ID:  fcdfafcb73be8fa45909327bbddca46fb362a675
> Gitweb:     https://git.kernel.org/tip/fcdfafcb73be8fa45909327bbddca46fb362a675
> Author:     Ingo Molnar <mingo@...nel.org>
> AuthorDate: Mon, 13 Nov 2017 07:59:10 +0100
> Committer:  Ingo Molnar <mingo@...nel.org>
> CommitDate: Mon, 13 Nov 2017 08:00:52 +0100
> 
> kprobes: Don't spam the build log with deprecation warnings
> 
> The jprobes APIs are deprecated - but are still in occasional use for code that
> few people seem to care about, so stop generating deprecation warnings.
> 

Acked-by: Masami Hiramatsu <mhiramat@...nel.org>

Thanks!

> Cc: Masami Hiramatsu <mhiramat@...nel.org>
> Cc: Linus Torvalds <torvalds@...ux-foundation.org>
> Cc: Peter Zijlstra <peterz@...radead.org>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: linux-kernel@...r.kernel.org
> Signed-off-by: Ingo Molnar <mingo@...nel.org>
> ---
>  include/linux/kprobes.h | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h
> index 56b2e69..9440a2f 100644
> --- a/include/linux/kprobes.h
> +++ b/include/linux/kprobes.h
> @@ -468,18 +468,18 @@ static inline int enable_kprobe(struct kprobe *kp)
>  	return -ENOSYS;
>  }
>  #endif /* CONFIG_KPROBES */
> -static inline int __deprecated register_jprobe(struct jprobe *p)
> +static inline int register_jprobe(struct jprobe *p)
>  {
>  	return -ENOSYS;
>  }
> -static inline int __deprecated register_jprobes(struct jprobe **jps, int num)
> +static inline int register_jprobes(struct jprobe **jps, int num)
>  {
>  	return -ENOSYS;
>  }
> -static inline void __deprecated unregister_jprobe(struct jprobe *p)
> +static inline void unregister_jprobe(struct jprobe *p)
>  {
>  }
> -static inline void __deprecated unregister_jprobes(struct jprobe **jps, int num)
> +static inline void unregister_jprobes(struct jprobe **jps, int num)
>  {
>  }
>  static inline int disable_kretprobe(struct kretprobe *rp)
> @@ -490,11 +490,11 @@ static inline int enable_kretprobe(struct kretprobe *rp)
>  {
>  	return enable_kprobe(&rp->kp);
>  }
> -static inline int __deprecated disable_jprobe(struct jprobe *jp)
> +static inline int disable_jprobe(struct jprobe *jp)
>  {
>  	return -ENOSYS;
>  }
> -static inline int __deprecated enable_jprobe(struct jprobe *jp)
> +static inline int enable_jprobe(struct jprobe *jp)
>  {
>  	return -ENOSYS;
>  }


-- 
Masami Hiramatsu <mhiramat@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ