Commit graph

310 commits

Author SHA1 Message Date
Olivier Certner
f7fa53cead
stress2: exlock2.sh: Fix impact of previous '-U' removal
In commit "stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U'
change" (1265d3b07eaa), I forgot that '-U' also has the side-effect of
implying '-x' by default.  Now that '-U' has been removed, make '-x'
explicit.

Fixes:          1265d3b07eaa ("stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change")
MFC after:      1 hour
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit f6e826891760a34ef69e1122da0ee378f7caf454)
(cherry picked from commit da6b04cd404341d494e2c89e3058ccaea5ca8a79)

Approved by:    re (implicit)
2025-05-13 14:41:33 +02:00
Olivier Certner
10e6bac460
stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change
Remove '-Uroot', as now '-U' selects processes based on their real user
IDs, and since the program using them was launched as 'root', the
equivalent now is just to remove it, as now ps(1) by default selects
processes based on its effective UID (root) and their effective UIDs.

It seems that matching on effective or real UID does not really matter
in this test, but at least this change simplifies the command-line.

MFC after:      1 day
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D50200

(cherry picked from commit 1265d3b07eaa418e9c60800db93f3482ddbb6ae2)
(cherry picked from commit 5af18707c155dca74071aa3bfb61160814f03bc3)

Approved by:    re (cperciva)
2025-05-13 14:41:32 +02:00
Alexander Ziaee
cf522ceef8
ports/filesystems: Fix fallout
A new filesystems category was created in the ports tree, with 142
filesystem related ports moved to there, some of them renamed.
Update all references in the src tree to the new locations.

PR:		283881
Fixes:		ports:6e2da9672f79f44 (filesystems: add new category)
MFC after:	1 month
Reviewed by:	fuz, mhorne, bapt
Accepted by:	mhorne (mentor)
Differential Revision:	https://reviews.freebsd.org/D48406

(cherry picked from commit 066ef2aec187ae93a9df01d25fa8e47d67ff972b)
2025-02-26 20:14:37 -05:00
Gordon Bergling
402db142e0 stress2: Fix a typo in namecache2.sh
- s/inconsistancy/inconsistency/

(cherry picked from commit 32a9b95a8751f916deef5970476f010995244bfe)
2024-08-12 14:52:27 +02:00
Ed Maste
f06d322e9d Remove "All Rights Reserved" from FreeBSD Foundation copyrights
These ones were unambiguous cases where the Foundation was the only
listed copyright holder.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 5c2bc3db201a4fe8d7911cf816bea104d5dc2138)
2024-08-06 15:39:53 -04:00
John F. Carr
c3c2233c96 gpioevents: Fix build with newer Clang
PR:		277422
(cherry picked from commit 42b117a4bd104246589149fa9f7b9b7ddc144f23)
2024-03-24 13:48:55 -04:00
Gordon Bergling
7f19b9b458 gpioevents: Fix a typo in a diagnostic output message
- s/recieved/received/

(cherry picked from commit 63c928f17e08f58fd3bd44b45c36ea5df7d15e77)
2024-01-07 12:42:25 +01:00
John Baldwin
8f7aafe29f Update a few tools to not embed $FreeBSD$ in generated files
Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D41959

(cherry picked from commit c4e2333cb2a59e44004d824a1093d9bf1d9fe273)
2023-10-24 10:11:20 -07:00
Peter Holm
0d30f3afa6 stress2: No need to write to the console. Add revision to log string 2023-08-19 09:29:09 +02:00
Peter Holm
f322816aaf stress2: Added a syzkaller reproducer 2023-08-19 09:28:10 +02:00
Warner Losh
05248206f7 Remove $FreeBSD$: one-line bare tag
Remove /^\s*\$FreeBSD\$$\n/
2023-08-16 11:55:20 -06:00
Warner Losh
d0b2dbfa0e Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00
Warner Losh
1d386b48a5 Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
2023-08-16 11:54:42 -06:00
Warner Losh
2a63c3be15 Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
2023-08-16 11:54:29 -06:00
Warner Losh
42b388439b Remove $FreeBSD$: one-line .h pattern
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
2023-08-16 11:54:23 -06:00
Warner Losh
b3e7694832 Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
2023-08-16 11:54:16 -06:00
Peter Holm
a953ac19db stress2: Added a 'fsck_ffs -B' regression test 2023-08-13 11:09:39 +02:00
Peter Holm
896809e296 stress2: Added killpg(2) scenarios 2023-07-31 09:07:06 +02:00
Peter Holm
972e60da74 stress2: Added two syzkaller reproducers 2023-07-11 10:24:19 +02:00
Peter Holm
4631191c8a stress2: Added a regression test 2023-07-06 11:15:13 +02:00
Marius Strobl
eb33b693b3 test: remove remainder of testfloat
These bits are unused since the sparc64-specific glue has been deleted
in f33b14f0.
2023-06-30 22:43:50 +02:00
Peter Holm
83c701af53 stress2: Added two syzkaller reproducers 2023-06-21 11:10:13 +02:00
Peter Holm
fa273fa154 stress2: Added a regression test for mksnap_ffs(8) 2023-06-13 11:01:43 +02:00
Peter Holm
6b7a06c3bd stress2: Avoid using "__unused" 2023-06-08 09:49:52 +02:00
Dmitry Chagin
c8dbef44ff xregs_sig: Add avx registers to test
Reviewed by:		kib
Differential Revision:	https://reviews.freebsd.org/D40384
2023-06-04 12:07:02 +03:00
Dmitry Chagin
0be13a45f7 xregs_sig: Add a ability to handle multiple register banks
While here replace the .global directive by traditionally used .globl.

Reviewed by:		kib
Differential Revision:	https://reviews.freebsd.org/D40410
2023-06-04 12:06:25 +03:00
Dmitry Chagin
e5b3cd6100 xregs_sig: Simplify Makefile by using MACHINE_CPUARCH in SRCS
Reviewed by:		kib, jhb
Differential Revision:	https://reviews.freebsd.org/D40383
2023-06-03 20:13:23 +03:00
Dmitry Chagin
1b0d96f3c4 xregs_sig: Finish renaming simd to xregs before adding avx
Reviewed by:		kib, jhb
Differential Revision:	https://reviews.freebsd.org/D40382
2023-06-03 20:11:44 +03:00
Dmitry Chagin
8fdc9ce97c avx_sig: Better naming as the test will include more register banks
Reviewed by:		jhb, kib (early revision)
Differential Revision:	https://reviews.freebsd.org/D40381
2023-06-03 20:10:49 +03:00
Dmitry Chagin
4f2c2a122c avx_sig: Adapt avx_sig test for Aarch64
Reviewed by:		kib
Differential Revision:	https://reviews.freebsd.org/D40309
2023-05-30 11:19:40 +03:00
Dmitry Chagin
68348f41c9 avx_sig: Prepare to add arm64 neon test
Move inlined asm code to a separate source and rename x86 specific xmm
names to more general simd names.

Reviewed by:		kib
Differential Revision:	https://reviews.freebsd.org/D40312
2023-05-30 11:18:57 +03:00
Dmitry Chagin
723e25f128 avx_sig: Print statistics by interval enstead of by pressing ^T
Reviewed by:		kib
Differential Revision:	https://reviews.freebsd.org/D40311
2023-05-29 11:09:17 +03:00
Dmitry Chagin
0a09cfb3f7 avx_sig: Avoid libbsd dependency for modern Glibc
Due to arc4random functions are povided by Glibc 2.36.

Reviewed by:		kib
Differential Revision:	https://reviews.freebsd.org/D40310
2023-05-29 11:08:35 +03:00
Peter Holm
750ae32b9e stress2: Initialize variable 2023-05-27 10:34:48 +02:00
Peter Holm
273a89bb14 stress2: Tune to get more slightly broken file systems 2023-05-27 10:31:44 +02:00
Peter Holm
acfb06062a stress2: Fix warnings 2023-05-27 10:31:00 +02:00
Peter Holm
be8d01b515 stress2: Added a faster test of fsck_ffs by omitting mount(8) and umount(8) 2023-05-22 10:07:40 +02:00
Peter Holm
ca0088ae27 stress2: Occasionally modify 8 bits 2023-05-22 10:05:34 +02:00
Warner Losh
4d846d260e spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix
2023-05-12 10:44:03 -06:00
Peter Holm
b274854dd9 stress2: Added a temporary fix for the UFS+SU "out of inodes" issue 2023-05-01 12:52:42 +02:00
Peter Holm
883a49e5a1 stress2: Update the exclude list 2023-04-25 11:42:04 +02:00
Peter Holm
7f658f99f7 stress2: Mark set but unused variables as unused 2023-04-22 13:16:01 +02:00
Peter Holm
9c9dfbf256 stress2: Added comment of fixed problem. Enable test 2023-04-19 09:26:29 +02:00
Peter Holm
0ece3355f6 stress2: Added comment about a new panic found. Test both SU and SU+J. 2023-04-14 09:55:10 +02:00
Peter Holm
af67f36a92 stress2: Update the exclude list 2023-04-10 10:03:22 +02:00
Peter Holm
a02c285690 stress2: Tune MAXVNODES to avoid excessive run time 2023-04-08 09:19:23 +02:00
Peter Holm
74901941fc stress2: Add comment about problem found. Disable run of this test 2023-04-03 09:33:03 +02:00
Peter Holm
bb1f64b200 stress2: Fix syntax error. Remove redundant backup 2023-03-22 10:05:46 +01:00
Peter Holm
e689e7facd stress2: Fix compiler warning 2023-03-22 10:05:04 +01:00
Peter Holm
ce7b20e512 stress2: Added more FFS tests 2023-03-19 09:55:00 +01:00