Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b866116c authored by Victor Hsieh's avatar Victor Hsieh
Browse files

installd: change fsverity ioctl

The previously allocated numbers are out of range (8 bits).

Test: both ioctl returns correctly with the kernel change
Bug: 30972906
Change-Id: Ib252c522d11cfc819c46a573fa4c579aaca692f0
parent 644d9438
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2356,8 +2356,8 @@ struct fsverity_root_hash {
    __u8 root_hash[64];
};

#define FS_IOC_MEASURE_FSVERITY        _IOW('f', 2733, struct fsverity_root_hash)
#define FS_IOC_SET_FSVERITY            _IOW('f', 2734, struct fsverity_set)
#define FS_IOC_MEASURE_FSVERITY        _IOW('f', 133, struct fsverity_root_hash)
#define FS_IOC_SET_FSVERITY            _IOW('f', 134, struct fsverity_set)

#define FSVERITY_FLAG_ENABLED          0x0001
#endif