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

Commit 2f0112a4 authored by Sarthak Kukreti's avatar Sarthak Kukreti
Browse files

liblp: Add flock() for accessing partitions

If the partition is accessed from two sources simultaneously,
it might result in inconsistent output. Instead, use flock()
to lock the partition.

Bug: 413763600
Test: mma

Change-Id: Ic9fdbeb282c25247770c1121ed2245265ca2ca0a
parent 93a7dd60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment