Skip to content

Commit

Permalink
Rule to allow sxrd_vndr permission to open, read and write /dev/at_us…
Browse files Browse the repository at this point in the history
…b0 and ffs node.

Change-Id: I19e222c944df5550504275a5dd423424220afed6
(cherry picked from commit 83491f338e5220b07dfa87e31d3206abe6de4787)
  • Loading branch information
Ashish Thomas committed Sep 9, 2024
1 parent d48939a commit 65ac7d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qva/vendor/anorak/sxrd_vndr.te
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
#Allow /dev/dma_heap file access
allow vendor_sxrd_vndr dmabuf_system_heap_device:chr_file { getattr read open ioctl };

#Allow open, read and write permission to USB node
allow vendor_sxrd_vndr vendor_at_device:chr_file { open read write };

#Allow search, open, read and write permissin to FFS dir/node
allow vendor_sxrd_vndr functionfs:dir { search };
allow vendor_sxrd_vndr functionfs:file { open read write };
#Allow access to video files
set_prop(vendor_sxrd_vndr, vendor_video_prop)

Expand Down

0 comments on commit 65ac7d6

Please sign in to comment.