Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2016 18:20:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 212862] contrib/netbsd-tests/fs/tmpfs/t_mount:large fails on FreeBSD
Message-ID:  <bug-212862-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212862

            Bug ID: 212862
           Summary: contrib/netbsd-tests/fs/tmpfs/t_mount:large fails on
                    FreeBSD
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: tests
          Assignee: freebsd-testing@freebsd.org
          Reporter: ngie@FreeBSD.org

The t_mount:large testcase intentionally passes in values which are assumed=
 to
overflow. These tests pass on FreeBSD.

(Simplified repro)

Run the following commands as root:

mkdir tmp
mount -t tmpfs -o size=3D9223372036854775808 tmpfs tmp
mount -t tmpfs -o size=3D9223372036854775808g tmpfs tmp
rmdir tmp

Expected results:

The above mount commands should fail with a non-zero exit code.

Actual results:

The commands pass:

# mount -t tmpfs -o size=3D9223372036854775808g tmpfs tmp
# echo $?
0
# mount -t tmpfs -o size=3D9223372036854775808 tmpfs tmp
# echo $?
0
#

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212862-32464>