]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ctf: allow dwarf2ctf to run as root but produce no output
authorNick Alcock <nick.alcock@oracle.com>
Fri, 1 Dec 2017 12:39:56 +0000 (12:39 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 4 Dec 2017 23:15:45 +0000 (23:15 +0000)
commitf9d70f1621950b491ba81528fbb7fdbf7906930e
tree5a661d184183d08352b54d0cce7c3735306dea92
parent18699a5f4e3c0f5601769211afb6cdb6b1d57312
ctf: allow dwarf2ctf to run as root but produce no output

This leads to no CTF file writes (and thus no writes) at all,
which is as safe as we can get as root: this is treated by the
makefiles as an empty CTF file.  The resulting module will
appear to DTrace to have no types.

The warning is still emitted (rephrased slightly).

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Reviewed-by: Dhaval Giani <dhaval.giani@oracle.com>
Orabug: 27205676
scripts/dwarf2ctf/dwarf2ctf.c