Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   alnsn
Date:           Sun Nov 29 17:37:16 UTC 2026

Modified Files:
        src/sys/net: bpfjit.c
        src/tests/lib/libbpfjit: t_cop.c
        src/tests/net/bpfjit: t_cop.c

Log Message:
Save and restore X around BPF_COP/BPF_COPX calls whenever
the program uses X, not only when it has a BPF_LDX instruction.

Add new test-cases to t_cop.c files: load X, call a special
copprocessor function that clobbers registers and check X.

While here, fix copx_no_ctx to test BPF_COPX (it tested BPF_COP,
likely a copy/paste error).


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/net/bpfjit.c
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libbpfjit/t_cop.c
cvs rdiff -u -r1.4 -r1.5 src/tests/net/bpfjit/t_cop.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index