1. seandroid
  2. Untitled project
  3. external/sepolicy


Stephen Smalley  committed 66e06b6

Allow all domains to write to /dev/random and /dev/urandom.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>

  • Participants
  • Parent commits 3562487
  • Branches seandroid, seandroid-4.3 1
    1. seandroid-4.4

Comments (0)

Files changed (1)

File domain.te

View file
  • Ignore whitespace
 allow domain log_device:dir search;
 allow domain log_device:chr_file rw_file_perms;
 allow domain alarm_device:chr_file r_file_perms;
-allow domain urandom_device:chr_file r_file_perms;
-allow domain random_device:chr_file r_file_perms;
+allow domain urandom_device:chr_file rw_file_perms;
+allow domain random_device:chr_file rw_file_perms;
 allow domain properties_device:file r_file_perms;
 # Filesystem accesses.