commit | a7c7bce252a6bce1539e9caa84420de3698029e7 | [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 | 1e2382a0277eb36fb57a3a54202945556dfd234b [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