debuggerd: update policy for recent sigaction changes.

Commit 3e235911 in bionic switched LP32's sigaction implementation over
to using the rt_sigaction syscall, matching LP64. Update our seccomp
policy to match.

Bug: http://b/73119572
Test: debuggerd_test32
Change-Id: I0a662a1c874298d434468d2dcdb4ebf9f276110c
This commit is contained in:
Josh Gao 2018-02-08 16:46:55 -08:00
parent 9d6b55928c
commit 08cd23e732
5 changed files with 5 additions and 6 deletions

View file

@ -22,6 +22,7 @@ recvmsg: 1
process_vm_readv: 1
tgkill: 1
rt_sigprocmask: 1
rt_sigaction: 1
rt_tgsigqueueinfo: 1
prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == 0x53564d41
madvise: 1
@ -30,7 +31,6 @@ munmap: 1
getuid32: 1
fstat64: 1
mmap2: arg2 in PROT_READ|PROT_WRITE
sigaction: 1
geteuid32: 1
getgid32: 1
getegid32: 1

View file

@ -21,6 +21,7 @@ recvmsg: 1
process_vm_readv: 1
tgkill: 1
rt_sigprocmask: 1
rt_sigaction: 1
rt_tgsigqueueinfo: 1
prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == 0x53564d41
madvise: 1
@ -29,7 +30,6 @@ munmap: 1
getuid: 1
fstat: 1
mmap: arg2 in PROT_READ|PROT_WRITE
rt_sigaction: 1
geteuid: 1
getgid: 1
getegid: 1

View file

@ -29,6 +29,7 @@ process_vm_readv: 1
tgkill: 1
rt_sigprocmask: 1
rt_sigaction: 1
rt_tgsigqueueinfo: 1
#define PR_SET_VMA 0x53564d41
@ -42,12 +43,10 @@ munmap: 1
getuid: 1
fstat: 1
mmap: arg2 in PROT_READ|PROT_WRITE
rt_sigaction: 1
#else
getuid32: 1
fstat64: 1
mmap2: arg2 in PROT_READ|PROT_WRITE
sigaction: 1
#endif
// Needed for logging.

View file

@ -22,6 +22,7 @@ recvmsg: 1
process_vm_readv: 1
tgkill: 1
rt_sigprocmask: 1
rt_sigaction: 1
rt_tgsigqueueinfo: 1
prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == 0x53564d41
madvise: 1
@ -30,7 +31,6 @@ munmap: 1
getuid32: 1
fstat64: 1
mmap2: arg2 in PROT_READ|PROT_WRITE
sigaction: 1
geteuid32: 1
getgid32: 1
getegid32: 1

View file

@ -21,6 +21,7 @@ recvmsg: 1
process_vm_readv: 1
tgkill: 1
rt_sigprocmask: 1
rt_sigaction: 1
rt_tgsigqueueinfo: 1
prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == 0x53564d41
madvise: 1
@ -29,7 +30,6 @@ munmap: 1
getuid: 1
fstat: 1
mmap: arg2 in PROT_READ|PROT_WRITE
rt_sigaction: 1
geteuid: 1
getgid: 1
getegid: 1