Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does it mean to give a process CAP_SYS_RAWIO in linux?

Tags:

linux

usb

What does it mean to give a process CAP_SYS_RAWIO in linux? How do I do that? (Specifically to give pyUsb access to devices. This is related to this pyusb question)

like image 673
jedierikb Avatar asked Nov 12 '10 03:11

jedierikb


1 Answers

From the capabilities(7) man page:

  CAP_SYS_RAWIO
          Perform I/O port  operations  (iopl(2)  and  ioperm(2));  access
          /proc/kcore.

Capabilities are set on an executable with setcap(8).

like image 195
Ignacio Vazquez-Abrams Avatar answered Sep 29 '22 20:09

Ignacio Vazquez-Abrams