[PATCH 0/2] default ps -W process start time to boot time when unavailable

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Mar 25 10:27:00 GMT 2019


On Mar 23 20:22, Brian Inglis wrote:
> non-elevated users can not access system startup process start times,
> defaulting to time_t 0, displaying as Dec 31/Jan 1 depending on time zone,
> so instead use system boot time, which is within seconds of correct,
> to avoid WMI overhead getting correct system startup process start time
> 
> Brian Inglis (2):
>   default ps -W process start time to system boot time when inaccessible, 0, -1
>   get and convert boot time once and use as needed
> 
>  winsup/utils/ps.cc | 20 +++++++++++++++++++-
>  1 file changed, 19 insertions(+), 1 deletion(-)
> 
> -- 
> 2.17.0

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20190325/be1fea48/attachment.sig>


More information about the Cygwin-patches mailing list