OpenBSD CVS

CVS log for src/usr.bin/ctfconv/ctfconv.c


[BACK] Up to [local] / src / usr.bin / ctfconv

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_6_4_BASE


Revision 1.17 / (download) - annotate - [select for diffs], Wed Aug 8 20:15:17 2018 UTC (5 years, 9 months ago) by mestre
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.16: +13 -4 lines
Diff to previous 1.16 (colored)

add unveil(2) to ctfconv(1)

Once we know what the input file is, usually /bsd.gdb, we can unveil it in read
mode. If we also define as argument an output file we can additionally unveil
that one with write/create permissions.

We don't need to care about calling unveil(NULL, NULL) since we can call
pledge(2) and reduce the permissions down the road depending on the code path.

"reads OK" jasper@, "put it in if works" mpi@
prodded by deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.