summaryrefslogtreecommitdiff
path: root/tests/generic/529
blob: 05be2c4ffd2818a29759df8dd9b85dd11f8493dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /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