Page MenuHomeFreeBSD

Move struct freebsd4_ucontext to sys/i386/include/ucontext.h.
ClosedPublic

Authored by jhb on Jan 13 2022, 9:39 PM.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb requested review of this revision.Jan 13 2022, 9:39 PM
This revision is now accepted and ready to land.Jan 13 2022, 9:45 PM

I think this might break powerpc which has COMPAT_FREEBSD4 in GENERIC (why?).

I think this might break powerpc which has COMPAT_FREEBSD4 in GENERIC (why?).

But it shouldn't have any references to the type. Only the freebsd4_sendsig references this. grep doesn't turn up any references

In D33886#766268, @jhb wrote:

I think this might break powerpc which has COMPAT_FREEBSD4 in GENERIC (why?).

But it shouldn't have any references to the type. Only the freebsd4_sendsig references this. grep doesn't turn up any references

I thought we might need a pre-decleration for sysproto.h, but that doesn't seem to be the case if I apply this and do a powerpc kernel build.