diff options
author | Chiraag Nataraj <chiraag.nataraj@gmail.com> | 2018-06-12 08:11:07 -0400 |
---|---|---|
committer | Chiraag Nataraj <chiraag.nataraj@gmail.com> | 2018-06-12 08:11:07 -0400 |
commit | 78011fbc922e4dc69f41b107cefee8bbd26d11bc (patch) | |
tree | 93d6f67001fa2482badb30f04354b05c0126e93f /src/firejail/fs_dev.c | |
parent | potential fix for Yubikey devices (diff) | |
download | firejail-78011fbc922e4dc69f41b107cefee8bbd26d11bc.tar.gz firejail-78011fbc922e4dc69f41b107cefee8bbd26d11bc.tar.zst firejail-78011fbc922e4dc69f41b107cefee8bbd26d11bc.zip |
Add /dev/hidraw* devices for potential fix for Yubikey devices
Diffstat (limited to 'src/firejail/fs_dev.c')
-rw-r--r-- | src/firejail/fs_dev.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/firejail/fs_dev.c b/src/firejail/fs_dev.c index 947dc1364..b2eeac9c8 100644 --- a/src/firejail/fs_dev.c +++ b/src/firejail/fs_dev.c | |||
@@ -77,6 +77,16 @@ static DevEntry dev[] = { | |||
77 | {"/dev/video9", RUN_DEV_DIR "/video9", DEV_VIDEO}, | 77 | {"/dev/video9", RUN_DEV_DIR "/video9", DEV_VIDEO}, |
78 | {"/dev/dvb", RUN_DEV_DIR "/dvb", DEV_TV}, // DVB (Digital Video Broadcasting) - TV device | 78 | {"/dev/dvb", RUN_DEV_DIR "/dvb", DEV_TV}, // DVB (Digital Video Broadcasting) - TV device |
79 | {"/dev/sr0", RUN_DEV_DIR "/sr0", DEV_DVD}, // for DVD and audio CD players | 79 | {"/dev/sr0", RUN_DEV_DIR "/sr0", DEV_DVD}, // for DVD and audio CD players |
80 | {"/dev/hidraw0", RUN_DEV_DIR "/hidraw0", DEV_USB}, | ||
81 | {"/dev/hidraw1", RUN_DEV_DIR "/hidraw1", DEV_USB}, | ||
82 | {"/dev/hidraw2", RUN_DEV_DIR "/hidraw2", DEV_USB}, | ||
83 | {"/dev/hidraw3", RUN_DEV_DIR "/hidraw3", DEV_USB}, | ||
84 | {"/dev/hidraw4", RUN_DEV_DIR "/hidraw4", DEV_USB}, | ||
85 | {"/dev/hidraw5", RUN_DEV_DIR "/hidraw5", DEV_USB}, | ||
86 | {"/dev/hidraw6", RUN_DEV_DIR "/hidraw6", DEV_USB}, | ||
87 | {"/dev/hidraw7", RUN_DEV_DIR "/hidraw7", DEV_USB}, | ||
88 | {"/dev/hidraw8", RUN_DEV_DIR "/hidraw8", DEV_USB}, | ||
89 | {"/dev/hidraw9", RUN_DEV_DIR "/hidraw9", DEV_USB}, | ||
80 | {"/dev/usb", RUN_DEV_DIR "/usb", DEV_USB}, // USB devices such as Yubikey, U2F | 90 | {"/dev/usb", RUN_DEV_DIR "/usb", DEV_USB}, // USB devices such as Yubikey, U2F |
81 | {NULL, NULL, DEV_NONE} | 91 | {NULL, NULL, DEV_NONE} |
82 | }; | 92 | }; |