NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/58733 CVS commit: [netbsd-9] src



The following reply was made to PR kern/58733; it has been noted by GNATS.

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/58733 CVS commit: [netbsd-9] src
Date: Sun, 13 Oct 2024 15:33:17 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sun Oct 13 15:33:17 UTC 2024
 
 Modified Files:
 	src/share/man/man9 [netbsd-9]: ts2timo.9
 	src/sys/kern [netbsd-9]: subr_time.c
 
 Log Message:
 Pull up following revision(s) (requested by kre in ticket #1909):
 
 	share/man/man9/ts2timo.9: revision 1.4
 	share/man/man9/ts2timo.9: revision 1.5
 	sys/kern/subr_time.c: revision 1.39 (patch)
 
 ts2timo() uses struct timespec, those don't have a tv_usec
 field, they have tv_nsec instead.   EINVAL will happen if the
 tv_nsec field is invalid, not the non-existant tv_usec field.
 PR kern/58733 - avoid ts2timo() clobbering its arg
 
 See the PR for the gory details - in the TIMER_ABSTIME case
 ts2timo() should not (really *must* not) alter the timespec
 it is passed (in that case it should be const - but for now
 anyway, cannot be for the TIMER_RELTIME case, and there is
 just one of them!).
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.3.34.1 src/share/man/man9/ts2timo.9
 cvs rdiff -u -r1.20.8.1 -r1.20.8.2 src/sys/kern/subr_time.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index