motd.template: motd.template: updates and corrections
https://wiki.ghostbsd.org/index.php/FAQ is outdated, and no longer the
preferred page. Remove this line.
Use the new URL for documentation. 'Frequently Asked Questions' is
prominent in the sidebar.
Use the true URL for the list of FreeBSD security advisories.
https://www.GhostBSD.org/releases/ is not the place for release notes
and errata; the page does not exist. Instead, use the development
management page in GitHub.
Add the GhostBSD home page.
To the main branch, from releng/14.2. Closes:
https://github.com/ghostbsd/ghostbsd-src/pull/357
motd.template: demote the security advisories URL
The default GhostBSD message of the day will differ significantly from
the FreeBSD MOTD.
The FreeBSD URL for security advisories need not be in the midst of
GhostBSD URLs.
Have the GhostBSD URLs first. Not a mixture.
motd.template: FAQ, long URL
Remove the line with the long URL for FAQ.
With https://www.ghostbsd.org/ as a starting point, answers are two clicks away:
1. documentation
2. frequently asked questions.
pfctl: match broadcast address behaviour to the kernel
When using a /32 IPv4 interface address, pfctl(8) reports a 0.0.0.0
as broadcast address. The kernel does not consider this a broadcast
address and ifconfig(8) has a check to exclude it. Use the same
check in pfctl(8).
Found by regress/sbin/pfctl pfi2; OK mikeb@
Obtained from: OpenBSD, bluhm <bluhm at openbsd.org>, cf181e999d
Sponsored by: Rubicon Communications, LLC ("Netgate")
pf tests: verify that we send an ack challenge
If there's a state conflict with an open state and a new SYN we send an ack
probe. Verify that this works as expected.
Sponsored by: Rubicon Communications, LLC ("Netgate")
pf: send a challenge ACK for SYN's matching existing states
PF should send a challenge ACK as response to SYN, which matches existing
state. Extra thanks goes to bluhm@ for careful testing and fixing patch I've
sent to tech@
O.K. henning@ bluhm@
Obtained from: OpenBSD, sashan <sashan at openbsd.org>, 6679bb1581
Sponsored by: Rubicon Communications, LLC ("Netgate")
vfs cache: Simplify cache_enter_time() a bit
The condition `flag == NFC_ISDOTDOT && vp != NULL && vp->v_type != VDIR`
is never true at this point in the function. This is asserted slightly
earlier. So, remove some dead code and simplify control flow.
N.B. we set v_cache_dd for all vnode types, not just VDIR. This seems
to be intentional, see commit ce575cd0e2f9069. For regular files it
appears to effectively represent the most recently entered cache entry
for the vnode.
No functional change intended.
Reviewed by: olce, kib
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D50107
aio: Fix opcode handling in aio_process_rw()
LIO_FOFFSET needs to be masked off, as it is in aio_aqueue().
Reported by: syzbot+b6e15476c91852bb2264 at syzkaller.appspotmail.com
Reviewed by: kib, asomers
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D50118