diff options
author | David Timber <dxdt@dev.snart.me> | 2024-03-22 19:37:30 +0900 |
---|---|---|
committer | David Timber <dxdt@dev.snart.me> | 2024-03-22 19:37:30 +0900 |
commit | 8667b974d9c2587fbfae7031e44702c730b99fdd (patch) | |
tree | be3c5af1aa7a3d998f35c120aa5f8c507943c3ee | |
parent | 7cb0eb6f3be00172b1a54cfcd206ab753ec96c67 (diff) |
flock_mmap: added some links to the source code
-rw-r--r-- | flock_mmap/README.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/flock_mmap/README.md b/flock_mmap/README.md index 36ce390..d62b3ed 100644 --- a/flock_mmap/README.md +++ b/flock_mmap/README.md @@ -67,3 +67,12 @@ VERSIONS tect deadlock. (Note, however, that on some systems, such as the mod‐ ern BSDs, flock() and fcntl(2) locks do interact with one another.) ``` + +They're the same picture: + +- https://github.com/openbsd/src/blob/eeb276dfee031771095d62f976689174e966054b/sys/kern/kern_descrip.c#L1292 +- https://github.com/apple-oss-distributions/xnu/blob/1031c584a5e37aff177559b9f69dbd3c8c3fd30a/bsd/kern/kern_descrip.c#L5704 + +This is not: + +- https://github.com/torvalds/linux/blob/8e938e39866920ddc266898e6ae1fffc5c8f51aa/fs/locks.c#L2117 |