Commit 05b1b94
committed
setcap cvdalloc in the postinst.
This necessitates adding libcap2-bin as a new dependency, but doing so
is somewhat expected; other packages that run setcap in postinst also
are described similarly.
We could setuid root here as a fallback, but that may be a better
decision to leave for when we make all this more portable; we have the
permissions check at runtime anyway to cover any exceptional cases.1 parent e0e583e commit 05b1b94
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
0 commit comments