Skip to content
Snippets Groups Projects
Commit e7298b0f authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Merge "Allow TCGETS on pipes (fifo_file)"

am: 2581761e

Change-Id: I42e8156eddf6315ff13fe16ad8ed7bc550f31c40
parents acb41aca 2581761e
No related branches found
No related tags found
No related merge requests found
...@@ -313,10 +313,11 @@ allowxperm domain devpts:chr_file ioctl unpriv_tty_ioctls; ...@@ -313,10 +313,11 @@ allowxperm domain devpts:chr_file ioctl unpriv_tty_ioctls;
allowxperm domain { file_type fs_type domain dev_type }:{ dir notdevfile_class_set } ioctl { FIOCLEX FIONCLEX }; allowxperm domain { file_type fs_type domain dev_type }:{ dir notdevfile_class_set } ioctl { FIOCLEX FIONCLEX };
# Allow a process to make a determination whether a file descriptor # Allow a process to make a determination whether a file descriptor
# for a plain file is a tty. Note that granting this whitelist to domain # for a plain file or pipe (fifo_file) is a tty. Note that granting
# does not grant the ioctl permission to these files. That must be granted # this whitelist to domain does not grant the ioctl permission to
# separately. # these files. That must be granted separately.
allowxperm domain { file_type fs_type }:file ioctl { TCGETS }; allowxperm domain { file_type fs_type }:file ioctl { TCGETS };
allowxperm domain domain:fifo_file ioctl { TCGETS };
# Support sqlite F2FS specific optimizations # Support sqlite F2FS specific optimizations
# ioctl permission on the specific file type is still required # ioctl permission on the specific file type is still required
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment