xselinux: Whitespace fixups.
This commit is contained in:
parent
734e115871
commit
f0bf9a5231
|
@ -890,8 +890,7 @@ SELinuxResourceState(CallbackListPtr *pcbl, pointer unused, pointer calldata)
|
|||
if (rc != Success)
|
||||
FatalError("SELinux: Failed to set label property on window!\n");
|
||||
freecon(ctx);
|
||||
}
|
||||
else
|
||||
} else
|
||||
FatalError("SELinux: Unexpected unlabeled client found\n");
|
||||
|
||||
state = dixLookupPrivate(&pWin->devPrivates, stateKey);
|
||||
|
@ -907,8 +906,7 @@ SELinuxResourceState(CallbackListPtr *pcbl, pointer unused, pointer calldata)
|
|||
if (rc != Success)
|
||||
FatalError("SELinux: Failed to set label property on window!\n");
|
||||
freecon(ctx);
|
||||
}
|
||||
else
|
||||
} else
|
||||
FatalError("SELinux: Unexpected unlabeled window found\n");
|
||||
}
|
||||
|
||||
|
@ -1181,9 +1179,9 @@ SProcSELinuxQueryVersion(ClientPtr client)
|
|||
REQUEST(SELinuxQueryVersionReq);
|
||||
int n;
|
||||
|
||||
REQUEST_SIZE_MATCH (SELinuxQueryVersionReq);
|
||||
swaps(&stuff->client_major,n);
|
||||
swaps(&stuff->client_minor,n);
|
||||
REQUEST_SIZE_MATCH(SELinuxQueryVersionReq);
|
||||
swaps(&stuff->client_major, n);
|
||||
swaps(&stuff->client_minor, n);
|
||||
return ProcSELinuxQueryVersion(client);
|
||||
}
|
||||
|
||||
|
@ -1193,8 +1191,8 @@ SProcSELinuxSetSelectionManager(ClientPtr client)
|
|||
REQUEST(SELinuxSetSelectionManagerReq);
|
||||
int n;
|
||||
|
||||
REQUEST_SIZE_MATCH (SELinuxSetSelectionManagerReq);
|
||||
swapl(&stuff->window,n);
|
||||
REQUEST_SIZE_MATCH(SELinuxSetSelectionManagerReq);
|
||||
swapl(&stuff->window, n);
|
||||
return ProcSELinuxSetSelectionManager(client);
|
||||
}
|
||||
|
||||
|
@ -1205,7 +1203,7 @@ SProcSELinuxSetDeviceCreateContext(ClientPtr client)
|
|||
int n;
|
||||
|
||||
REQUEST_AT_LEAST_SIZE(SELinuxSetCreateContextReq);
|
||||
swaps(&stuff->context_len,n);
|
||||
swaps(&stuff->context_len, n);
|
||||
return ProcSELinuxSetDeviceCreateContext(client);
|
||||
}
|
||||
|
||||
|
@ -1216,8 +1214,8 @@ SProcSELinuxSetDeviceContext(ClientPtr client)
|
|||
int n;
|
||||
|
||||
REQUEST_AT_LEAST_SIZE(SELinuxSetContextReq);
|
||||
swapl(&stuff->id,n);
|
||||
swaps(&stuff->context_len,n);
|
||||
swapl(&stuff->id, n);
|
||||
swaps(&stuff->context_len, n);
|
||||
return ProcSELinuxSetDeviceContext(client);
|
||||
}
|
||||
|
||||
|
@ -1228,7 +1226,7 @@ SProcSELinuxGetDeviceContext(ClientPtr client)
|
|||
int n;
|
||||
|
||||
REQUEST_SIZE_MATCH(SELinuxGetContextReq);
|
||||
swapl(&stuff->id,n);
|
||||
swapl(&stuff->id, n);
|
||||
return ProcSELinuxGetDeviceContext(client);
|
||||
}
|
||||
|
||||
|
@ -1239,7 +1237,7 @@ SProcSELinuxSetPropertyCreateContext(ClientPtr client)
|
|||
int n;
|
||||
|
||||
REQUEST_AT_LEAST_SIZE(SELinuxSetCreateContextReq);
|
||||
swaps(&stuff->context_len,n);
|
||||
swaps(&stuff->context_len, n);
|
||||
return ProcSELinuxSetPropertyCreateContext(client);
|
||||
}
|
||||
|
||||
|
@ -1250,8 +1248,8 @@ SProcSELinuxGetPropertyContext(ClientPtr client)
|
|||
int n;
|
||||
|
||||
REQUEST_SIZE_MATCH(SELinuxGetPropertyContextReq);
|
||||
swapl(&stuff->window,n);
|
||||
swapl(&stuff->property,n);
|
||||
swapl(&stuff->window, n);
|
||||
swapl(&stuff->property, n);
|
||||
return ProcSELinuxGetPropertyContext(client);
|
||||
}
|
||||
|
||||
|
@ -1262,7 +1260,7 @@ SProcSELinuxSetWindowCreateContext(ClientPtr client)
|
|||
int n;
|
||||
|
||||
REQUEST_AT_LEAST_SIZE(SELinuxSetCreateContextReq);
|
||||
swaps(&stuff->context_len,n);
|
||||
swaps(&stuff->context_len, n);
|
||||
return ProcSELinuxSetWindowCreateContext(client);
|
||||
}
|
||||
|
||||
|
@ -1273,7 +1271,7 @@ SProcSELinuxGetWindowContext(ClientPtr client)
|
|||
int n;
|
||||
|
||||
REQUEST_SIZE_MATCH(SELinuxGetContextReq);
|
||||
swapl(&stuff->id,n);
|
||||
swapl(&stuff->id, n);
|
||||
return ProcSELinuxGetWindowContext(client);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user