mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-06 22:01:29 +00:00
[PAL] protected files: Remove too-noisy debug prints
SGX_DBG macro disrespects debug logging settings from the manifest, but fixing this properly is a much bigger task (the whole logging subsystem should be redesigned).
This commit is contained in:
committed by
Dmitrii Kuvaiskii
parent
bedddae05b
commit
1895f3463d
@@ -34,9 +34,6 @@ static int file_open(PAL_HANDLE* handle, const char* type, const char* uri, int
|
||||
if (strcmp_static(type, URI_TYPE_FILE))
|
||||
return -PAL_ERROR_INVAL;
|
||||
|
||||
SGX_DBG(DBG_D, "file_open: uri %s, access 0x%x, share 0x%x, create 0x%x, options 0x%x\n",
|
||||
uri, access, share, create, options);
|
||||
|
||||
/* prepare the file handle */
|
||||
size_t len = strlen(uri) + 1;
|
||||
PAL_HANDLE hdl = calloc(1, HANDLE_SIZE(file) + len);
|
||||
|
||||
@@ -220,7 +220,6 @@ struct protected_file* get_protected_file(const char* path) {
|
||||
}
|
||||
|
||||
out:
|
||||
SGX_DBG(DBG_D, "get_pf(%s) = %p\n", path, pf);
|
||||
return pf;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user