OpenBSD CVS

CVS log for src/usr.bin/usbhidctl/usbhid.c


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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_7_1_BASE


Revision 1.18 / (download) - annotate - [select for diffs], Wed Dec 15 11:21:35 2021 UTC (2 years, 5 months ago) by mestre
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.17: +6 -1 lines
Diff to previous 1.17 (colored)

restrict all filesystem access with unveil(2).

hid_start(3) opens `table' through libusbhid, then usbhidctl(1) itself opens
`dev', after that it's just performing ioctls on the fd left opened by the
latter so all fs access can be disabled.

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.