Re: [patch] Require _KERNEL/_KERNEL_STRUCTURES for all kernel he

看板DFBSD_submit作者時間21年前 (2004/12/22 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/5 (看更多)
The idea is to only have to define _KERNEL_STRUCTURES. That would mean, typically, that structures would be enclosed by defined(_KERNEL) || defined(_KERNEL_STRUCTURES) while prototypes would be enclosed only by defined(_KERNEL). -Matt Matthew Dillon <dillon@backplane.com> :> :> Hope I caught all that, updated patch at :> :> http://catseye.webhop.net/DragonFlyBSD/patch/kernel_barricade2.diff :> :> 'make installer_release' underway, I'll let you know if it breaks. :> :> -Chris :> : : Correct me if I am wrong, but if a sysutil port requires one of : the sys headers, does that mean I need to define BOTH _KERNEL : and _KERNEL_STRUCTURES? I thought the point of having : _KERNEL_STRUCTURES was to compartmentalize *kernel structures* : and other dangerous code in header files from userland so : that you could define _KERNEL_STRUCTURES and get what it says : instead of the other cruft as well. : : I could be just beating a dead chicken here... :-) : : -Hiten
文章代碼(AID): #11oJ4800 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #11oJ4800 (DFBSD_submit)