>Darren J Moffat wrote: >> Casper Dik wrote: >>> The new debugging functionality is implement as follows: >>> >>> The priv_debug kernel variable is initialized to 1 on >>> DEBUG kernels. >>> >>> When priv_debug is non zero when the system boots, >>> a new privilege is allocated and it is added to the basic set. >>> The new privilege is called "basic_test". >> >> This makes sense as a debug functionality. Given this is for debug I >> don't actually think an ARC case was required unless the intent is to >> document this. So I'm happy to give this a +1. >> > >I assume that we would document priv_basicset().
This is why I put the difference to the manual page in the fasttrack. Casper --- priv_addset.3 Mon Dec 21 12:08:24 2009 +++ priv_addset.3.new Mon Dec 21 12:10:00 2009 @@ -20,6 +20,8 @@ void priv_emptyset(priv_set_t *sp); + void priv_basicset(priv_set_t *sp); + void priv_fillset(priv_set_t *sp); void priv_freeset(priv_set_t *sp); @@ -58,6 +60,8 @@ The priv_emptyset() function clears all privileges from sp. + The priv_basicset() function copies the basic privilege set to sp. + The priv_fillset() function asserts all privileges in sp, includ- ing the privileges not currently defined in the system.