summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2026-09-03 11:05:05 +0200
committerJan Kara <jack@suse.cz>2026-09-04 11:01:09 +0200
commit9e1483cf2d712012f9f35a13e51dbc58b6c90606 (patch)
tree229adf55bbdcd72b6bf516664f3d78f82b11294a /tools/perf/scripts/python/bin/stackcollapse-record
parent6a35b82f8ef70e0129344ece5bbe5bca76acd886 (diff)
downloadlinux-9e1483cf2d712012f9f35a13e51dbc58b6c90606.tar.gz
linux-9e1483cf2d712012f9f35a13e51dbc58b6c90606.zip
shmem: Refuse to enable tmpfs format for another filesystem
It is possible to issue Q_QUOTAON quotactl(2) e.g. for ext4 filesystem requesting to enable quota using tmpfs quota format. With suitable passed arguments this can actually succeed in enabling tmpfs quota format on top of ext4 filesystem which leads to crashes later in dquot_acquire(). As tmpfs quota format is intended for tmpfs filesystems only, verify we are indeed enabling quotas there. Reported-by: Farhad Alemi <farhad.alemi@berkeley.edu> Acked-by: Hugh Dickins <hughd@google.com> Link: https://patch.msgid.link/20260903090508.1360863-4-jack@suse.cz Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions