mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-12 00:43:36 -04:00
The sgx_enclave_add_pages.length field is documented as
* @length: length of the data (multiple of the page size)
Fail with -EINVAL, when the caller gives a zero length buffer of data
to be added as pages to an enclave. Right now 'ret' is returned as
uninitialized in that case.
[ bp: Flesh out commit message. ]
Fixes:
|
||
---|---|---|
.. | ||
arch.h | ||
driver.c | ||
driver.h | ||
encl.c | ||
encl.h | ||
encls.h | ||
ioctl.c | ||
main.c | ||
Makefile | ||
sgx.h |