| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this change snmp_open(3) would always bind(2) client socket to a
random "/tmp/snmpXXXXXXXXXXXXXX" name. However, this binding is not
required for SOCK_STREAM transport. Also, any attempt to specify a
different name would fail, as open_client_local() would blindly rewrite
the name to the default.
Make this binding optional. If application had initialized
snmp_client.local_path, then try to bind to the specified pathname,
otherwise perform the random name binding only if we are in the
SOCK_DGRAM mode.
While here change snmp_client.local_path size to SUNPATHLEN, so that any
legitimate local socket name can be used. This requires library version
bump.
Note that this code has been broken by 81e0e7b9e36d for three years, thus
it is known not to be widely used.
Reviewed by: harti
Differential Revision: https://reviews.freebsd.org/D51070
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove -w; there is no need for destructive actions here.
- Remove the glob from before "vn_fullpath"; the probe description
matches vn_fullpath only anyway, so there is no need for the glob
here.
PR 288222
Reviewed by: christos
Approved by: christos (mentor)
Fixes: 113f2f0c76a7 stress2: Updated dtrace comment
Differential Revision: https://reviews.freebsd.org/D51341
|
| |
|
|
|
|
|
|
|
| |
While here, clean the detection code up a bit.
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D51343
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
with enough glue to make libc/gen/err.c compilable.
Reported by: jhb
Reviewed by: jhb, jrtc27
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D51217
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These scripts have not seen the necessary changes to keep them up to
date with current KPIs and coding practices. They use I/O ports directly
rather than any bus abstractions, use i386 (which is on the way out for
kernel configs) as the architecture of choice for generated kernel
configs, use ISA KPIs, use INTR_TYPE_FAST (renamed in 2000 to INTR_FAST
and removed in 2011), and likely have other issues too that render them
more harm than good for the uninitiated developer looking for a driver
template. If anyone wants to invest time in modernising them they can do
so and bring them back, but for now delete them.
Reviewed by: cperciva, imp, emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D50468
|
| |
|
|
|
| |
Reported by: fluffy, "Herbert J. Skuhra" <herbert@gojira.at>
Fixes: af2593e3212c
|
| |
|
|
|
| |
The output printed by this function is used as the author name, so we
don't want to print informational messages to stdout.
|
| |
|
|
|
| |
Fixes: 8e1e989c77d4 ("Add host.test.mk for DIRDEPS_BUILD")
Sponosred by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When patching, we use the querydiffs endpoint to get a name and email
for the revision's author. It's possible that this info isn't recorded,
in which case the results after post-processing are just "null".
However, if the diff has multiple revisions, the endpoint returns an
entry for each one, some of which may contain author info, others not.
So, the deleted code which tries to filter out "null" isn't sufficient,
since the value in question might be something like "<valid
name>\nnull".
Try to make this filtering a bit smarter to avoid generating incorrect
author info.
Reviewed by: jlduran
Reported by: des
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D51065
|
| |
|
|
|
|
|
| |
Additional man pages that should not be removed when switching back to
Heimdal.
Fixes: af2593e3212c
|
| |
|
|
|
|
|
| |
Additional files that should not be removed when switching back to
Heimdal.
Fixes: af2593e3212c
|
| |
|
|
|
|
| |
When switching back to Heimdal remove libverto.a, an MIT KRB5 library.
Fixes: af2593e3212c
|
| |
|
|
|
|
| |
When switching back to Heimdal keep Heimdal's .a files.
Fixes: af2593e3212c
|
| |
|
|
|
|
|
|
| |
Update the script to include serial port config, serial console and the
proper root filesystem. This works for amd64 + ufs, but might need a
slight refactor for aarch64 and/or zfs.
Sponsored by: Netflix
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The lua loader is quite mature, and /boot is getting a bit cluttered.
Allow removing the Forth loader with `make delete-old` if WITHOUT_FORTH
is set, instead of the previous behavior of only removing the doc.
MFC: no, I think this is a breaking change
Approved by: kevans (src)
Reviewed by: kevans (UPDATING note tweaked since)
Discussed with: imp, tsoome (thanks!)
Differential Revision: https://reviews.freebsd.org/D50708
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The files being removed were artifacts of my initial builds using
a process to extract files used by the port during its build. It
was later discovered they were not needed but they were not removed
from the build at the time.
tools/build/mk/OptionalObsoleteFiles.inc removes the extraneous files
from an installed system. These files are not supposed to be installed.
There are three parts of this patch.
1. Don't install them in the first place.
2. Remove the files if they were previously installed.
3. Ensure they are removed when switching back to Heimdal from MIT.
Reported by: fluffy
Fixes: ee3960cba106
|
| |
|
|
|
|
|
|
|
|
| |
By setting CCACHE_NAME=sccache , sccache can be used as an alternative
for ccache.
Reviewed by: emaste, jhb
Event: Kitchener-Waterloo Hackathon 202506
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49417
|
| |
|
|
|
|
|
|
|
|
| |
MALLOC_OPTIONS=J -> MALLOC_CONF=junk:true
PR: 287357
Reviewed by: markj
Event: Kitchener-Waterloo Hackathon 202506
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50910
|
| |
|
|
|
|
| |
Reported by: "Herbert J. Skuhra" <herbert@gojira.at>
Original by: "Herbert J. Skuhra" <herbert@gojira.at>
Fixes: 7e35117eb07f
|
| |
|
|
|
|
| |
These will be needed by future changes to continue to allow building
makefs as a bootstrap tool on Linux and macOS. This also requires
defining __sbintime_t in our cross-build sys/_types.
|
| |
|
|
|
|
|
|
|
|
|
| |
Add tests for MK_MITKRB5. If "yes" build MIT KRB5. If "no" build Heimdal.
The default is MK_MITKRB5 = no, added by "krb5: Add build plumbing".
At some point we will change the default to MK_MITKRB5 = yes. A ports
exp-run will need to be successfully run first.
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D50815
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If no Kerberos is wanted (MK_KERBEROS == no) remove whatever kerberos
is installed.
If MIT KRB5 is wanted (MK_MITKRB5 == yes) remove the Heimdal files.
If Heimdal is wanted (MK_MITKRB5 == no) remove the MIT KRB5 files.
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D50814
|
| |
|
|
|
|
|
| |
PR: 287502
Reviewed by: kbowling, ziaee
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50834
|
| |
|
|
|
|
| |
'device crypto' is now required for 'device pf' so add it.
Sponsored by: Netflix
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Switch to using sys/stdarg.h for va_list type and va_* builtins.
Make an attempt to insert the include in a sensible place. Where
style(9) was followed this is easy, where it was ignored, aim for the
first block of sys/*.h headers and don't get too fussy or try to fix
other style bugs.
Reviewed by: imp
Exp-run by: antoine (PR 286274)
Pull Request: https://github.com/freebsd/freebsd-src/pull/1595
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first in a series of commits to replace Heimdal with
MIT KRB5. This first commit adds the WITH_MITKRB5/MK_MITKRB5 knob
to src.opts.mk and its corresponding documentation in
tools/build/options. The default is off.
This change of and by itself is of no consequence as MIT KRB5 has
yet to be imported in to HEAD. But it does insulate the build from
inremental change until the last patch is committed when WITH_MITKRB5
will build MIT KRB5 1.21.3 instead of Heimdal.
The affords us the opportunity to review smaller commits.
This is the first of many commits.
Reviewed by: imp, jhb, brooks, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50684
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The primary benefit of this rewrite is that it parallelizes a number of
the make(1) jobs that it needs to do. It does so with a very naive
forking model that could likely be improved, but is sufficient for our
purposes. This version also doesn't assume that CWD is sane, and
instead operates relative to the directory the script resides in.
Note that this initial version is only intended to match the output of
the legacy script. Some work is planned afterward to refactor the
script out into various components to improve maintainability after we
have switched over to it.
In my horribly performing dev environment, this version runs in 40s
rather than the original ~2 minutes. On a Mt. Snow machine, this
version runs in ~15s rather than the original ~1m40s.
This change does not yet switch the top-level `makeman` target over to
the new version.
Reviewed by: bapt (earlier version), emaste
Differential Revision: https://reviews.freebsd.org/D39084
|
| |
|
|
|
|
|
|
|
|
|
| |
After f91d251b399a, some rc.d scripts are gated behind the src.conf knob
for the services they start. Add them to OptionalObsoleteFiles.inc so
they are properly removed when the knob is disabled.
Fixes: f91d251b399a ("rc.d: move some rc scripts to their packages")
Reviewed by: kevans, jhb
Approved by: kevans (mentor)
Differential Revision: https://reviews.freebsd.org/D50560
|
| | |
|
| |
|
|
|
|
| |
Reviewed by: jhibbits
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50445
|
| |
|
|
|
|
| |
The build was broken by two separate changes:
aa90fbed151de512ab6e59f75df009533a15751f
772430dd67955850942d689714ab982da24257ba
|
| |
|
|
|
|
|
|
| |
Support for WITH_/WITHOUT_LLVM_TARGET_SPARC was removed in commit
47e9f42ea39b ("Remove sparc64 specific buid-system hacks") so the
descriptions serve no purpose.
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
| |
Just like powerd daemon does not depend on ACPI/APM, its rc script does
not either.
Fixes: 20eb6bd8c598f
MFC after: 1 week
|
| |
|
|
|
|
|
| |
ecc662c749b1.
The traced process now no longer exits immediately at the attach.
After a PT_DETACH do not try to wait on a non child process. Style fixes.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
People are turning on the option and then tripping over weird
consequences. See bugs 248338 and 271170 as examples.
Approved by: cy, imp, philip
Differential Revision: https://reviews.freebsd.org/D25902
Co-authored-by: Joseph Mingrone <jrm@FreeBSD.org>
|
| |
|
|
|
|
| |
Reported by: garga
Fixes: a6d202077dee ("bsdinstall: revisit the finalconfig step")
Fixes: bbe2a1da2df6 ("bsdinstall: add menu to install firmware")
|
| |
|
|
|
| |
Reported by: garga
Fixes: ee9cfd727578 ("bsdinstall: add pkgbase target")
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These are used by mtree and makefs, so in order to be able to set schg
on /var/empty in METALOG and set schg on various files and directories
in the resulting disk images we need to have a real implementation
rather than always giving no flags.
Ideally mtree wouldn't rely on round-tripping the textual flags field
via the "native" flags encoding using these functions, and ideally
makefs wouldn't rely on the "native" flags encoding matching FreeBSD's,
but in practice macOS's schg is the same and we can pretend Linux has
the same.
This fixes Linux-produced disk images lacking schg on any files or
directories, and Linux-produced distribution tarballs lacking schg on
/var/empty (note though that they do set schg on files, as install
already preserves file flags on Linux).
Reviewed by: emaste, markj
Differential Revision: https://reviews.freebsd.org/D50080
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
llvm-strings may consume a large amount of memory while reading the
input file before producing any output.
ELF Tool Chain's strings is small and lightweight, and we always install
strings regardless of WITH_/WITHOUT_TOOLCHAIN settings (as it is useful
in many contexts). Return to always installing ELF Tool Chain's version
of strings.
This reverts commit 81fa5c4a828bec9f1ead280c59c31bd423e6eeea.
This reverts commit 7ca3db1999cd967f9d6d7b259aa7af54aae14a5f.
PR: 286605
Reported by: olivier
Reviewed by: olivier, brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50084
|
| |
|
|
|
|
|
|
|
|
| |
Make it clear this is an automated message and that the change isn't on
the mirror yet, but will be soon. Also, be polite and thank the
contributor for this submission, because the project really does
appreciate it.
Reviewed by: emaste
Sponsored by: Netflix
|
| |
|
|
|
| |
PR: 286539
MFC after: 3 days
|
| |
|
|
|
| |
PR: 286539
MFC after: 3 days
|
| |
|
|
|
|
| |
Reported by: olivier
Fixes: 81fa5c4a828b ("llvm-strings: Install as strings when WITH_LLVM_BINUTILS=YES")
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
macOS added a native strchrnul in 15.4. There is not an easy way to
detect it at compile time, so use a macro to rename our local inline
version to avoid conflicts while also forcing its use during
bootstrap. The local version can be removed once macOS versions older
than 15.4 are no longer supported as build hosts.
Co-authored by: jrtc27
Reported by: kib
Reviewed by: jrtc27
Differential Revision: https://reviews.freebsd.org/D49893
|