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>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180618201100.2238-1-ivid.suvarna@gmail.com>
Date:   Tue, 19 Jun 2018 01:41:00 +0530
From:   Ivid Suvarna <ivid.suvarna@...il.com>
To:     arnd@...db.de, tglx@...utronix.de
Cc:     deepa.kernel@...il.com, y2038@...ts.linaro.org,
        o-takashi@...amocchi.jp, Ivid Suvarna <ivid.suvarna@...il.com>,
        linux-kernel@...r.kernel.org
Subject: [PATCH] posix-timers: use ktime_get_raw_ts64() instead of getrawmonotonic64()

getrawmonotonic64() is deprecated. This follows Arnd Bergmann's patch[1]
for replacing deprecated functions.

[1] https://patchwork.kernel.org/patch/10472141/

Signed-off-by: Ivid Suvarna <ivid.suvarna@...il.com>
---
 kernel/time/posix-timers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c
index e08ce3f27447..2f50ac8c258f 100644
--- a/kernel/time/posix-timers.c
+++ b/kernel/time/posix-timers.c
@@ -228,7 +228,7 @@ static int posix_ktime_get_ts(clockid_t which_clock, struct timespec64 *tp)
  */
 static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec64 *tp)
 {
-	getrawmonotonic64(tp);
+	ktime_get_raw_ts64(tp);
 	return 0;
 }
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ