aboutsummaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* ncurses: chase dependency changes in the source treeBaptiste Daroussin2021-10-042-2/+2
| | | | Differential Revision: https://reviews.freebsd.org/D32098
* nemtap: lb app: Validate ihl field when hashing packetVincenzo Maffione2021-09-261-1/+3
| | | | MFC after: 1 week
* check-links.sh: treat PIE executable as elf filesBaptiste Daroussin2021-09-231-1/+1
|
* stress2: Update test to ensure propper cleanup of fifo filesPeter Holm2021-09-201-42/+25
|
* nanobsd: Provide empty routines for new embedded schemeWarner Losh2021-09-161-0/+8
| | | | | | | | | calculate_partitioning and create_code_slice are now required in nanobsd.sh. While things work with the ones provided by legacy.sh, it's fighting embedded/common's other actions. Instead, replace them with stubs. Sponsored by: Netflix
* test/ptrace/scescx.c: fix printing of braces for syscalls without argsKonstantin Belousov2021-09-161-2/+3
| | | | | | | Also do not print stray closing brace for error condition. Sponsored by: The FreeBSD Foundation MFC after: 3 days
* stress2: Added more unionfs testsPeter Holm2021-09-163-0/+162
|
* stress2: replace fuse.ko with fusefs.koAlan Somers2021-09-153-5/+5
| | | | | | | | | It got renamed in FreeBSD 13 Reviewed by: pho MFC after: 2 weeks Sponsored by: Axcient Differential Revision: https://reviews.freebsd.org/D31963
* tools/test/upsdl: fix compiler warningsAlan Somers2021-09-141-5/+6
| | | | | MFC after: 2 weeks Sponsored by: Axcient
* stress2: A two second timeout is too shortPeter Holm2021-09-141-2/+2
|
* tzcode: Implement timezone change detectionEdward Tomasz Napierala2021-09-121-0/+2
| | | | | | | | | | | | Implement optional timezone change detection for local time libc functions. This is disabled by default; set WITH_DETECT_TZ_CHANGES to build it. Reviewed By: imp Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. X-NetApp-PR: #47 Differential Revision: https://reviews.freebsd.org/D30183
* stress2: Update test to the sysctl 'vfs.lookup_shared' being removedPeter Holm2021-09-131-14/+10
|
* stress2: Added missing unmountPeter Holm2021-09-131-0/+2
|
* stress2: Add a syzkaller reproducerPeter Holm2021-09-091-0/+91
|
* Fix cross-builds after 4e5d32a445f90d37966cd6de571978551654e3f3Jose Luis Duran2021-09-071-0/+19
| | | | | | | Add alignment macros to cross-build's sys/cdefs.h Pull Request: https://github.com/freebsd/freebsd-src/pull/531 MFC after: immediately (build fix)
* git-arc: allow word splitting in build_commit_list()Robert Wing2021-09-061-1/+2
| | | | | | | | | | git-rev-list expects commits to be listed separately, allow word splitting and disable shellcheck SC2086 when using git-rev-list to build the commit list. Fixes: 4fd0c6ab1a9e ("Fix most shellcheck warnings in git-arc.sh") Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D31838
* iconv: Fix "make make-ref"Edward Tomasz Napierala2021-09-061-2/+2
| | | | | | | | | | | The purpose of this command is to "refresh" the source reference files generated with GNU libiconv, located in tools/test/iconv/ref/. Previously it would generate copies somewhere in OBJDIR, which we don't use. Reviewed By: allanjude Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D31820
* iconv: Fix tablegen iconv test utility on arm64Edward Tomasz Napierala2021-09-061-1/+1
| | | | | | | | | Previously it would loop indefinitely on getopt_long(3) due to 'char' being unsigned. Reviewed By: allanjude Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D31817
* iconv: Fix path names used by iconv(3) tests.Edward Tomasz Napierala2021-09-061-8/+8
| | | | | | Reviewed By: allanjude Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D31815
* iconv: Make it possible to build iconv(3) test suite.Edward Tomasz Napierala2021-09-063-18/+18
| | | | | | | | It was broken after 1243a98e38a5. Reviewed By: allanjude Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D31816
* stress2: Added a syzkaller reproducerPeter Holm2021-09-062-0/+328
|
* Add WITH_LLVM_BINUTILS to install LLVM binutils instead of ElftoolchainAlex Richardson2021-09-061-0/+2
| | | | | | | | | | | | | | | | | | | When WITH_LLVM_BINUTILS is set, we will install the LLVM binutils as ar/ranlib/nm/objcopy/etc. instead of the elftoolchain ones. Having the LLVM binutils instead of the elftoolchain ones allows us to use features such as LTO that depend on binutils that understand LLVM IR. Another benefit will be an improved user-experience when compiling with AddressSanitizer, since ASAN does not symbolize backtraces correctly if addr2line is elftoolchain addr2line instead of llvm-symbolizer. See https://lists.freebsd.org/archives/freebsd-toolchain/2021-July/000062.html for more details. This is currently off by default but will be turned on by default at some point in the near future. Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D31060
* stress2: Added missing ktrace() cleanupPeter Holm2021-09-051-0/+2
|
* Support bootstrapping from Linux/ppc*Justin Hibbits2021-09-041-0/+2
|
* stress2: Update test to new working of option nomtimePeter Holm2021-09-021-2/+2
|
* stress2: Added timeout for looping mdnsdPeter Holm2021-09-021-1/+1
|
* stress2: Fix cleanupPeter Holm2021-09-021-1/+1
|
* stress2: Fix cleanupPeter Holm2021-09-021-1/+1
|
* stress2: Fix cleanupPeter Holm2021-09-021-3/+3
|
* stress2: Make test less verbosePeter Holm2021-09-021-2/+2
|
* stress2: Added new msdosfs rename() testsPeter Holm2021-08-295-0/+475
|
* Silence unused parameter warnings in fspacectl(2) bootstrap stubDimitry Andric2021-08-281-5/+6
| | | | | | | While here, replace spaces with tabs and add a newline at EOF. Fixes: 5425ba8332571e57f9fe623346cb9d83293264d4 MFC after: 3 days
* truncate(1): Fix cross-build CI failure due to missing fspacectlKa Ho Ng2021-08-243-0/+97
| | | | | | | | For other platforms, fspacectl(2) is absent. This commit masks out the calls to fspacectl(2) and replace them with a ENODEV errno. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D31619
* Fix a few typos in source code commentsGordon Bergling2021-08-141-1/+1
| | | | | | - s/posbile/possible/ MFC after: 5 days
* tools/build/cross-build: Fix building libllvmminimal on LinuxJessica Clarke2021-08-123-0/+133
| | | | | | | | | | There is a __used member in glibc's posix_spawn_file_actions_t in spawn.h, so we must temporarily undefine __used when including it, otherwise Support/Unix/Program.inc fails to build. This is based on similar handling for __unused in other headers. Fixes: 31ba4ce8898f ("Allow bootstrapping llvm-tblgen on macOS and Linux") MFC after: 1 week
* nanobsd: Correct a typo in a commentGordon Bergling2021-08-091-1/+1
| | | | | | - s/partion/partition/ MFC after: 3 days
* pkgbase: move locales into their own packageBaptiste Daroussin2021-08-031-0/+2
| | | | | | | | The only exception here being C.UTF-8 as this is the default locales so it needs to always be installed Reviewed by: pkgbase (emaste) Differential Revision: https://reviews.freebsd.org/D31397
* locales: fix abuse of bsd.dirs.mkBaptiste Daroussin2021-08-031-2/+2
| | | | | | | | the way SAMEDIRS was defined was an abuse of bsd.dirs.mk resulting in all the directory to be created in one single command, but DESTDIR is only prepend once on the first element of the list Switch to the properway to use bsd.dirs.mk
* locales: stop hardcoding the directories in the mtreeBaptiste Daroussin2021-08-031-0/+2
| | | | | | | | | The framework knows how to create directories and tag them properly for a the creation of a mtree, not need to hardcode all the locales entries in bsd.usr.mk This simplifies addition of new locales but also allow people building with WITHOUT_LOCALES to end up with a directory full of empty files
* Fix BUILD_WITH_STRICT_TMPPATH build after adding time to ITOOLSAlex Richardson2021-08-021-2/+2
| | | | | This is needed after bbd16236e986ef1b0e1da37c9c8a7f9dd2d63b5d (and 99feb137f5f66f903bba816c1d98ced2a92bef12).
* Allow bootstrapping llvm-tblgen on macOS and LinuxAlex Richardson2021-08-022-0/+10
| | | | | | | | | | This is needed in order to build various LLVM binutils (e.g. addr2line) as well as clang/lld/lldb. Co-authored-by: Jessica Clarke <jrtc27@FreeBSD.org> Test Plan: Compiles on ubuntu 18.04 and macOS 11.4 Reviewed By: dim Differential Revision: https://reviews.freebsd.org/D31057
* tools/build: Don't redefine open() for the linux bootstrapAlex Richardson2021-08-021-21/+4
| | | | | | | | | | | This is needed to bootstrap llvm-tblgen on Linux since LLVM calls `::open(...)` which does not work if open is a statement macro. Also stop defining O_SHLOCK/O_EXLOCK and update the only bootstrap tools user of those flags to deal with missing definitions. Reviewed By: jrtc27 MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D31226
* nanobsd: adopt dhcpd to latest conventionsWarner Losh2021-07-301-3/+3
| | | | | | | Adopt the dhcpd build to use nanobsd-build top level directory that other nanobsd builds are using. Sponsored by: Netflix
* Update WITHOUT_KERNEL_SYMBOLS descriptionEd Maste2021-07-271-4/+1
| | | | | | | | | | | | We have installed kernel debug data under /usr/lib/debug/ for some time now, so the suggestion to set WITHOUT_KERNEL_SYMBOLS for small root partitions is no longer valid. Also call them "debug symbol files" rather than just "symbol files", since they contain much more than just symbols. The kernel also includes (some) symbols, regardless of the setting of this knob. MFC after: 1 week
* stress2: Add another "mdconfig -d -o force" test scenarioPeter Holm2021-07-251-0/+81
|
* Add stress2 test to exercise FFS forcible unmount with stacked nullfsJason A. Harmening2021-07-241-0/+85
| | | | | | Reviewed by: kib, mckusick Tested by: pho Differential Revision: https://reviews.freebsd.org/D31016
* Fix the pattern for changing PermitRootLoginJose Luis Duran2021-07-241-1/+1
| | | | | | | | | | The previous pattern had the (harmless) side-effect of duplicating the entry in the config file. No functional change intended. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/510
* locale: Add Farsi/Persian localesFaraz Vahedi2021-07-232-1/+3
| | | | | | MFC after: 3 weeks Reviewed by: farrokhi Differential Revision: https://reviews.freebsd.org/D24359
* locales: upgrade CLDR to 39.0 and Unicode to 13.0.0Baptiste Daroussin2021-07-231-0/+5931
| | | | | MFC after: 3 weeks Relnotes: yes
* locales: prepare CLDR update to v39.0 and Unicode to 13.0.0Baptiste Daroussin2021-07-231-21/+11
| | | | | Note that rebuilding the cldr tool is not necessary anymore, also note that the sources are not anymore provided along with the other distfiles