Repository navigation
Commit 7a21854
committed
test(ci): add rootless capability regression test on ubuntu-24.04
Run supervisor capability unit tests on a bare GHA ubuntu-24.04 runner
as an unprivileged user, where CAP_SETPCAP is unavailable and the
bounding set is non-empty. This exercises the EPERM + non-empty path
that caused the NVIDIA#2069 crash.
Also simplify drop_privileges_succeeds_for_current_group to expect
success unconditionally now that the EPERM + non-empty case is
tolerated.
Refs: NVIDIA#2069
Assisted-by: Claude
Signed-off-by: Wayne Sun <[email protected]>1 parent 956ccb5 commit 7a21854
2 files changed
Lines changed: 30 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
175 | 204 | | |
176 | 205 | | |
177 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1273 | 1273 | | |
1274 | 1274 | | |
1275 | 1275 | | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
1279 | | - | |
1280 | | - | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
1287 | | - | |
1288 | | - | |
1289 | | - | |
1290 | | - | |
| 1276 | + | |
1291 | 1277 | | |
1292 | 1278 | | |
1293 | 1279 | | |
| |||
0 commit comments