blob: 1fd3418b990e4512227e4c6c99a9414f4e365641 [file] [log] [blame]
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0+
# Copyright (c) 2019 Oracle, Inc. All Rights Reserved.
#
# FS QA Test No. 529
#
# Regression test for a bug where XFS corrupts memory if the listxattr buffer
# is a particularly well crafted size on a filesystem that supports posix acls.
#
. ./common/preamble
_begin_fstest auto quick acl attr
# Import common functions.
. ./common/attr
_require_acls
_require_scratch
_require_test_program "t_attr_corruption"
_scratch_mkfs >> $seqres.full 2>&1
_scratch_mount
$here/src/t_attr_corruption $SCRATCH_MNT
status=0
exit