[driver] [cosmetic] changing printfs
This commit is contained in:
parent
20493b9e88
commit
089a283a3a
2 changed files with 9 additions and 14 deletions
|
|
@ -304,8 +304,10 @@ void print_file_object(int on, PFILE_OBJECT file)
|
||||||
void print_fo_all(int on, PRX_CONTEXT c)
|
void print_fo_all(int on, PRX_CONTEXT c)
|
||||||
{
|
{
|
||||||
if (!on) return;
|
if (!on) return;
|
||||||
DbgP("OpenCount %d FCB %p SRV %p FOBX %p\n", c->pFcb->OpenCount, c->pFcb,
|
if (c->pFcb && c->pRelevantSrvOpen)
|
||||||
c->pRelevantSrvOpen, c->pFobx);
|
DbgP("OpenCount %d FCB %p SRV %p FOBX %p VNET %p NET %p\n",
|
||||||
|
c->pFcb->OpenCount, c->pFcb, c->pRelevantSrvOpen, c->pFobx,
|
||||||
|
c->pRelevantSrvOpen->pVNetRoot, c->pFcb->pNetRoot);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID print_fcb(int on, IN PMRX_FCB p)
|
VOID print_fcb(int on, IN PMRX_FCB p)
|
||||||
|
|
|
||||||
|
|
@ -2670,12 +2670,8 @@ BOOLEAN has_file_changed(
|
||||||
void print_open_args(PRX_CONTEXT RxContext)
|
void print_open_args(PRX_CONTEXT RxContext)
|
||||||
{
|
{
|
||||||
print_debug_header(RxContext);
|
print_debug_header(RxContext);
|
||||||
print_net_root(0, RxContext->pFcb->pNetRoot);
|
|
||||||
print_v_net_root(0, RxContext->pRelevantSrvOpen->pVNetRoot);
|
|
||||||
//DbgP("RxContext->FsdUid %ld\n", RxContext->FsdUid);
|
//DbgP("RxContext->FsdUid %ld\n", RxContext->FsdUid);
|
||||||
//DbgP("RxInferFileType returns %d\n", RxInferFileType(RxContext));
|
//DbgP("RxInferFileType returns %d\n", RxInferFileType(RxContext));
|
||||||
print_irps_flags(0, RxContext->CurrentIrpSp);
|
|
||||||
print_irp_flags(0, RxContext->CurrentIrp);
|
|
||||||
print_nt_create_params(1, RxContext->Create.NtCreateParameters);
|
print_nt_create_params(1, RxContext->Create.NtCreateParameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -3639,14 +3635,11 @@ out:
|
||||||
|
|
||||||
static void print_acl_args(SECURITY_INFORMATION info)
|
static void print_acl_args(SECURITY_INFORMATION info)
|
||||||
{
|
{
|
||||||
if (info & OWNER_SECURITY_INFORMATION)
|
DbgP("Security query: %s %s %s\n",
|
||||||
DbgP("OWNER_SECURITY_INFORMATION\n");
|
(info & OWNER_SECURITY_INFORMATION)?"OWNER":"",
|
||||||
if (info & GROUP_SECURITY_INFORMATION)
|
(info & GROUP_SECURITY_INFORMATION)?"GROUP":"",
|
||||||
DbgP("GROUP_SECURITY_INFORMATION\n");
|
(info & DACL_SECURITY_INFORMATION)?"DACL":"",
|
||||||
if (info & DACL_SECURITY_INFORMATION)
|
(info & SACL_SECURITY_INFORMATION)?"SACL":"");
|
||||||
DbgP("DACL_SECURITY_INFORMATION\n");
|
|
||||||
if (info & SACL_SECURITY_INFORMATION)
|
|
||||||
DbgP("SACL_SECURITY_INFORMATION\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static NTSTATUS map_query_acl_error(DWORD error)
|
static NTSTATUS map_query_acl_error(DWORD error)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue