Port to sclockadj3

Information

ID: 686
PHID: PHID-TASK-dcrdbiobb3b6dch4szix
Author: JasonJAyalaP
Status at Migration Time: resolved
Priority at Migration Time: Normal

Description

I’ve rewritten sclockadj in C

Unless there’s something else using them, we no longer need the ruby packages (compiler, libraries).

Update the sdwdate package to compile sclockadj (gcc sclockadj -o sclockadj) (look at GitHub - Kicksecure/bindp: Binding specific IP and Port for Linux Running Application for an example on how to package simple compiled code for Whonix)

Sdwdate’s invocation of sclockadj needs to be changed to

cmd = [
    "sudo",
    "/usr/lib/sdwdate/sclockadj",
    str(self.newdiff_nanoseconds)]

(plus the inline and --noninteractive lines if still necessary)

Comments


Patrick

2017-06-05 19:38:09 UTC


JasonJAyalaP

2017-06-05 19:02:23 UTC


JasonJAyalaP

2017-06-06 21:15:15 UTC


JasonJAyalaP

2017-06-16 21:37:58 UTC


Patrick

2017-06-16 23:04:12 UTC