Age | Commit message (Collapse) | Author |
|
committing it now so jmc@ gets commits for any fixes he makes.
|
|
found in AMD Software: Adrenalin Edition 23.7.2
|
|
this makes #include "sec.h" and #if NSEC > 0 work in kernel code.
|
|
ipsec security associations (SAs, aka tdbs inside the kernel) can
now specify that they're to be used with an interface (using
TDBF_IFACE) rather than the ipsec security policy database. sec(4)
is the driver providing that interface.
the name is specifically chosen to not be ipsec(4) because that's
already taken by the manpage for the ipsec stack generally. sec(4)
is short, easy to type and pronounce, and kind of sounds like ipsec
anyway. the names for this type of interface in other platforms
seems to be universally terrible and too generic, so i didn't want
to copy any of those either.
sec(4) can be considered equivalent to gif(4) protected by ipsec,
and on the wire it actually looks the same. sec(4) exists to better
support how security associations for route-based ipsec VPNs are
negotiated and to avoid SPD entries for them.
the code is a little green, but i'm putting it in now so it can be
hacked on in the tree.
support from many including markus@ tobhe@ claudio@ sthen@ patrick@
now is a good time deraadt@
|
|
rather than use ipsec flows (aka, entries in the ipsec security
policy database) to decide which traffic should be encapsulated in
ipsec and sent to a peer, this tweaks security associations (SAs)
so they can refer to a tunnel interface. when traffic is routed
over that tunnel interface, an ipsec SA is looked up and used to
encapsulate traffic before being sent to the peer on the SA. When
traffic is received from a peer using an interface SA, the specified
interface is looked up and the packet is handed to it so it looks
like packets come out of the tunnel.
to support this, SAs get a TDBF_IFACE flag and iface and iface_dir
fields. When TDBF_IFACE is set the iface and dir fields are
considered valid, and the tdb/SA should be used with the tunnel
interface instead of the SPD.
support from many including markus@ tobhe@ claudio@ sthen@ patrick@
now is a good time deraadt@
|
|
older BSD st_*timespec names.
ok millert@
|
|
-----
Don't printf time_t with %d; fixes PR 44128 from yamt. With this change it
successfully prints mtimes after 2038.
-----
ok millert@
|
|
|
|
7480 rev 00 is Radeon Pro W7600
7489 rev 00 is Radeon Pro W7500
found in AMD Software: PRO Edition 23.Q3 W7000 Series
|
|
non-acpi x86 machines. This was lost in refactoring when moving /dev/apm
code from acpi.c to acpi_apm.c.
Found by Anton Lindqvist after report from xavier.s at mailoo dot org
ok kettenis@
|
|
- Move the setitimer(2) code responsible for updating the ITIMER_VIRTUAL
and ITIMER_PROF timers from hardclock(9) into a new clock interrupt
routine, itimer_update(). itimer_update() is periodic and runs at the
same frequency as the hardclock.
+ Revise itimerdecr() to run within itimer_mtx instead of entering
and leaving it.
- Each schedstate_percpu has its own itimer_update() handle, spc_itimer.
A new scheduler flag, SPCF_ITIMER, indicates whether spc_itimer was
started during the last mi_switch() and needs to be stopped during the
next mi_switch() or sched_exit().
- A new per-process flag, PS_ITIMER, indicates whether ITIMER_VIRTUAL
and/or ITIMER_PROF are running. Checking the flag is easier than
entering itimer_mtx to check process.ps_timer[]. The flag is set
and cleared in a new helper function, process_reset_itimer_flag().
- In setitimer(), call need_resched() when the state of ITIMER_VIRTUAL
or ITIMER_PROF is changed to force an mi_switch() and update
spc_itimer.
claudio@ notes that ITIMER_PROF could be implemented as a high-res
timer using the thread's execution time as a guide for when to
interrupt the process and assert SIGPROF. This would probably work
really well in single-threaded processes. ITIMER_VIRTUAL would be
more difficult to make high-res, though, as you need to exclude time
spent in the kernel.
Tested on powerpc64 by gkoehler@. With input from claudio@.
Thread: https://marc.info/?l=openbsd-tech&m=169038818517101&w=2
ok claudio@
|
|
|
|
can be added to the run queue but also procs in state SRUN. The latter
happens when schedcpu() kicks in before the proc had a chance to run.
Problem spotted by gkoehler@
OK cheloha@
|
|
|
|
away the calls
ok jca@
|
|
away the calls
ok jca@
|
|
WSDISPLAYIO_GETSUPPORTEDDEPTH ioctl.
This is needed to use recent updated wsfb(4) driver in 8bpp mode.
We can use 1bpp X server on 8bpp framebuffer by 'startx -- -depth 1'.
Tested by me.
|
|
NULL to ibuf_size(). In some cases it is clear that the ibuf pointer
should just be checked for NULL since afterwards a new ibuf is allocated
in its place.
OK tb@
|
|
pointed out by bluhm
ok bluhm@
|
|
|
|
From Dan Carpenter
c3d576baa6c8f0b34750a0b6f9b12e9d64625512 in linux-6.1.y/6.1.43
00ae1491f970acc454be0df63f50942d94825860 in mainline linux
|
|
|
|
From Christian Koenig
23acc2b850ba4dfdfe2700d728be3e27710260a1 in linux-6.1.y/6.1.43
f781f661e8c99b0cb34129f2e374234d61864e77 in mainline linux
|
|
From Benjamin Cheng
d701687c898e5358f29ca11bccdfc8f54129e69c in linux-6.1.y/6.1.43
751281c55579f0cb0e56c9797d4663f689909681 in mainline linux
|
|
From Hamza Mahfooz
d58fb94f24f89c833bd73d370b27b58867d78120 in linux-6.1.y/6.1.43
af22d6a869cc26b519bfdcd54293c53f2e491870 in mainline linux
|
|
From Dmytro Laktyushkin
f5e8f7a02c158afbfe7657e0358ee964978ee138 in linux-6.1.y/6.1.43
6609141c49df1b86fbad26a8643d4b4044f28b11 in mainline linux
|
|
peer matching code to only match at maximum sizeof(n->descr) bytes
using strncmp().
OK tb@
|
|
From Radhakrishna Sripada
507f70c06aa99d05fbb0f36de2be31ef1cf88497 in linux-6.1.y/6.1.43
3844ed5e78823eebb5f0f1edefc403310693d402 in mainline linux
|
|
dm_handle_mst_sideband_msg_ready_event()
From Dan Carpenter
e139cc2974b801f3f6e38efa047a7e3b7121fc8d in linux-6.1.y/6.1.43
38ac4e8385ffb275b1837986ca6c16f26ea028c5 in mainline linux
|
|
From Mario Limonciello
5c58d120bf81a1fe6cc05e640568c0da14042c09 in linux-6.1.y/6.1.43
c01aebeef3ce45f696ffa0a1303cea9b34babb45 in mainline linux
|
|
From Christophe JAILLET
a71cd15a8592482bc3adead423ec4ff4502f0a72 in linux-6.1.y/6.1.43
e354f67733115b4453268f61e6e072e9b1ea7a2f in mainline linux
|
|
From Daniel Miess
15c94c3151d9fa86294efb4c6618cae44530e49b in linux-6.1.y/6.1.43
2a9482e55968ed7368afaa9c2133404069117320 in mainline linux
|
|
From Daniel Miess
d5741133e6e2f304b40ca1da0e16f62af06f4d22 in linux-6.1.y/6.1.43
1a4bcdbea4319efeb26cc4b05be859a7867e02dc in mainline linux
|
|
|
|
from upstream
|
|
From Gabe Teeger
342ec1696d2dcc66e7d2905c5aa52e9c9e86d527 in linux-6.1.y/6.1.43
469a62938a45ef382c9cb7b9fec6c6c1fcd781c0 in mainline linux
|
|
From Rodrigo Siqueira
27931ea53ce59ff421c42c08d4ad3df4b632babe in linux-6.1.y/6.1.43
e3416e872f84086667df21daf166506fab97358d in mainline linux
|
|
From Randy Dunlap
6415d5de13f532297005ef100cefa92c80fe40db in linux-6.1.y/6.1.43
db4107e92a817502ad19fdd30250f87dcb6f6331 in mainline linux
|
|
From Rodrigo Siqueira
549f20581996835bae1d6567b2cc60ad0a5ef9cd in linux-6.1.y/6.1.43
e366f36958f60c431a7430c8c421c9db0ec6738d in mainline linux
|
|
From Christian Koenig
17e188e0feb008bab5f4b083083dff7cdc633ca1 in linux-6.1.y/6.1.43
a2848d08742c8e8494675892c02c0d22acbe3cf8 in mainline linux
|
|
From Thomas Hellstrom
e9c44738cb1f537b177cc1beabcf6913690460cd in linux-6.1.y/6.1.43
e8188c461ee015ba0b9ab2fc82dbd5ebca5a5532 in mainline linux
|
|
From Thomas Hellstrom
3a8f9b8ccf2b34623cd7264cd78c80f8806959d5 in linux-6.1.y/6.1.43
8ab3b0663e279ab550bc2c0b5d602960e8b94e02 in mainline linux
|
|
From Mario Limonciello
76fcfc6ae3a64033626647bae7b6d1f2d8bea72a in linux-6.1.y/6.1.43
cd2e31a9ab93d13c412a36c6e26811e0f830985b in mainline linux
|
|
From Mario Limonciello
f8b61a2c29fc70f64daad698cf09c1f79a0e39f9 in linux-6.1.y/6.1.43
c35b6ea8f2ecfa9d775530b70d4e727869099a9c in mainline linux
|
|
From Cruise Hung
41c666e2b7515c551940ae5ba0437bd2e17fbe85 in linux-6.1.y/6.1.43
268182606f26434c5d3ebd0e86efcb0418dec487 in mainline linux
|
|
From Dmytro Laktyushkin
8f0582fb6d0edf3581b1ece0cc186ab82fb083b4 in linux-6.1.y/6.1.43
49f26218c344741cb3eaa740b1e44e960551a87f in mainline linux
|
|
From Dmytro Laktyushkin
38fa05cad9df113fb31fabc0b88f5ca681235bd2 in linux-6.1.y/6.1.43
9ba90d760e9354c124fa9bbea08017d96699a82c in mainline linux
|
|
From Dmytro Laktyushkin
ad8c20954406491a8280d0a442ac4bb9ea9e674e in linux-6.1.y/6.1.43
655435df0936ce2fda0d5ced7e50101179a3acfd in mainline linux
|
|
From Dmytro Laktyushkin
acba20a5b2c80385110efdcec00dcefd041b120f in linux-6.1.y/6.1.43
2641c7b7808191cba25ba28b82bb73ca294924cc in mainline linux
|
|
From Samson Tam
8d515d39d8005981479a93fd6bee2649c59f0b1b in linux-6.1.y/6.1.43
59de751e3845d699e02dc4da47322b92d83a41e2 in mainline linux
|