|
From: Filipe C. <fi...@gm...> - 2009-04-02 17:59:30
|
Done and uploaded. Thanks :-) F Greg Parker wrote: > On Apr 2, 2009, at 6:45 AM, Filipe Cabecinhas wrote: >> +// These constants aren't in a standard header... >> +// I got them from the latest kernel sources: >> +// xnu-1228.3.13 - Mac OS X 10.5.6 - Darwin 9.6 >> +#define VKI_CS_OPS_STATUS 0 /* return status */ >> +#define VKI_CS_OPS_MARKINVALID 1 /* invalidate process */ >> +#define VKI_CS_OPS_MARKHARD 2 /* set HARD flag */ >> +#define VKI_CS_OPS_MARKKILL 3 /* set KILL flag (sticky) */ >> +#define VKI_CS_OPS_PIDPATH 4 /* get executable's >> pathname */ >> +#define VKI_CS_OPS_CDHASH 5 /* get code directory >> hash */ > > You should include the kernel file you found them in: > // xnu-1228.3.13/bsd/sys/codesign.h > > |