system/kernel/master/valid.c
// controls which objects can be shadowed(with the shadow() efun)
controls which objects can be shadowed(with the shadow() efun)
controls which objects can be shadowed ( with the shadow () efun )
int valid_shadow(object ob)
{
    if (DEBUG)
        debug_message("[CORE_MASTER_OB]->valid_shadow():" + ob);
#ifdef __PACKAGE_UIDS__
    if (getuid(ob) == ROOT_UID)
    {
        return 1; 
    }
#endif
    if (ob->query_prevent_shadow(previous_object()))
    {
        return 0;
    }
    return 1;
}
int valid_shadow ( object ob ) { if ( DEBUG ) debug_message ( " " + ob ) ; #ifdef __PACKAGE_UIDS__ if ( getuid ( ob ) == ROOT_UID ) { return 1 ; } #endif if ( ob -> query_prevent_shadow ( previous_object ( ) ) ) { return 0 ; } return 1 ; }
controls which objects can be shadowed(with the shadow() efun)
controls which objects can be shadowed ( with the shadow () efun )
/* for test */