commit | 950b78a6b50c38b0ba4160a8649e15adf2fe7fdc | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Thu Nov 05 10:07:53 2015 -0800 |
committer | Tom Cherry <tomcherry@google.com> | Thu Nov 05 10:07:53 2015 -0800 |
tree | e9118ab62eaecc0309cc2daf9a70736de15d8074 | |
parent | ab7dc64b2abf8dab1ea71141b9e231fa76315f3b [diff] |
Fix isValid() condition for libsync tests Upstream modifications in K3.12 to the sw_sync driver set O_CLOEXEC on the fd's returned by the SW_SYNC_IOC_CREATE_FENCE ioctl, therefore we check the return of fcntl() for a non-negative value instead of strictly 0. Change-Id: If4c82750fcc0aa3a57f243fa2a94691e3150e4a4