Use ETHER_MACADDR_{IG,UL}
if_tap.c and if_vether.c are not modified. I don't know where f2:0b:a4
comes from.
I think it'll be good to create a new function which make random MAC address
and use it.
libsaslc(3): simplify ENVIRONMENT section
Users need to know the actual names of the environment variables, not
the names of the C preprocessor constats used by the source code of
the library to refer to the string constants that contain the names of
these environment variables.
libsaslc(3): reduce verbiage
Prune "f() - The function f() does X" to just "f() - Do X." This also
gets rid of the visual clutter created by two long function names in
bold right next to each other.
Move saslc_strerror() next to other context functions - it's their
errors that it reports. It's far more important than the superficial
similarity with saslc_sess_strerror().
Leave encode/decode alone for now. Rewording that bit is not as
straightforward as the rest of them.
ether_input: Silently discard oversized frame
Some Ethernet controllers do not allow the maximum receive frame size to be
configured in bytes. Additionally, some Ethernet controllers cannot
automatically adjust the maximum receive frame size setting to account for the
presence or absence of a VLAN tag. ether_input() counts the oversized frame
into ierrors. There is no need to print an error message.
imx_ccm: check that regidx is mapped; accept same-rate set_rate
- Reject table entries whose register region is not mapped.
- For clocks without set_rate, return 0 if the requested rate equals
the current rate, as clk_set_rate() does; otherwise ENXIO as before.
- Note that busy_reg must be in the same region as the divider.
Tested on QEMU mcimx7d-sabre: the clock list is unchanged, a same-rate
request on a PLL now succeeds (was ENXIO), and an unmapped regidx
stops attach. Built GENERIC and GENERIC64.
imx_ccm: extend the core for non-FDT i.MX50/51 CCM support
- Allow four register regions for the i.MX5 CCM and DPLL1-3.
- Add read-only divider and mux macros, including _INDEX variants.
- Add IMX_DIV_ONE_BASED, where zero means the clock is stopped.
- Add IMX_DIV_BUSY and its _INDEX variant to wait for the busy bit.
- Validate parent names against the clock table on non-FDT attach.
- Add a read-only i.MX5 DPLL clock type, kept out of GENERIC builds.
Use unsigned rate differences in divider and composite set_rate.
A true difference of 2^31 Hz or more could appear negative as an int
and select the wrong divisor. This is the only behavior change on
i.MX7D and i.MX8MQ.
Tested on QEMU mcimx7d-sabre: the clock list was unchanged, and a
3 GHz request with a 24 MHz parent changed from 3,428,571 Hz (/7)
to 24 MHz (/1). Built GENERIC, GENERIC64, KOBO, and NETWALKER
(i.MX8MQ build-tested only).
libsaslc: Rework gssapi/krb5 instructions.
1. Simplify by using just a postfix-specific keytab -- no kinit
involved.
2. Nix kstash(8), not recommended.
3. Abbreviate kadmin(8) options with `--use-defaults'.
4. Do not recommend copying every keytab around everywhere; these
should be restricted to the hosts (and only to the users on those
hosts) that need them.
5. Fix missing smtp_sasl_password_maps in postfix config and omit
needless AUTHCID setting -- it comes from that. (Note what
properties postfix provides defaults for and which ones it passes
unconditionally too.)
6. Quietly suggest using smtp_tls_security_level=encrypt so that the
[12 lines not shown]
libsaslc: GSSAPI: Use gss_acquire_cred if AUTHCID is set.
Without this change, gss_init_sec_context will _only_ consult the
krb5 credential cache, requiring kinit(1) beforehand -- it will
ignore any available keytabs, which is suboptimal for usage by a
client daemon like postfix relaying mail over SMTP as a client.
With this change, gss_acquire_cred will consult the kr5 credential
cache or the keytab, and you can choose what credential it uses.
The location of the keytab can be set with the krb5.conf
[libdefaults] default_keytab_name setting, or the KRB5_KTNAME
environment variable. (Perhaps we should add a new saslc property
for the keytab and/or ccache path too, using the gssapi cred store
extensions that will become available once Heimdal 8 is out.)
PR lib/60320: libsaslc: gssapi mech should support loading keytabs
First start at interprocessor messaging for pmap operations.
First up: tell other CPUs that have a pmap loaded when that pmap
transitions to using the null_segtab (when last mapping has been
removed).
mdio.h: Simplify "Vendor Specific"
- Rename MDIO_MMD_VNDSP[12] to MDIO_MMD_VND[12] to simplify
- Rename MDIO_VSMMD[12]* to MDIO_VND[12] for consistency