common/misc.c is a non-optional part of loader.
If LOADER_NET_SUPPORT is not defined provide a stub that always returns
false.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
In case it isn't obvious, we can't stub or #ifdef this in libsa since that is presumably shared by all loaders for a given arch, thus a non-optional src from loader.mk would seem to make sense - misc.c seemed as good as any?
stand/common/misc.c | ||
---|---|---|
224 | maybe add an explanatory comment here |
Comment Actions
Let's just get this in and we can debate it later, but I note that this could have been a __weak_symbol in libsa.
Comment Actions
let's not gild this too much. I plan on removing this stupid hack when I have a reasonable alternative. It's only here for 15.0. The real fix is to remove the need for it completely.