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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 14 Sep 2016 22:28:48 +0200
From:   Richard Weinberger <richard@....at>
To:     linux-mtd@...ts.infradead.org
Cc:     linux-kernel@...r.kernel.org, richard@....at, dedekind1@...il.com,
        adrian.hunter@...el.com, nbd@....name
Subject: [PATCH v2 0/4] ubifs: Add overlayfs support

To support overlayfs in a proper way a filesystem has to offer support
for DT_CHR, RENAME_WHITEOUT and RENAME_EXCHANGE.
While UBIFS supports DT_CHR it lacks support for RENAME_WHITEOUT and
RENAME_EXCHANGE. This patch series implement the missing bits.
RENAME_WHITEOUT itself depends on O_TMPFILE, therefore O_TMPFILE is now
also supported.

Changes since v1:
 - Build fix for CONFIG_LOCKDEP=y
 - Fix for wrong dentry name length calculation in ubifs_jnl_xrename()
 - Fix for wrong directory link count after RENAME_EXCHANGE

Richard Weinberger (4):
  ubifs: Implement O_TMPFILE
  ubifs: Implement RENAME_WHITEOUT
  ubifs: Implement RENAME_EXCHANGE
  ubifs: Use move variable in ubifs_rename()

 fs/ubifs/dir.c     | 242 +++++++++++++++++++++++++++++++++++++++++++++++++----
 fs/ubifs/journal.c | 188 +++++++++++++++++++++++++++++++++++++----
 fs/ubifs/ubifs.h   |   8 +-
 3 files changed, 404 insertions(+), 34 deletions(-)

-- 
2.7.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ