aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Print DeviceHandle and PhysicalId in hex.Alexander Motin2021-02-051-2/+2
| | | | | | | The first is actually a bitfield. The second is printed in hex by dmidecode, so uniformidy should be good. MFC after: 1 week
* Improve ACPI_NFIT_CONTROL_REGION formatting.Alexander Motin2021-02-051-7/+7
| | | | MFC after: 1 week
* cpucontrol(8): Fix display.Konstantin Belousov2021-02-051-1/+1
| | | | | Sponsored by: The FreeBSD Foundation MFC after: 3 days
* usr.bin/jail: Fix tests when using kyua -v parallelism=NAlex Richardson2021-02-041-0/+2
| | | | | | | | These tests create jails with the same name, so they cannot be run in parallel. Reviewed By: lwhsu Differential Revision: https://reviews.freebsd.org/D28482
* usr.sbin/praudit: Fix tests after 5619d49e07Alex Richardson2021-02-037-7/+7
| | | | | | | | Commit 5619d49e07 made the getgrgid() call inside bsm work as intended so we now print "wheel" instead of a numeric 0 in the rgid field. Reviewed By: markj Differential Revision: https://reviews.freebsd.org/D28462
* config: Fix typo in comment.John Baldwin2021-02-011-1/+1
|
* Now that the portsnap buildbox is generating the raw bits for INDEX-14,Xin LI2021-01-291-1/+2
| | | | | | add it to the set of INDEX files built by portsnap. Switch to INDEX-14 for main.
* usr.sbin/pkg: Don't re-define roundup2Alex Richardson2021-01-281-2/+0
| | | | | | | | The file already includes sys/param.h and should use that definition. I found this while testing D28332. Reviewed By: bapt Differential Revision: https://reviews.freebsd.org/D28331
* bsdinstall: riscv-specific tweaksMitchell Horne2021-01-275-5/+13
| | | | | | | | | | | | Make the installer more useful, by allowing it to create a bootable installation. Also, enable the menu option for ZFS-on-root. Like arm64, RISC-V boots by UEFI only, so arm64's partedit implementation is renamed and shared among the two platforms. Reviewed by: gjb MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D28180
* bsdinstall: create /efi/boot directory in ESPMitchell Horne2021-01-271-4/+7
| | | | | | | | | | If the installer is creating a new ESP, then this directory will not exist and the subsequent cp will fail silently. This is usually of no consequence if /efi/freebsd/loader.efi is set up correctly. Reviewed by: imp MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D28176
* ndis(4): remove as previous announcedBrooks Davis2021-01-2522-3942/+2
| | | | | | | | | | | | | | nids(4) was a clever idea in the early 2000's when the market was flooded with 10/100 NICs with Windows-only drivers, but that hasn't been the case for ages and the driver has had no meaningful maintenance in ages. It only supports Windows-XP era drivers. Also remove: - ndis support from wpa_supplicant - ndiscvt(8) Reviewed By: emaste, bcr (manpages) Differential Revision: https://reviews.freebsd.org/D27609
* Decode NFIT Platform Capabilities.Alexander Motin2021-01-251-1/+17
| | | | MFC after: 1 week
* cxgbetool: correct utilties typoEd Maste2021-01-241-1/+1
|
* build: remove LIBPTHREAD/LIBTHR build optionsKyle Evans2021-01-222-4/+0
| | | | | | | | | | | | | | | | | | WITHOUT_LIBTHR has been broken for a little over five years now, since the xz 5.2.0 update introduced a hard liblzma dependency on libthr, and building a useful system without threading support is becoming increasingly more difficult. Additionally, in the five plus years that it's been broken more reverse dependencies have cropped up in libzstd, libsqlite3, and libcrypto (among others) that make it more and more difficult to reconcile the effort needed to fix these options. Remove the broken options. PR: 252760 Reviewed by: brooks, emaste, kib Differential Revision: https://reviews.freebsd.org/D28263
* Fix manpage markup in 2c8bb126de56ce49637ad752e78957d9ebafba02Allan Jude2021-01-211-1/+3
|
* bhyve: Add missing man page section on the nodelete block-device-optionAllan Jude2021-01-211-0/+2
| | | | | Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D28272
* Minor simplification of MK_PMC case in usr.sbin/MakefileAlex Richardson2021-01-201-2/+1
| | | | | | | MK_PMC is already guarded by MK_CXX in src.opts.mk, so we can actually merge it with the following SUBDIR statement after c1a3d7f20696. Suggested By: jrtc27
* Remove remaining uses of ${COMPILER_FEATURES:Mc++11}Alex Richardson2021-01-191-3/+1
| | | | | | | | | | All supported compilers have C++11 support so these checks can be replaced with MK_CXX guards. See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252759 PR: 252759 Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D28234
* Support COM3 and COM4 serial ports.Peter Grehan2021-01-193-5/+11
| | | | | | Submitted by: Jan Poctavek <janci@binaryparadise.com>, otis Reviewed by: grehan (bhyve), imp, 0mp (manpages) Differential Revision: https://reviews.freebsd.org/D28207
* fstyp(8): fix exfat detectionConrad Meyer2021-01-171-10/+8
| | | | | | | In the presence of high-level errors (spec violations, bad boot blocks checksum), report non-detection instead of detection. PR: 252787 (related, but does not fully address)
* service.8: Use entire section of literally displayed textDaniel Ebdrup Jensen2021-01-161-3/+5
| | | | | | | | | | .Dl indents literal display text for one line, but .Bd can do it for a whole subsection. Pointy hat to: debdrup Reported by: 0mp Reviewed by: 0mp Differential Revision: https://reviews.freebsd.org/D28198
* service.8: Provide example for adding completions to (t)cshDaniel Ebdrup Jensen2021-01-161-1/+8
| | | | | | | | | | | | | | service(8) has an example for bash completion, however bash is third party and in /usr/share/examples/csh/dot.cshrc is a working example for csh. Since I use (t)csh, I've tested it, and it works for me. PR: 179497 Submitted by: ohauer@ Reviewed by: kp (tentatively) Differential Revision: https://reviews.freebsd.org/D28197
* Fix a typoMateusz Piotrowski2021-01-141-2/+3
| | | | | | "and" is not a flag. MFC after: 3 days
* [wpa] Add support for hostapd/wpa_supplicant when WITHOUT_CRYPT=YESAdrian Chadd2021-01-133-3/+34
| | | | | | | | | | | | | | is enabled. This builds wpa_supplicant / hostpad using internal encryption routines rather than using libcrypt. This has been supported in wpa for years now, however since we use local makefiles for this, we bitrotted dependencies and configuration options. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D27958
* bsdconfig: correct utilties typoEd Maste2021-01-121-1/+1
|
* Bump amount of queued packets in for unresolved ARP/NDP entries to 16.Alexander V. Chernikov2021-01-111-18/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently default behaviour is to keep only 1 packet per unresolved entry. Ability to queue more than one packet was added 10 years ago, in r215207, though the default value was kep intact. Things have changed since that time. Systems tend to initiate multiple connections at once for a variety of reasons. For example, recent kern/252278 bug report describe happy-eyeball DNS behaviour sending multiple requests to the DNS server. The primary driver for upper value for the queue length determination is memory consumption. Remote actors should not be able to easily exhaust local memory by sending packets to unresolved arp/ND entries. For now, bump value to 16 packets, to match Darwin implementation. The proper approach would be to switch the limit to calculate memory consumption instead of packet count and limit based on memory. We should MFC this with a variation of D22447. Reviewers: #manpages, #network, bz, emaste Reviewed By: emaste, gbe(doc), jilles(doc) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D28068
* certctl: factor out certname resolutionKyle Evans2021-01-091-2/+17
| | | | | | | | create_blacklisted() will identify a cert whether it's provided a path to a cert or the hash.serial format that is shown by `certctl list`. Factor this logic out into a resolve_certname() so that it may be reused elsewhere.
* certctl: replace hardcoded uses of /usr/localKyle Evans2021-01-091-2/+3
| | | | | | | Use the new user.localbase sysctl here as well, to reduce the number of hardcoded localbase by one (1). MFC after: 3 days (note: just use a literal /usr/local default)
* pccard: Remove bt3c(4) driverWarner Losh2021-01-085-333/+0
| | | | | | | | pccard is being removed, so remove bt3c driver since it only has PC Card attachment. Also remove bt3cfw(8) since it's the firmware for this driver. Relnotes: Yes
* Fix a typoMateusz Piotrowski2021-01-071-2/+2
| | | | MFC after: 3 days
* Rename NO_WERROR -> MK_WERROR=noAlex Richardson2021-01-071-1/+1
| | | | | | | | As suggested in D27598. This also supports MK_WERROR.clang=no and MK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses. Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D27601
* Fix -Wpointer-sign warnings in makefs and mkimgAlex Richardson2021-01-076-93/+61
| | | | | Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D27175
* gstat(8): Bump .DdFernando ApesteguĂ­a2021-01-061-1/+1
| | | | | | | Forgotten in cfaa2958dc44c20f56a19fe490ee4d7c02f50bef PR: 251313 Differential Revision: https://reviews.freebsd.org/D27815
* gstat(8): Document interactive keyboard commandsFernando ApesteguĂ­a2021-01-061-0/+22
| | | | | | | | | gstat(8) allows for <, >, c, f, F and q while in interactive mode. PR: 251313 Submitted by: bojan_petrovic@fastmail.fm Approved by: manpages (0mp@) Differential Revision: https://reviews.freebsd.org/D27815
* pkg(7): rework the arguments handlingBaptiste Daroussin2021-01-062-40/+102
| | | | | | | | | | | | | | Rework the arguments handling around using getopt_long: * add long option support * add -4 and -6 support to enforce ipv4 or ipv6 While here fix a regression which occured between FreeBSD 12.1 and FreeBSD 12.2 where pkg bootstrap -y stopped working PR: 252270 MFC after: 2 weeks Submitted by: evilham <contact@evilham.com> Differential Revision: https://reviews.freebsd.org/D27860
* Fix devinfo typo.Alexander Motin2021-01-051-1/+1
| | | | | | Submitted by: Nick Wolff <darkfiberiru@gmail.com> MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D27981
* Add the missing pmcstat log entriesAndrew Turner2021-01-051-0/+17
| | | | Sponsored by: Innovate UK
* pkgbase: Put ppp in it's own packageEmmanuel Vadot2021-01-042-0/+2
| | | | | | | | ppp uses libalias modules which now belong in the natd package. Avoid bringing a dependancy on natd for the utilities package. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D27711
* bhyve: fix build without casper/capsicum supportMariusz Zaborski2021-01-031-1/+1
| | | | | | Fix typo introduced in 966026246e62769f3bcd8247a47fe0f4f0433aba. Pointed out by: jbeich
* bhyve: fix build without casper/capsicum supportMariusz Zaborski2021-01-031-1/+10
| | | | PR: 252353
* bootparamd: Add missing __unused mark.Yoshihiro Takahashi2021-01-021-2/+2
| | | | | | | | | e03764d931d820185a019334259b18df2e3f6b6c did not catch all unused variables. Submitted by: otis MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D27894
* bootparamd: Fix several warnings and increase warn level to 6.Yoshihiro Takahashi2021-01-024-69/+59
| | | | | | | | | | | | | - Increase WARNS to 6. - Except -Wcast-align and -Wincompatible-pointer-types-discards-qualifiers checks. - Use ANSI C prototype. - Statically variables and functions. - Add extern declaration for global variables. - Rename local variables to resolve shadow warnings. PR: 71667 MFC after: 2 weeks
* usr.sbin/rtadvctl: Remove support for FreeBSD 9.x.Xin LI2021-01-021-14/+0
|
* services: reinstate CouchDB and bring amqpsPedro F. Giffuni2021-01-011-0/+4
| | | | | | | | | | CouchDB was mistakenly removed in r368712 amqps is used by net/rabbitmp Both are registered in IANA Reported by: dch Differential Revision: https://reviews.freebsd.org/D27691
* services: fiz bug introduced in r361898Pedro F. Giffuni2021-01-011-1/+1
| | | | Reported by: deischen@
* [vale] Fix valectl to compile on a 32-bit platformAdrian Chadd2020-12-301-1/+1
| | | | | | | | This shows up when compiling valectl on a 32 bit platform like i386 and mips32. gcc-6.4 complains about this (-Wint-to-pointer-cast). Reviewed by: vmaffione Differential Revision: https://reviews.freebsd.org/D27814
* Fix typo in an_initator_name.Alexander Motin2020-12-302-5/+5
| | | | MFC after: 1 week
* Update leap-seconds to leap-seconds.3676924800.Xin LI2020-12-301-4/+4
| | | | | Obtained from: ftp://ftp.nist.gov/pub/time/leap-seconds.3676924800 MFC after: 3 days
* Fix typo in ap_initator_portal.Alexander Motin2020-12-292-4/+4
| | | | MFC after: 1 week
* iscsid(8): fix memory leak by freeing the 'addr'Edward Tomasz Napierala2020-12-291-0/+2
| | | | | | | Reviewed By: mav Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D27328