blob: 05be2c4ffd2818a29759df8dd9b85dd11f8493dd [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
# real QA test starts here
_supported_fs generic
_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