Merge "Define PROT_READ and PROT_WRITE when generating the policy files"

am: a1721a5043

Change-Id: Ibb4459bac1136ce9c54b7a109bb7b7dc72986563
This commit is contained in:
Justin Yun 2018-02-19 09:39:05 +00:00 committed by android-build-merger
commit 158208cde0
5 changed files with 10 additions and 8 deletions

View file

@ -26,11 +26,11 @@ rt_sigaction: 1
rt_tgsigqueueinfo: 1
prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == 0x53564d41
madvise: 1
mprotect: arg2 in PROT_READ|PROT_WRITE
mprotect: arg2 in 0x1|0x2
munmap: 1
getuid32: 1
fstat64: 1
mmap2: arg2 in PROT_READ|PROT_WRITE
mmap2: arg2 in 0x1|0x2
geteuid32: 1
getgid32: 1
getegid32: 1

View file

@ -25,11 +25,11 @@ rt_sigaction: 1
rt_tgsigqueueinfo: 1
prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == 0x53564d41
madvise: 1
mprotect: arg2 in PROT_READ|PROT_WRITE
mprotect: arg2 in 0x1|0x2
munmap: 1
getuid: 1
fstat: 1
mmap: arg2 in PROT_READ|PROT_WRITE
mmap: arg2 in 0x1|0x2
geteuid: 1
getgid: 1
getegid: 1

View file

@ -33,6 +33,8 @@ rt_sigaction: 1
rt_tgsigqueueinfo: 1
#define PR_SET_VMA 0x53564d41
#define PROT_READ 0x1
#define PROT_WRITE 0x2
prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == PR_SET_VMA
madvise: 1

View file

@ -26,11 +26,11 @@ rt_sigaction: 1
rt_tgsigqueueinfo: 1
prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == 0x53564d41
madvise: 1
mprotect: arg2 in PROT_READ|PROT_WRITE
mprotect: arg2 in 0x1|0x2
munmap: 1
getuid32: 1
fstat64: 1
mmap2: arg2 in PROT_READ|PROT_WRITE
mmap2: arg2 in 0x1|0x2
geteuid32: 1
getgid32: 1
getegid32: 1

View file

@ -25,11 +25,11 @@ rt_sigaction: 1
rt_tgsigqueueinfo: 1
prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == 0x53564d41
madvise: 1
mprotect: arg2 in PROT_READ|PROT_WRITE
mprotect: arg2 in 0x1|0x2
munmap: 1
getuid: 1
fstat: 1
mmap: arg2 in PROT_READ|PROT_WRITE
mmap: arg2 in 0x1|0x2
geteuid: 1
getgid: 1
getegid: 1