stefanberger / swtpm

Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Other
567 stars 136 forks source link

swtpm_ioctl: Separate return code from flags #842

Closed stefanberger closed 6 months ago

stefanberger commented 6 months ago

Separate the return code returned from change_fd_flags from the current/ original flags of the file descriptor. Return the flags in an optional integer.