Quantcast
Channel: lkml.org : Vaidyanathan Srinivasan
Viewing all articles
Browse latest Browse all 890

Re: [GIT PULL] SCSI fixes for 4.18-rc3

$
0
0
Linus Torvalds writes: (Summary) I'd rather add a deprecation warning to the whole "read/write to /dev/sg" itself, and then do what we did for ib_safe_file_access(), which was to just have the permission checks.
the permission checks.
It's not like a normal person should have access to /dev/sg to begin with. At least for me, /dev/sg isn't accessible to normal people:
isn't accessible to normal people:
[torvalds@i7 linux]$ cat /dev/sg0
cat: /dev/sg0: Permission denied
cat: /dev/sg0: Permission denied
but maybe some distro decided that everybody should have direct device access..

Viewing all articles
Browse latest Browse all 890

Trending Articles