News for hackers. Stuff that matters.
Re:Command Line Interface Guidelines by gpderetta on Tuesday February 06, 2024 @12:00PM (#39276912)
on the other hand you could have 'dry-run <command>' that via .so interposition tricks could intercept and list all destructive changes done by an arbitrary <command>, as a form of sandboxing.
Re:Command Line Interface Guidelines by account42 on Wednesday February 07, 2024 @09:22AM (#39288886)
Not generally because you can't e.g. know if a write to a socket is destructive or just a query for information needed to decide the next steps/output.
Re:Command Line Interface Guidelines by gpderetta on Wednesday February 07, 2024 @10:27AM (#39289661)
True, I was only thinking of fs access!