Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2003 09:59:23 -0700 (PDT)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   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
Message-ID:  <200305011659.h41GxN3X070984@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
  
  Revision  Changes    Path
  1.48      +6 -4      src/sys/fs/procfs/procfs_status.c
  1.230     +1 -1      src/sys/kern/init_main.c
  1.64      +4 -2      src/sys/kern/kern_acct.c
  1.196     +1 -1      src/sys/kern/kern_fork.c
  1.30      +1 -1      src/sys/kern/kern_kthread.c
  1.184     +1 -2      src/sys/kern/kern_proc.c
  1.35      +1 -0      src/sys/nfsclient/nfs_lock.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305011659.h41GxN3X070984>