In this code snippet, GR_PROC_ACCESS and GR_PROC_HIDDEN are both set to GR_HIDDEN. When i take an bitmask mode that has the GR_HIDDEN bit set and conver it to a string mode what should the GR_PROC_ACCESS/GR_PROC_HIDDEN be converted to? 'h'?
<pre>
/* Process label declarations */
enum
{
GR_PROC_READ = GR_READ,
GR_PROC_APPEND = GR_APPEND,
GR_PROC_WRITE = (GR_WRITE|GR_APPEND),
/* write access implies append access*/
GR_PROC_EXEC = GR_EXEC,
GR_PROC_ACCESS = GR_HIDDEN,
GR_PROC_OVERRIDE = GR_OVERRIDE,
GR_PROC_HIDDEN = GR_HIDDEN,
/* Hidden, unkillable(except by init) process.
* Good for hiding your IDSes / logging daemons:)*/
</pre>
Anyway, i haven't talked much about my current work lately, so here goes. I have a gracld that is controled by gradm using gradm [-C][-A][-r] to calibrate/collect/recollect respectively. I have to have a working version of gracld by april 14th for work(
http://www.cylant.com) so i am using internal source libraries but i hope to be able to still release the source code for it back to the community. The current project is broken down into several files:
<pre>
93 151 1127 gracld.h
1581 4276 34336 gracld-main.c
297 772 8666 gracl-parser.c
166 451 3047 gracl-parser-kernel.c
39 132 977 gracl-parser-kernel.h
141 416 2955 gracl-parser-user.c
27 73 630 gracl-parser-user.h
2344 6271 51738 total
</pre>