cvs commit: src/sys/fs/procfs procfs_status.c src/sys/kern init_main.c kern_acct.c kern_fork.c kern_kthread.c kern_proc.c src/sys/nfsclient nfs_lock.c

Poul-Henning Kamp phk at phk.freebsd.dk
Thu May 1 11:14:59 PDT 2003


In message <200305011659.h41GxN3X070984 at repoman.freebsd.org>, Dag-Erling Smorgr
av writes:
>des         2003/05/01 09:59:23 PDT
>
>  FreeBSD src repository
>
>  Modified files:
>    sys/fs/procfs        procfs_status.c 
>    sys/kern             init_main.c kern_acct.c kern_fork.c 
>                         kern_kthread.c kern_proc.c 
>    sys/nfsclient        nfs_lock.c 
>  Log:
>  Instead of recording the Unix time in a process when it starts, record the
>  uptime.  Where necessary, convert it back to Unix time by adding boottime
>  to it.  This fixes a potential problem in the accounting code, which would
>  compute the elapsed time incorrectly if the Unix time was stepped during
>  the lifetime of the process.

Thankyou!

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list