lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 12 Feb 2016 01:45:44 -0800
From:	Deepa Dinamani <deepa.kernel@...il.com>
To:	linux-fsdevel@...r.kernel.org, y2038@...ts.linaro.org
Cc:	Arnd Bergmann <arnd@...db.de>, Dave Chinner <david@...morbit.com>,
	"Theodore Ts'o" <tytso@....edu>, linux-kernel@...r.kernel.org
Subject: [RFC v2b 0/5] vfs 64 bit time transition proposal

Introduction

The series is one of the proposals on how to transition VFS timestamps
to use 64 bit time. This idea was proposed by Arnd Bergmann and David
Chinner on the RFC:
https://lkml.org/lkml/2016/1/7/20 [1].

Solution

1.Define accessor functions for inode timestamps.
2.Change all individual filesystems to use these accessors.
3.Change vfs timestamps to use timespec64.
4.Individual filesystem developers can change their filesystems
to use timespec64 at their own convenience.

Note that the series only includes patches for steps 1 and 2.

Variant

We could use timespec64 in the end filesystems instead of timespec.

Concerns

1.	Before the vfs layer is done, it might be confusing to confusing
	to developers as individual filesystems now will have two options
	for access: directly and accessor.

2.	After the vfs layer is done, it might be confusing to developers
	as individual filesystems now will have two options for accessors:
	timespec64_to_timespec and vfs_time_to_timespec.

Deepa Dinamani (5):
  vfs: Add vfs_time accessors
  fs: cifs: Use vfs_time accessors
  fs: btrfs: Use vfs_time accessors
  fs: ceph: Use vfs timestamp accessors
  fs: xfs: change inode times to use vfs_time data type

 fs/btrfs/file.c          | 14 +++++----
 fs/btrfs/inode.c         |  4 +--
 fs/ceph/addr.c           | 20 +++++++++----
 fs/ceph/cache.c          |  4 +--
 fs/ceph/caps.c           |  4 +--
 fs/ceph/file.c           |  4 ++-
 fs/ceph/inode.c          | 75 ++++++++++++++++++++++++++++--------------------
 fs/ceph/mds_client.c     |  5 +++-
 fs/ceph/snap.c           |  6 ++--
 fs/cifs/cache.c          | 12 +++++---
 fs/cifs/inode.c          | 31 +++++++++++---------
 fs/xfs/xfs_inode.c       |  2 +-
 fs/xfs/xfs_trans_inode.c | 24 +++++++++-------
 include/linux/fs.h       | 15 ++++++++++
 14 files changed, 139 insertions(+), 81 deletions(-)

-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ