Lines Matching refs:locking
8 1. What is mandatory locking?
11 Mandatory locking is kernel enforced file locking, as opposed to the more usual
12 cooperative file locking used to guarantee sequential access to files among
23 "advisory" locking scheme. However, the world isn't perfect, and there's
27 with a "mandatory" locking scheme, whereby the operating system kernel would
32 The System V mandatory locking scheme was intended to have as little impact as
34 as candidates for mandatory locking, and using the existing fcntl()/lockf()
38 the whole truth. System V locking is based on fcntl(). The granularity of
39 fcntl() is such that it allows the locking of byte ranges in files, in addition
40 to entire files, so the mandatory locking rules also have byte level
43 Note 2: POSIX.1 does not specify any scheme for mandatory locking, despite
44 borrowing the fcntl() locking scheme from System V. The mandatory locking
47 2. Marking a file for mandatory locking
50 A file is marked as a candidate for mandatory locking by setting the group-id
64 I have considered the implementations of mandatory locking available with
85 In my opinion only MAP_SHARED mappings should be immune from locking, and then
99 1. Mandatory locks can only be applied via the fcntl()/lockf() locking
133 for the purposes of mandatory locking.