L4XB
bbe5d78420
fix(gateguard): read the command line su runs, and unwrap taskset
...
`su postgres -c "psql -c 'drop table users'"` resolved to `su`, so the
SQL-client check never saw psql. The value of su's -c/--command (or of a
short-option cluster ending in c, as in -lc) is now scanned as a command
line of its own, like the value of sh -c. The scan continues past `--`,
since su hands the arguments after it to the target shell, which runs a
-c there too.
taskset joins the runners: its -c is a flag and the CPU mask is one
positional, so `taskset -c 0 psql ...` resolves to psql.
2026-09-24 22:39:44 +02:00
..
2026-09-18 18:37:40 -04:00
2026-02-22 16:19:16 +05:30
2026-09-15 00:29:23 +05:30
2026-09-19 19:58:43 -04:00
2026-08-09 16:44:18 -04:00
2026-09-24 22:39:44 +02:00
2026-09-21 14:32:26 -04:00
2026-08-30 15:09:34 -04:00
2026-04-05 14:47:26 -07:00
2026-03-27 05:56:39 -04:00
2026-09-14 23:52:01 +05:30
2026-08-06 15:39:49 -04:00
2026-09-20 14:26:52 -04:00
2026-09-10 14:11:51 +03:00
2026-09-12 02:59:02 -04:00
2026-05-19 06:42:17 -04:00
2026-08-25 12:17:21 -04:00
2026-08-25 17:19:45 -04:00
2026-09-12 04:35:38 -04:00
2026-08-04 21:42:25 -04:00
2026-08-29 14:24:16 -04:00
2026-07-26 03:20:15 -07:00
2026-06-11 14:05:42 -04:00
2026-05-12 02:59:52 -04:00
2026-06-07 13:01:21 +08:00
2026-09-18 20:13:11 -04:00
2026-08-30 15:09:34 -04:00
2026-09-07 16:26:10 -04:00
2026-08-07 14:53:13 -04:00
2026-08-25 12:17:21 -04:00
2026-04-30 12:25:14 -04:00
2026-06-06 03:55:17 +08:00
2026-09-19 16:51:53 -04:00
2026-07-26 02:46:59 -07:00
2026-08-25 17:19:45 -04:00
2026-05-14 21:15:35 -04:00
2026-05-19 23:25:38 -04:00
2026-09-14 23:52:01 +05:30
2026-03-12 15:40:25 -07:00
2026-03-14 12:55:25 -07:00
2026-09-20 14:26:52 -04:00
2026-05-19 22:09:45 -04:00
2026-05-19 22:09:45 -04:00
2026-06-20 20:49:17 -04:00
2026-06-29 15:50:55 -07:00
2026-06-29 15:50:57 -07:00
2026-08-06 15:39:49 -04:00
2026-08-25 12:17:21 -04:00
2026-03-14 23:21:18 -07:00
2026-03-28 11:28:12 +08:00
2026-02-13 03:37:46 -08:00
2026-08-06 15:39:49 -04:00
2026-03-29 21:21:18 -04:00
2026-03-16 14:01:41 -07:00
2026-08-25 12:17:21 -04:00
2026-08-13 18:30:39 -04:00
2026-09-07 16:40:47 -04:00
2026-08-06 15:39:49 -04:00
2026-06-18 18:16:46 -04:00
2026-06-07 13:00:08 +08:00