git: kernel - Fix atime field for PTYs

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 11 22:55:24 PST 2021


commit 1e45dd8c7aee9b03a2e918dc5f589bd8415ba750
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 11 22:33:02 2021 -0800

    kernel - Fix atime field for PTYs
    
    * Fix the atime field for PTYs.  A calculation in the shortcut code
      that avoids having to update the timestamp on every read() or
      write() was reversed.
    
    Reported-by: dancrossnyc

Summary of changes:
 sys/kern/vfs_vnops.c        | 12 ++++++------
 sys/vfs/devfs/devfs_vnops.c | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1e45dd8c7aee9b03a2e918dc5f589bd8415ba750


-- 
DragonFly BSD source repository



More information about the Commits mailing list