]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/timer.c: remove bogus SA_SIGINFO from timer_settime call
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Wed, 26 Apr 2017 10:56:08 +0000 (12:56 +0200)
committerRasmus Villemoes <rasmus.villemoes@prevas.dk>
Wed, 26 Apr 2017 11:35:18 +0000 (13:35 +0200)
commitc6a9147fd8b21bdbdaa0ea363d3db9a819d2b5f7
tree869bc7d6b16608b40d6970980d4d7753f6d75db9
parent85bfb519afcbccccb63849b1a348dde76ff6bb83
lib/timer.c: remove bogus SA_SIGINFO from timer_settime call

The only valid flag for timer_settime is TIMER_ABSTIME, which we
certainly don't want here. This seems to be harmless since
timer_settime doesn't validate the flags parameter, TIMER_ABSTIME is
universally 0x1, and no architecture has SA_SIGINFO == 1.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
lib/timer.c