OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
doc
/
dpkg-dev
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
π
..
-
11/10/2024 09:42:49 AM
rwxr-xr-x
π
AUTHORS
1.21 KB
08/24/2019 05:25:11 PM
rw-r--r--
π
README.api
1.51 KB
09/05/2019 09:05:14 PM
rw-r--r--
π
README.feature-removal-schedule.gz
2.19 KB
09/05/2019 09:05:14 PM
rw-r--r--
π
THANKS.gz
3.25 KB
08/24/2019 05:25:11 PM
rw-r--r--
π
changelog.Debian.gz
2.85 KB
05/25/2022 11:14:56 AM
rw-r--r--
π
copyright
7.7 KB
09/05/2019 09:05:14 PM
rw-r--r--
π
frontend.txt
1.07 KB
08/24/2019 05:25:11 PM
rw-r--r--
π
rootless-builds.txt.gz
2.8 KB
09/05/2019 09:05:14 PM
rw-r--r--
π
triggers.txt.gz
11.42 KB
09/05/2019 09:05:14 PM
rw-r--r--
π
usertags.gz
1.77 KB
09/05/2019 09:05:14 PM
rw-r--r--
Editing: frontend.txt
Close
Frontend Interfaces =================== This file will try to document some of the interfaces that dpkg makes available to frontends or that expects them to use, which are currently not covered by any other type of documentation. Database Locking ---------------- Any frontend needing to make sure no write operation is currently happening, and no other frontend is running should first acquire the frontend lock at Β«<admindir>/lock-frontendΒ», and then acquire the dpkg database lock at Β«<admindir>/lockΒ». When the frontend invokes dpkg, it should set the environment variable DPKG_FRONTEND_LOCKED (to prevent dpkg from acquiring the frontend lock), and then release the dpkg database lock, which will be acquired by dpkg itself. This way no other frontend following this protocol can race to perform operations while another one has one in progress. These locks must be file record locks (i.e. fcntl(2) advisory locking), and the whole file should be locked, as that's the most portable way to perform this operation; this can be achieved by using start=0, len=0 and whence=SEEK_SET.