gramineproject / graphene

Graphene / Graphene-SGX - a library OS for Linux multi-process applications, with Intel SGX support
https://grapheneproject.io
GNU Lesser General Public License v3.0
771 stars 260 forks source link

[LTP] fix pread fails when file descriptor refers to a directory #2577

Closed sahason closed 3 years ago

sahason commented 3 years ago

Signed-off-by: Sonali Saha sonali.saha@intel.com

Description of the changes

fix pread fails when file descriptor refers to a directory. Fixes #2539

How to test this PR?

Run LTP Test pread03


This change is Reviewable

dimakuv commented 3 years ago

Jenkins, test this please

dimakuv commented 3 years ago

This PR was superseded by #2626. Sorry. For rationale, see https://github.com/oscarlab/graphene/issues/2539#issuecomment-894069814.