linux-stable/fs/affs
Max Staudt e942ed86e5 affs: fix basic permission bits to actually work
[ Upstream commit d3a84a8d0d ]

The basic permission bits (protection bits in AmigaOS) have been broken
in Linux' AFFS - it would only set bits, but never delete them.
Also, contrary to the documentation, the Archived bit was not handled.

Let's fix this for good, and set the bits such that Linux and classic
AmigaOS can coexist in the most peaceful manner.

Also, update the documentation to represent the current state of things.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Signed-off-by: Max Staudt <max@enpas.org>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-12 11:47:39 +02:00
..
affs.h fs: support RENAME_NOREPLACE for local filesystems 2016-09-27 11:03:57 +02:00
amigaffs.c affs: fix basic permission bits to actually work 2020-09-12 11:47:39 +02:00
bitmap.c fs/affs/bitmap.c: remove unnecessary return 2015-02-17 14:34:52 -08:00
Changes remove obsolete references to powertweak 2013-11-27 20:34:32 -08:00
dir.c fs: rename "rename2" i_op to "rename" 2016-09-27 11:03:58 +02:00
file.c affs: fix basic permission bits to actually work 2020-09-12 11:47:39 +02:00
inode.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-10-10 20:16:43 -07:00
Kconfig
Makefile
namei.c affs_lookup(): close a race with affs_remove_link() 2018-05-30 07:50:16 +02:00
super.c affs: fix remount failure when there are no options changed 2016-05-28 16:50:24 -07:00
symlink.c switch ->get_link() to delayed_call, kill ->put_link() 2015-12-30 13:01:03 -05:00